Go to the source code of this file.
Classes | |
struct | LPC_SYSCTL_T |
LPC11XX System Control block structure. More... | |
Macros | |
#define | SYSCTL_DEEPSLP_BOD_PD (1 << 3) |
#define | SYSCTL_DEEPSLP_WDTOSC_PD (1 << 6) |
#define | SYSCTL_NMISRC_ENABLE ((uint32_t) 1 << 31) |
#define | SYSCTL_POWERDOWN_ADC_PD (1 << 4) |
#define | SYSCTL_POWERDOWN_BOD_PD (1 << 3) |
#define | SYSCTL_POWERDOWN_FLASH_PD (1 << 2) |
#define | SYSCTL_POWERDOWN_IRC_PD (1 << 1) |
#define | SYSCTL_POWERDOWN_IRCOUT_PD (1 << 0) |
#define | SYSCTL_POWERDOWN_SYSOSC_PD (1 << 5) |
#define | SYSCTL_POWERDOWN_SYSPLL_PD (1 << 7) |
#define | SYSCTL_POWERDOWN_WDTOSC_PD (1 << 6) |
#define | SYSCTL_RST_BOD (1 << 3) |
#define | SYSCTL_RST_EXTRST (1 << 1) |
#define | SYSCTL_RST_POR (1 << 0) |
#define | SYSCTL_RST_SYSRST (1 << 4) |
#define | SYSCTL_RST_WDT (1 << 2) |
#define | SYSCTL_SLPWAKE_ADC_PD (1 << 4) |
#define | SYSCTL_SLPWAKE_BOD_PD (1 << 3) |
#define | SYSCTL_SLPWAKE_FLASH_PD (1 << 2) |
#define | SYSCTL_SLPWAKE_IRC_PD (1 << 1) |
#define | SYSCTL_SLPWAKE_IRCOUT_PD (1 << 0) |
#define | SYSCTL_SLPWAKE_SYSOSC_PD (1 << 5) |
#define | SYSCTL_SLPWAKE_SYSPLL_PD (1 << 7) |
#define | SYSCTL_SLPWAKE_WDTOSC_PD (1 << 6) |
Typedefs | |
typedef enum CHIP_SYSCTL_BODRINTVAL | CHIP_SYSCTL_BODRINTVAL_T |
typedef enum CHIP_SYSCTL_BODRSTLVL | CHIP_SYSCTL_BODRSTLVL_T |
typedef enum CHIP_SYSCTL_BOOT_MODE_REMAP | CHIP_SYSCTL_BOOT_MODE_REMAP_T |
Functions | |
STATIC INLINE void | Chip_SYSCTL_AssertPeriphReset (CHIP_SYSCTL_PERIPH_RESET_T periph) |
Assert reset for a peripheral. More... | |
STATIC INLINE void | Chip_SYSCTL_ClearSystemRSTStatus (uint32_t reset) |
Clear system reset status. More... | |
STATIC INLINE void | Chip_SYSCTL_DeassertPeriphReset (CHIP_SYSCTL_PERIPH_RESET_T periph) |
De-assert reset for a peripheral. More... | |
STATIC INLINE void | Chip_SYSCTL_DisableBODReset (void) |
Disable brown-out detection reset. More... | |
STATIC INLINE void | Chip_SYSCTL_EnableBODReset (void) |
Enable brown-out detection reset. More... | |
STATIC INLINE uint32_t | Chip_SYSCTL_GetDeepSleepPD (void) |
Returns current deep sleep mask. More... | |
STATIC INLINE uint32_t | Chip_SYSCTL_GetDeviceID (void) |
Return the device ID. More... | |
STATIC INLINE uint32_t | Chip_SYSCTL_GetPORPIOStatus (int index) |
Read POR captured PIO status. More... | |
STATIC INLINE uint32_t | Chip_SYSCTL_GetPowerStates (void) |
Get power status. More... | |
STATIC INLINE uint32_t | Chip_SYSCTL_GetSystemRSTStatus (void) |
Get system reset status. More... | |
STATIC INLINE uint32_t | Chip_SYSCTL_GetWakeup (void) |
Return current wakeup mask. More... | |
STATIC INLINE void | Chip_SYSCTL_Map (CHIP_SYSCTL_BOOT_MODE_REMAP_T remap) |
Re-map interrupt vectors. More... | |
STATIC INLINE void | Chip_SYSCTL_PeriphReset (CHIP_SYSCTL_PERIPH_RESET_T periph) |
Resets a peripheral. More... | |
void | Chip_SYSCTL_PowerDown (uint32_t powerdownmask) |
Power down one or more blocks or peripherals. More... | |
void | Chip_SYSCTL_PowerUp (uint32_t powerupmask) |
Power up one or more blocks or peripherals. More... | |
STATIC INLINE void | Chip_SYSCTL_SetBODLevels (CHIP_SYSCTL_BODRSTLVL_T rstlvl, CHIP_SYSCTL_BODRINTVAL_T intlvl) |
Set brown-out detection interrupt and reset levels. More... | |
void | Chip_SYSCTL_SetDeepSleepPD (uint32_t sleepmask) |
Setup deep sleep behaviour for power down. More... | |
STATIC INLINE void | Chip_SYSCTL_SetSYSTCKCAL (uint32_t sysCalVal) |
Set System tick timer calibration value. More... | |
void | Chip_SYSCTL_SetWakeup (uint32_t wakeupmask) |
Setup wakeup behaviour from deep sleep. More... | |