System Control
Description:
This function provides a means of generating a constant length delay. It is written in assembly
to keep the delay consistent across tool chains, avoiding the need to tune the delay based on
the tool chain in use.
The loop takes 3 cycles/loop.
Returns:
None.
18.2.1.8 ROM_SysCtlFlashSizeGet
Gets the size of the flash.
Prototype:
uint32_t
ROM_SysCtlFlashSizeGet(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_SysCtlFlashSizeGet is a function pointer located at ROM_SYSCTLTABLE[2].
Description:
This function determines the size of the flash.
Returns:
The total number of bytes of flash.
18.2.1.9 ROM_SysCtlIntClear
Clears system control interrupt sources.
Prototype:
void
ROM_SysCtlIntClear(uint32_t ui32Ints)
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_SysCtlIntClear is a function pointer located at ROM_SYSCTLTABLE[15].
Parameters:
ui32Ints is a bit mask of the interrupt sources to be cleared. Must be a logical OR of
SYSCTL_INT_PLL_LOCK, SYSCTL_INT_CUR_LIMIT, SYSCTL_INT_IOSC_FAIL,
SYSCTL_INT_MOSC_FAIL, SYSCTL_INT_POR, SYSCTL_INT_BOR, and/or
SYSCTL_INT_PLL_FAIL.
Description:
The specified system control interrupt sources are cleared, so that they no longer assert. This
must be done in the interrupt handler to keep it from being called again immediately upon exit.
April 8, 2013 203