Hibernation Module
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_HibernateIntEnable is a function pointer located at ROM_HIBERNATETABLE[21].
Parameters:
ui32IntFlags is the bit mask of the interrupts to be enabled.
Description:
Enables the specified interrupt sources from the Hibernation module.
The ui32IntFlags parameter must be the logical OR of any combination of the following:
HIBERNATE_INT_PIN_WAKE - wake from pin interrupt
HIBERNATE_INT_LOW_BAT - low battery interrupt
HIBERNATE_INT_RTC_MATCH_0 - RTC match 0 interrupt
HIBERNATE_INT_RTC_MATCH_1 - RTC match 1 interrupt
Returns:
None.
11.2.1.11 ROM_HibernateIntStatus
Gets the current interrupt status of the Hibernation module.
Prototype:
uint32_t
ROM_HibernateIntStatus(bool bMasked)
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_HibernateIntStatus is a function pointer located at ROM_HIBERNATETABLE[23].
Parameters:
bMasked is false to retrieve the raw interrupt status, and true to retrieve the masked interrupt
status.
Description:
Returns the interrupt status of the Hibernation module. The caller can use this to determine
the cause of a hibernation interrupt. Either the masked or raw interrupt status can be returned.
Returns:
Returns the interrupt status as a bit field with the values as described in the
ROM_HibernateIntEnable() function.
11.2.1.12 ROM_HibernateIsActive
Checks to see if the Hibernation module is already powered up.
114 April 8, 2013