Hibernation Module
to execute instructions for some time and the caller should be prepared for this function to
return. There are various reasons why the power may not be removed. For example, if the
ROM_HibernateLowBatSet() function was used to configure an abort if low battery is detected,
then the power will not be removed if the battery voltage is too low. There may be other
reasons, related to the external circuit design, that a request for hibernation may not actually
occur.
For all these reasons, the caller must be prepared for this function to return. The simplest way
to handle it is to just enter an infinite loop and wait for the power to be removed.
Returns:
None.
11.2.1.16 ROM_HibernateRTCDisable
Disables the RTC feature of the Hibernation module.
Prototype:
void
ROM_HibernateRTCDisable(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_HibernateRTCDisable is a function pointer located at ROM_HIBERNATETABLE[5].
Description:
Disables the RTC in the Hibernation module. After calling this function the RTC features of the
Hibernation module will not be available.
Returns:
None.
11.2.1.17 ROM_HibernateRTCEnable
Enables the RTC feature of the Hibernation module.
Prototype:
void
ROM_HibernateRTCEnable(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_HibernateRTCEnable is a function pointer located at ROM_HIBERNATETABLE[4].
Description:
Enables the RTC in the Hibernation module. The RTC can be used to wake the processor from
hibernation at a certain time, or to generate interrupts at certain times. This function must be
called before using any of the RTC features of the Hibernation module.
Returns:
None.
April 8, 2013 117