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

Go to the source code of this file.

Data Structures

struct  LPC_GPIOGROUPINT_T
 GPIO grouped interrupt register block structure. More...
 

Macros

#define GPIOGR_INT   (1 << 0)
 
#define GPIOGR_COMB   (1 << 1)
 
#define GPIOGR_TRIG   (1 << 2)
 

Functions

STATIC INLINE void Chip_GPIOGP_ClearIntStatus (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group)
 Clear interrupt pending status for the selected group. More...
 
STATIC INLINE bool Chip_GPIOGP_GetIntStatus (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group)
 Returns current GPIO group inetrrupt pending status. More...
 
STATIC INLINE void Chip_GPIOGP_SelectOrMode (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group)
 Selected GPIO group functionality for trigger on any pin in group (OR mode) More...
 
STATIC INLINE void Chip_GPIOGP_SelectAndMode (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group)
 Selected GPIO group functionality for trigger on all matching pins in group (AND mode) More...
 
STATIC INLINE void Chip_GPIOGP_SelectEdgeMode (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group)
 Selected GPIO group functionality edge trigger mode. More...
 
STATIC INLINE void Chip_GPIOGP_SelectLevelMode (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group)
 Selected GPIO group functionality level trigger mode. More...
 
STATIC INLINE void Chip_GPIOGP_SelectLowLevel (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group, uint8_t port, uint32_t pinMask)
 Set selected pins for the group and port to low level trigger. More...
 
STATIC INLINE void Chip_GPIOGP_SelectHighLevel (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group, uint8_t port, uint32_t pinMask)
 Set selected pins for the group and port to high level trigger. More...
 
STATIC INLINE void Chip_GPIOGP_DisableGroupPins (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group, uint8_t port, uint32_t pinMask)
 Disabled selected pins for the group interrupt. More...
 
STATIC INLINE void Chip_GPIOGP_EnableGroupPins (LPC_GPIOGROUPINT_T *pGPIOGPINT, uint8_t group, uint8_t port, uint32_t pinMask)
 Enable selected pins for the group interrupt. More...