Hibernation Module
11.2.1.18 ROM_HibernateRTCGet
Gets the value of the real time clock (RTC) counter.
Prototype:
uint32_t
ROM_HibernateRTCGet(void)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_HIBERNATETABLE is an array of pointers located at ROM_APITABLE[19].
ROM_HibernateRTCGet is a function pointer located at ROM_HIBERNATETABLE[11].
Description:
Gets the value of the RTC and returns it to the caller.
Returns:
Returns the value of the RTC.
11.2.1.19 ROM_HibernateRTCSet
Sets the value of the real time clock (RTC) counter.
Prototype:
void
ROM_HibernateRTCSet(uint32_t ui32RTCValue)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_HIBERNATETABLE is an array of pointers located at ROM_APITABLE[19].
ROM_HibernateRTCSet is a function pointer located at ROM_HIBERNATETABLE[10].
Parameters:
ui32RTCValue is the new value for the RTC.
Description:
Sets the value of the RTC. The RTC will count seconds if the hardware is configured correctly.
The RTC must be enabled by calling ROM_HibernateRTCEnable() before calling this function.
Returns:
None.
11.2.1.20 ROM_HibernateRTCSSGet
Returns the current value of the RTC sub second count.
Prototype:
uint32_t
ROM_HibernateRTCSSGet(void)
118 April 8, 2013