System Control
Parameters:
ui32Config is the required configuration of the MOSC control.
Description:
This function configures the control of the main oscillator. The ui32Config is specified as
follows:
SYSCTL_MOSC_VALIDATE enables the MOSC verification circuit that detects a failure of
the main oscillator (such as a loss of the clock).
SYSCTL_MOSC_INTERRUPT indicates that a MOSC failure should generate an interrupt
instead of resetting the processor.
SYSCTL_MOSC_NO_XTAL indicates that there is no crystal connected to the
OSC0/OSC1 pins, allowing power consumption to be reduced.
Returns:
None.
18.2.1.14 ROM_SysCtlPeripheralClockGating
Controls peripheral clock gating in sleep and deep-sleep mode.
Prototype:
void
ROM_SysCtlPeripheralClockGating(bool bEnable)
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_SysCtlPeripheralClockGating is a function pointer located at
ROM_SYSCTLTABLE[12].
Parameters:
bEnable is a boolean that is true if the sleep and deep-sleep peripheral configuration should
be used and false if not.
Description:
This function controls how peripherals are clocked when the processor goes into sleep
or deep-sleep mode. By default, the peripherals are clocked the same as in run
mode; if peripheral clock gating is enabled they are clocked according to the config-
uration set by ROM_SysCtlPeripheralSleepEnable(), ROM_SysCtlPeripheralSleepDisable(),
ROM_SysCtlPeripheralDeepSleepEnable(), and ROM_SysCtlPeripheralDeepSleepDisable().
Returns:
None.
18.2.1.15 ROM_SysCtlPeripheralDeepSleepDisable
Disables a peripheral in deep-sleep mode.
Prototype:
void
ROM_SysCtlPeripheralDeepSleepDisable(uint32_t ui32Peripheral)
206 April 8, 2013