Hibernation Module
11.2.1.3 ROM_HibernateClockConfig
Configures the clock input for the Hibernation module.
Prototype:
void
ROM_HibernateClockConfig(uint32_t ui32Config)
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_HibernateClockConfig is a function pointer located at ROM_HIBERNATETABLE[28].
Parameters:
ui32Config is one of the possible configuration options for the clock input listed below.
Description:
This function is used to configure the clock input for the Hibernation module. The ui32Config
parameter can be one of the following values:
HIBERNATE_OSC_DISABLE specifies that the internal oscillator is powered off and either
an externally supplied clock source or no clock source is being used.
HIBERNATE_OSC_HIGHDRIVE specifies a higher drive strength when a 24pF filter ca-
pacitor is used with a crystal.
HIBERNATE_OSC_LOWDRIVE specifies a lower drive strength when a 12pF filter capac-
itor is used with a crystal.
The HIBERNATE_OSC_DISABLE option is used to disable and power down the internal os-
cillator if an external clock source or no clock source is used instead of a 32.768 kHz crystal.
In the case where an external crystal is used, either the HIBERNATE_OSC_HIGHDRIVE or
HIBERNATE_OSC_LOWDRIVE is used. This optimizes the oscillator drive strength to match
the size of the filter capacitor that is used with the external crystal circuit.
Returns:
None.
11.2.1.4 ROM_HibernateDataGet
Reads a set of data from the non-volatile memory of the Hibernation module.
Prototype:
void
ROM_HibernateDataGet(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_HibernateDataGet is a function pointer located at ROM_HIBERNATETABLE[19].
Parameters:
pui32Data points to a location where the data that is read from the Hibernation module will be
stored.
110 April 8, 2013