Hibernation Module
trim register is applied to the predivider to allow fine-tuning of the RTC rate, in order to make
corrections to the rate. The software application can make adjustments to the predivider trim
register to account for variations in the accuracy of the input time source. The nominal value is
0x7FFF, and it can be adjusted up or down in order to fine-tune the RTC rate.
Returns:
None.
11.2.1.23 ROM_HibernateWakeGet
Gets the currently configured wake conditions for the Hibernation module.
Prototype:
uint32_t
ROM_HibernateWakeGet(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_HibernateWakeGet is a function pointer located at ROM_HIBERNATETABLE[7].
Description:
Returns the flags representing the wake configuration for the Hibernation module. The return
value is a combination of the following flags:
HIBERNATE_WAKE_PIN - wake when the external wake pin is asserted.
HIBERNATE_WAKE_RTC - wake when one of the RTC matches occurs.
Returns:
Returns flags indicating the configured wake conditions.
11.2.1.24 ROM_HibernateWakeSet
Configures the wake conditions for the Hibernation module.
Prototype:
void
ROM_HibernateWakeSet(uint32_t ui32WakeFlags)
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_HibernateWakeSet is a function pointer located at ROM_HIBERNATETABLE[6].
Parameters:
ui32WakeFlags specifies which conditions should be used for waking.
Description:
Enables the conditions under which the Hibernation module will wake. The ui32WakeFlags
parameter is the logical OR of any combination of the following:
120 April 8, 2013