Hibernation Module
ui32Count is the count of 32-bit words to read.
Description:
Retrieves a set of data from the Hibernation module non-volatile memory that was previously
stored with the ROM_HibernateDataSet() function. The caller must ensure that pui32Data
points to a large enough memory block to hold all the data that is read from the non-volatile
memory.
Returns:
None.
11.2.1.5 ROM_HibernateDataSet
Stores data in the non-volatile memory of the Hibernation module.
Prototype:
void
ROM_HibernateDataSet(uint32_t
*
pui32Data,
uint32_t ui32Count)
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_HibernateDataSet is a function pointer located at ROM_HIBERNATETABLE[18].
Parameters:
pui32Data points to the data that the caller wants to store in the memory of the Hibernation
module.
ui32Count is the count of 32-bit words to store.
Description:
Stores a set of data in the Hibernation module non-volatile memory. This memory is preserved
when the power to the processor is turned off, and can be used to store application state infor-
mation which will be available when the processor wakes. Up to 64 32-bit words can be stored
in the non-volatile memory. The data can be restored by calling the ROM_HibernateDataGet()
function.
Returns:
None.
11.2.1.6 ROM_HibernateDisable
Disables the Hibernation module for operation.
Prototype:
void
ROM_HibernateDisable(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_HibernateDisable is a function pointer located at ROM_HIBERNATETABLE[2].
April 8, 2013 111