49 #undef AONRTCCurrentCompareValueGet
50 #define AONRTCCurrentCompareValueGet NOROM_AONRTCCurrentCompareValueGet
51 #undef AONRTCCurrent64BitValueGet
52 #define AONRTCCurrent64BitValueGet NOROM_AONRTCCurrent64BitValueGet
64 uint32_t ui32CurrentSec ;
65 uint32_t ui32CurrentSubSec ;
66 uint32_t ui32SecondSecRead ;
76 }
while ( ui32CurrentSec != ui32SecondSecRead );
78 return (( ui32CurrentSec << 16 ) | ( ui32CurrentSubSec >> 16 ));
90 uint64_t returnValue ;
91 uint32_t secAndSubSec[ 2 ] ;
93 uint32_t ui32SecondSecRead ;
103 }
while ( currentRtc.secAndSubSec[ 1 ] != ui32SecondSecRead );
105 return ( currentRtc.returnValue );
uint64_t AONRTCCurrent64BitValueGet(void)
Get the current 64-bit value of the RTC counter.
uint32_t AONRTCCurrentCompareValueGet(void)
Get the current value of the RTC counter in a format that matches RTC compare values.