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 ROM_SysCtlResetCauseGet().
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