Classes | Macros | Typedefs | Enumerations | Functions
sysctl_11xx.h File Reference
This graph shows which files directly or indirectly include this file:

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
 

Enumerations

enum  CHIP_SYSCTL_BODRINTVAL { SYSCTL_BODINTVAL_RESERVED1 }
 
enum  CHIP_SYSCTL_BODRSTLVL { SYSCTL_BODRSTLVL_RESERVED1, SYSCTL_BODRSTLVL_2_06V, SYSCTL_BODRSTLVL_2_35V, SYSCTL_BODRSTLVL_2_63V }
 
enum  CHIP_SYSCTL_BOOT_MODE_REMAP { REMAP_BOOT_LOADER_MODE, REMAP_USER_RAM_MODE, REMAP_USER_FLASH_MODE }
 
enum  CHIP_SYSCTL_PERIPH_RESET_T {
  RESET_SSP0, RESET_I2C0, RESET_SSP1, RESET_CAN0,
  RESET_UART0, RESET_TIMER0_16, RESET_TIMER1_16, RESET_TIMER0_32,
  RESET_TIMER1_32, RESET_ACMP, RESET_DAC0, RESET_ADC0
}
 

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...
 


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:03