![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Data Structures | |
struct | LPC_RGU_T |
RGU register structure. More... | |
Enumerations | |
enum | RGU_RST_TYPE { RGU_CORE_RST, RGU_PERIPH_RST, RGU_MASTER_RST, RGU_WWDT_RST = 4, RGU_CREG_RST, RGU_BUS_RST = 8, RGU_SCU_RST, RGU_M3_RST = 13, 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 | |
void | Chip_RGU_TriggerReset (RGU_RST_TYPE ResetNumber) |
Trigger a peripheral reset for the selected peripheral. | |
bool | Chip_RGU_InReset (RGU_RST_TYPE ResetNumber) |
Checks the reset status of a peripheral. | |
void | Chip_RGU_ClearReset (RGU_RST_TYPE ResetNumber) |
Clears reset for the selected peripheral. | |
enum RGU_RST_TYPE |
RGU reset enumerations.
Definition at line 49 of file rgu_18xx_43xx.h.
void Chip_RGU_ClearReset | ( | RGU_RST_TYPE | ResetNumber | ) |
Clears reset for the selected peripheral.
ResetNumber | : Peripheral reset number to trigger |
Definition at line 67 of file rgu_18xx_43xx.c.
bool Chip_RGU_InReset | ( | RGU_RST_TYPE | ResetNumber | ) |
Checks the reset status of a peripheral.
ResetNumber | : Peripheral reset number to trigger |
Definition at line 83 of file rgu_18xx_43xx.c.
void Chip_RGU_TriggerReset | ( | RGU_RST_TYPE | ResetNumber | ) |
Trigger a peripheral reset for the selected peripheral.
ResetNumber | : Peripheral reset number to trigger |
Definition at line 51 of file rgu_18xx_43xx.c.