![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Data Structures | |
struct | IP_GPIOINT_001_Type |
GPIO Interrupt register block structure. More... | |
Enumerations | |
enum | Gpio_Int_Mode_Enum { IP_GPIOINT_RISING_EDGE = 0x01, IP_GPIOINT_FALLING_EDGE = 0x02 } |
Functions | |
void | IP_GPIOINT_IntCmd (IP_GPIOINT_001_Type *pGPIOPININT, uint8_t PortNum, uint32_t BitValue, Gpio_Int_Mode_Enum IntMode) |
Enable GPIO Interrupt. | |
bool | IP_GPIOINT_IntGetStatus (IP_GPIOINT_001_Type *pGPIOPININT, uint8_t PortNum, uint32_t PinNum, Gpio_Int_Mode_Enum IntMode) |
Get GPIO Interrupt Status. | |
void | IP_GPIOINT_IntClear (IP_GPIOINT_001_Type *pGPIOPININT, uint8_t PortNum, uint32_t BitValue) |
Clear GPIO Interrupt (Edge interrupt cases only) | |
enum Gpio_Int_Mode_Enum |
Definition at line 65 of file gpioint_001.h.
void IP_GPIOINT_IntClear | ( | IP_GPIOINT_001_Type * | pGPIOPININT, |
uint8_t | PortNum, | ||
uint32_t | BitValue | ||
) |
Clear GPIO Interrupt (Edge interrupt cases only)
pGPIOPININT | : Pointer to GPIO interrupt register block |
PortNum | : GPIO port number interrupt, should be: 0 (port 0) or 2 (port 2) |
BitValue | : GPIO Bit value that contains all bits on GPIO to enable, should be 0 to 0xFFFFFFFF |
PortNum | : GPIO port number interrupt, should be: 0 (port 0) or 2 (port 2) |
BitValue | : GPIO Bit value that contains all bits on GPIO to enable, should be 0 to 0xFFFFFFFF |
Definition at line 103 of file gpioint_001.c.
void IP_GPIOINT_IntCmd | ( | IP_GPIOINT_001_Type * | pGPIOPININT, |
uint8_t | PortNum, | ||
uint32_t | BitValue, | ||
Gpio_Int_Mode_Enum | IntMode | ||
) |
Enable GPIO Interrupt.
pGPIOPININT | : Pointer to GPIO interrupt register block |
PortNum | : GPIO port number interrupt, should be: 0 (port 0) or 2 (port 2) |
BitValue | : GPIO Bit value that contains all bits on GPIO to enable, should be 0 to 0xFFFFFFFF |
IntMode | : Interrupt mode, 0 = rising edge, 1 = falling edge |
Definition at line 51 of file gpioint_001.c.
bool IP_GPIOINT_IntGetStatus | ( | IP_GPIOINT_001_Type * | pGPIOPININT, |
uint8_t | PortNum, | ||
uint32_t | PinNum, | ||
Gpio_Int_Mode_Enum | IntMode | ||
) |
Get GPIO Interrupt Status.
pGPIOPININT | : Pointer to GPIO interrupt register block |
PortNum | : GPIO port number interrupt, should be: 0 (port 0) or 2 (port 2) |
PinNum | : Pin number, should be: 0..30(with port 0) and 0..13 (with port 2) |
IntMode | : Interrupt mode, 0 = rising edge, 1 = falling edge |
Definition at line 72 of file gpioint_001.c.