System Control
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_SYSCTLTABLE
is an array of pointers located at
ROM_APITABLE[13]
.
ROM_SysCtlResetCauseClear
is a function pointer located at
ROM_SYSCTLTABLE[22]
.
Parameters:
ui32Causes
are
the
reset
causes
to
be
cleared;
must
be
a
logical
OR
of
SYSCTL_CAUSE_LDO
,
SYSCTL_CAUSE_SW
,
SYSCTL_CAUSE_WDOG
,
SYSCTL_CAUSE_BOR
,
SYSCTL_CAUSE_POR
, and/or
SYSCTL_CAUSE_EXT
.
Description:
This function clears the specified sticky reset reasons. Once cleared, another reset for the
same reason can be detected, and a reset for a different reason can be distinguished (instead
of having two reset causes set). If the reset reason is used by an application, all reset causes
should be cleared after they are retrieved with
Returns:
None.
18.2.1.31 ROM_SysCtlResetCauseGet
Gets the reason for a reset.
Prototype:
uint32_t
ROM_SysCtlResetCauseGet(void)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_SYSCTLTABLE
is an array of pointers located at
ROM_APITABLE[13]
.
ROM_SysCtlResetCauseGet
is a function pointer located at
ROM_SYSCTLTABLE[21]
.
Description:
This function will return the reason(s) for a reset.
Since the reset reasons are
sticky until either cleared by software or an external reset, multiple reset reasons
may be returned if multiple resets have occurred.
The reset reason is a log-
ical OR of
SYSCTL_CAUSE_LDO
,
SYSCTL_CAUSE_SW
,
SYSCTL_CAUSE_WDOG
,
SYSCTL_CAUSE_BOR
,
SYSCTL_CAUSE_POR
, and/or
SYSCTL_CAUSE_EXT
.
Returns:
Returns the reason(s) for a reset.
18.2.1.32 ROM_SysCtlSleep
Puts the processor into sleep mode.
Prototype:
void
ROM_SysCtlSleep(void)
April 8, 2013
219
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...