Download Stellaris Peripheral Driver Library User's Guide

Transcript
System Control
void SysCtlMOSCVerificationSet (tBoolean bEnable)
void SysCtlPeripheralClockGating (tBoolean bEnable)
void SysCtlPeripheralDeepSleepDisable (unsigned long ulPeripheral)
void SysCtlPeripheralDeepSleepEnable (unsigned long ulPeripheral)
void SysCtlPeripheralDisable (unsigned long ulPeripheral)
void SysCtlPeripheralEnable (unsigned long ulPeripheral)
tBoolean SysCtlPeripheralPresent (unsigned long ulPeripheral)
void SysCtlPeripheralReset (unsigned long ulPeripheral)
void SysCtlPeripheralSleepDisable (unsigned long ulPeripheral)
void SysCtlPeripheralSleepEnable (unsigned long ulPeripheral)
tBoolean SysCtlPinPresent (unsigned long ulPin)
void SysCtlPLLVerificationSet (tBoolean bEnable)
unsigned long SysCtlPWMClockGet (void)
void SysCtlPWMClockSet (unsigned long ulConfig)
void SysCtlReset (void)
void SysCtlResetCauseClear (unsigned long ulCauses)
unsigned long SysCtlResetCauseGet (void)
void SysCtlSleep (void)
unsigned long SysCtlSRAMSizeGet (void)
void SysCtlUSBPLLDisable (void)
void SysCtlUSBPLLEnable (void)
19.2.1 Detailed Description
The SysCtl API is broken up into eight groups of functions: those that provide device information,
those that deal with device clocking, those that provide peripheral control, those that deal with the
SysCtl interrupt, those that deal with the LDO, those that deal with sleep modes, those that deal with
reset reasons, those that deal with the brown-out reset, and those that deal with clock verification
timers.
Information about the device is provided by SysCtlSRAMSizeGet(), SysCtlFlashSizeGet(),
SysCtlPeripheralPresent(), and SysCtlPinPresent().
Clocking of the device is configured with SysCtlClockSet() and SysCtlPWMClockSet(). Information
about device clocking is provided by SysCtlClockGet() and SysCtlPWMClockGet().
Peripheral enabling and reset are controlled with SysCtlPeripheralReset(), SysCtlPeripheralEnable(), SysCtlPeripheralDisable(), SysCtlPeripheralSleepEnable(), SysCtlPeripheralSleepDisable(),
SysCtlPeripheralDeepSleepEnable(), SysCtlPeripheralDeepSleepDisable(), and SysCtlPeripheralClockGating().
The system control interrupt is managed with SysCtlIntRegister(), SysCtlIntUnregister(), SysCtlIntEnable(), SysCtlIntDisable(), SysCtlIntClear(), SysCtlIntStatus().
The LDO is controlled with SysCtlLDOSet() and SysCtlLDOConfigSet(). Its status is provided by
SysCtlLDOGet().
The device is put into sleep modes with SysCtlSleep() and SysCtlDeepSleep().
The reset reason is managed with SysCtlResetCauseGet() and SysCtlResetCauseClear(). A software reset is performed with SysCtlReset().
January 11, 2011
261