LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
Data Structures | Enumerations | Functions
rgu_18xx_43xx.h File Reference

Go to the source code of this file.

Data Structures

struct  LPC_RGU_T
 RGU register structure. More...
 

Enumerations

enum  CHIP_RGU_RST_T {
  RGU_CORE_RST, RGU_PERIPH_RST, RGU_MASTER_RST, RGU_WWDT_RST = 4,
  RGU_CREG_RST, RGU_BUS_RST = 8, RGU_SCU_RST, RGU_M0SUB_RST = 12,
  RGU_M3_RST, RGU_LCD_RST = 16, RGU_USB0_RST, RGU_USB1_RST,
  RGU_DMA_RST, RGU_SDIO_RST, RGU_EMC_RST, RGU_ETHERNET_RST,
  RGU_FLASHA_RST = 25, RGU_EEPROM_RST = 27, RGU_GPIO_RST, RGU_FLASHB_RST,
  RGU_TIMER0_RST = 32, RGU_TIMER1_RST, RGU_TIMER2_RST, RGU_TIMER3_RST,
  RGU_RITIMER_RST, RGU_SCT_RST, RGU_MOTOCONPWM_RST, RGU_QEI_RST,
  RGU_ADC0_RST, RGU_ADC1_RST, RGU_DAC_RST, RGU_UART0_RST = 44,
  RGU_UART1_RST, RGU_UART2_RST, RGU_UART3_RST, RGU_I2C0_RST,
  RGU_I2C1_RST, RGU_SSP0_RST, RGU_SSP1_RST, RGU_I2S_RST,
  RGU_SPIFI_RST, RGU_CAN1_RST, RGU_CAN0_RST, RGU_LAST_RST = 63
}
 RGU reset enumerations. More...
 

Functions

STATIC INLINE void Chip_RGU_TriggerReset (CHIP_RGU_RST_T ResetNumber)
 Trigger a peripheral reset for the selected peripheral. More...
 
STATIC INLINE bool Chip_RGU_InReset (CHIP_RGU_RST_T ResetNumber)
 Checks the reset status of a peripheral. More...
 
STATIC INLINE void Chip_RGU_ClearReset (CHIP_RGU_RST_T ResetNumber)
 Clears reset for the selected peripheral. More...