|
EE445M RTOS
Taken at the University of Texas Spring 2015
|
#include <stdbool.h>#include <stdint.h>#include "inc/hw_ints.h"#include "inc/hw_nvic.h"#include "inc/hw_sysctl.h"#include "inc/hw_types.h"#include "inc/hw_flash.h"#include "driverlib/cpu.h"#include "driverlib/debug.h"#include "driverlib/interrupt.h"#include "driverlib/sysctl.h"
Go to the source code of this file.
Macros | |
| #define | FLASH_PP_MAINSS_S 16 |
| #define | SysCtlXtalCfgToIndex(a) ((a & 0x7c0) >> 6) |
| #define | MAX_VCO_ENTRIES 2 |
| #define | MAX_XTAL_ENTRIES 18 |
| #define | PLL_M_TO_REG(mi, mf) ((uint32_t)mi | (uint32_t)(mf << SYSCTL_PLLFREQ0_MFRAC_S)) |
| #define | PLL_N_TO_REG(n) ((uint32_t)(n - 1) << SYSCTL_PLLFREQ1_N_S) |
| #define | SYSCTL_PPBASE 0x400fe300 |
| #define | SYSCTL_SRBASE 0x400fe500 |
| #define | SYSCTL_RCGCBASE 0x400fe600 |
| #define | SYSCTL_SCGCBASE 0x400fe700 |
| #define | SYSCTL_DCGCBASE 0x400fe800 |
| #define | SYSCTL_PCBASE 0x400fe900 |
| #define | SYSCTL_PRBASE 0x400fea00 |
Functions | |
| static uint32_t | _SysCtlMemTimingGet (uint32_t ui32SysClock) |
| static uint32_t | _SysCtlFrequencyGet (uint32_t ui32Xtal) |
| uint32_t | SysCtlSRAMSizeGet (void) |
| uint32_t | SysCtlFlashSizeGet (void) |
| uint32_t | SysCtlFlashSectorSizeGet (void) |
| bool | SysCtlPeripheralPresent (uint32_t ui32Peripheral) |
| bool | SysCtlPeripheralReady (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralPowerOn (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralPowerOff (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralReset (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralEnable (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralDisable (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralSleepEnable (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralSleepDisable (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralDeepSleepEnable (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralDeepSleepDisable (uint32_t ui32Peripheral) |
| void | SysCtlPeripheralClockGating (bool bEnable) |
| void | SysCtlIntRegister (void(*pfnHandler)(void)) |
| void | SysCtlIntUnregister (void) |
| void | SysCtlIntEnable (uint32_t ui32Ints) |
| void | SysCtlIntDisable (uint32_t ui32Ints) |
| void | SysCtlIntClear (uint32_t ui32Ints) |
| uint32_t | SysCtlIntStatus (bool bMasked) |
| void | SysCtlLDOSleepSet (uint32_t ui32Voltage) |
| uint32_t | SysCtlLDOSleepGet (void) |
| void | SysCtlLDODeepSleepSet (uint32_t ui32Voltage) |
| uint32_t | SysCtlLDODeepSleepGet (void) |
| void | SysCtlSleepPowerSet (uint32_t ui32Config) |
| void | SysCtlDeepSleepPowerSet (uint32_t ui32Config) |
| void | SysCtlReset (void) |
| void | SysCtlSleep (void) |
| void | SysCtlDeepSleep (void) |
| uint32_t | SysCtlResetCauseGet (void) |
| void | SysCtlResetCauseClear (uint32_t ui32Causes) |
| void | SysCtlMOSCConfigSet (uint32_t ui32Config) |
| uint32_t | SysCtlPIOSCCalibrate (uint32_t ui32Type) |
| void | SysCtlResetBehaviorSet (uint32_t ui32Behavior) |
| uint32_t | SysCtlResetBehaviorGet (void) |
| uint32_t | SysCtlClockFreqSet (uint32_t ui32Config, uint32_t ui32SysClock) |
| void | SysCtlClockSet (uint32_t ui32Config) |
| uint32_t | SysCtlClockGet (void) |
| void | SysCtlDeepSleepClockSet (uint32_t ui32Config) |
| void | SysCtlDeepSleepClockConfigSet (uint32_t ui32Div, uint32_t ui32Config) |
| void | SysCtlPWMClockSet (uint32_t ui32Config) |
| uint32_t | SysCtlPWMClockGet (void) |
| void | SysCtlGPIOAHBEnable (uint32_t ui32GPIOPeripheral) |
| void | SysCtlGPIOAHBDisable (uint32_t ui32GPIOPeripheral) |
| void | SysCtlUSBPLLEnable (void) |
| void | SysCtlUSBPLLDisable (void) |
| void | SysCtlVoltageEventConfig (uint32_t ui32Config) |
| uint32_t | SysCtlVoltageEventStatus (void) |
| void | SysCtlVoltageEventClear (uint32_t ui32Status) |
| uint32_t | SysCtlNMIStatus (void) |
| void | SysCtlNMIClear (uint32_t ui32Ints) |
| void | SysCtlClockOutConfig (uint32_t ui32Config, uint32_t ui32Div) |
| void | SysCtlAltClkConfig (uint32_t ui32Config) |
Variables | |
| static const uint32_t | g_pui32Xtals [] |
| static const uint32_t | g_pppui32XTALtoVCO [2][18][2] |
| struct { | |
| uint32_t ui32Frequency | |
| uint32_t ui32MemTiming | |
| } | g_sXTALtoMEMTIM [] |
| static const uint32_t | g_pui32VCOFrequencies [2] |
| uint32_t ui32Frequency |
Definition at line 194 of file sysctl.c.
Referenced by _SysCtlMemTimingGet().
| uint32_t ui32MemTiming |
Definition at line 195 of file sysctl.c.
Referenced by _SysCtlMemTimingGet().