LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Functions
gpio_112x.c File Reference
#include "chip.h"

Go to the source code of this file.

Functions

void Chip_GPIO_Init (LPC_GPIO_T *pGPIO)
 Initialize GPIO block. More...
 
void Chip_GPIO_DeInit (LPC_GPIO_T *pGPIO)
 De-Initialize GPIO block. More...
 
void Chip_GPIO_WriteDirBit (LPC_GPIO_T *pGPIO, uint32_t port, uint8_t bit, bool setting)
 Seta GPIO direction. More...
 
void Chip_GPIO_SetDir (LPC_GPIO_T *pGPIO, uint8_t port, uint32_t bit, uint8_t out)
 Set Direction for a GPIO port. More...
 
void Chip_GPIO_SetPinDIR (LPC_GPIO_T *pGPIO, uint8_t port, uint8_t pin, bool output)
 Set GPIO direction for a single GPIO pin. More...
 
void Chip_GPIO_SetPortDIR (LPC_GPIO_T *pGPIO, uint8_t port, uint32_t pinMask, bool outSet)
 Set GPIO direction for a all selected GPIO pins to an input or output. More...
 
void Chip_GPIO_SetupPinInt (LPC_GPIO_T *pGPIO, uint8_t port, uint8_t pin, GPIO_INT_MODE_T mode)
 Composite function for setting up a full interrupt configuration for a single pin. More...