LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gpioint_001.h File Reference
#include "sys_config.h"
#include "cmsis.h"

Go to the source code of this file.

Data Structures

struct  IP_GPIOINT_001_T
 GPIO Interrupt register block structure. More...
 

Enumerations

enum  IP_GPIOPININT_MODE_T {
  GPIOPININT_FALLING_EDGE = 0, GPIOPININT_ACTIVE_LOW_LEVEL = 1, GPIOPININT_RISING_EDGE = (1 << 12), GPIOPININT_ACTIVE_HIGH_LEVEL = 1 | (1 << 12),
  GPIOPININT_BOTH_EDGES = (1 << 24), GPIOPININT_RISING_EDGE = 0x01, GPIOPININT_FALLING_EDGE = 0x02, GPIOPININT_RISING_EDGE = 0x01,
  GPIOPININT_FALLING_EDGE = 0x02, GPIOPININT_ACTIVE_HIGH_LEVEL = 0x04, GPIOPININT_ACTIVE_LOW_LEVEL = 0x08
}
 

Functions

void IP_GPIOINT_IntCmd (IP_GPIOINT_001_T *pGPIOPININT, uint8_t PortNum, uint32_t BitValue, IP_GPIOPININT_MODE_T IntMode)
 Enable GPIO Interrupt.
 
bool IP_GPIOINT_IntGetStatus (IP_GPIOINT_001_T *pGPIOPININT, uint8_t PortNum, uint32_t PinNum, IP_GPIOPININT_MODE_T IntMode)
 Get GPIO Interrupt Status.
 
void IP_GPIOINT_IntClear (IP_GPIOINT_001_T *pGPIOPININT, uint8_t PortNum, uint32_t BitValue)
 Clear GPIO Interrupt (Edge interrupt cases only)