Hibernation Module
Prototype:
uint32_t
ROM_HibernateIsActive(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_HibernateIsActive
is a function pointer located at
ROM_HIBERNATETABLE[24]
.
Description:
This function queries the control register to determine if the module is already active. This
function can be called at a power-on reset to help determine if the reset is due to a wake from
hibernation or a cold start. If the Hibernation module is already active, then it does not need to
be re-enabled and its status can be queried immediately.
The software application should also use the
function to read the
raw interrupt status to determine the cause of the wake. The
func-
tion can be used to restore state. These combinations of functions can be used by the software
to determine if the processor is waking from hibernation and the appropriate action to take as
a result.
Returns:
Returns
true
if the module is already active, and
false
if not.
11.2.1.13 ROM_HibernateLowBatGet
Gets the currently configured low battery detection behavior.
Prototype:
uint32_t
ROM_HibernateLowBatGet(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_HibernateLowBatGet
is a function pointer located at
ROM_HIBERNATETABLE[9]
.
Description:
Returns a value representing the currently configured low battery detection behavior. The
return value is one of the following:
HIBERNATE_LOW_BAT_DETECT
- detect a low battery condition.
HIBERNATE_LOW_BAT_ABORT
- detect a low battery condition, and abort hibernation
if low battery is detected.
Returns:
Returns a value indicating the configured low battery detection.
11.2.1.14 ROM_HibernateLowBatSet
Configures the low battery detection.
April 8, 2013
115
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...