![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "chip.h"
Go to the source code of this file.
Functions | |
STATIC INLINE void | Chip_GPIO_Init (void) |
Initialize GPIO block. | |
STATIC INLINE void | Chip_GPIO_WritePortBit (uint32_t Port, uint8_t Bit, bool Setting) |
Set a GPIO port/bit state. | |
STATIC INLINE void | Chip_GPIO_WriteDirBit (uint32_t Port, uint8_t Bit, bool Setting) |
Seta GPIO direction. | |
STATIC INLINE bool | Chip_GPIO_ReadPortBit (uint32_t Port, uint8_t Bit) |
Read a GPIO state. | |
STATIC INLINE bool | Chip_GPIO_ReadDirBit (uint32_t Port, uint8_t Bit) |
Read a GPIO direction (out ot in) | |
STATIC INLINE void | Chip_GPIO_IntCmd (uint8_t PortNum, uint8_t BitValue, Gpio_PinInt_Mode_Enum IntMode) |
Enable GPIO Interrupt. | |
STATIC INLINE bool | Chip_GPIO_IntGetStatus (uint8_t PortNum, uint8_t PinNum, uint8_t IntMode) |
Get GPIO Interrupt Status. | |
STATIC INLINE void | Chip_GPIO_IntClear (uint8_t PortNum, uint8_t BitValue) |
Clear GPIO Interrupt (Edge interrupt cases only) | |
STATIC INLINE void | Chip_GPIOGP_IntInit (IP_GPIOGROUPINT_001_Type *pGPIOGPINT, uint8_t PortComb, uint8_t PortTrigger) |
GPIO Group Interrupt Pin Initialization. | |
STATIC INLINE void | Chip_GPIOGP_IntPinAdd (IP_GPIOGROUPINT_001_Type *pGPIOGPINT, uint8_t PortNum, uint8_t PinNum, bool ActiveMode) |
GPIO Group Interrupt Pin Add to Group. | |
STATIC INLINE void | Chip_GPIOGP_IntPinRemove (IP_GPIOGROUPINT_001_Type *pGPIOGPINT, uint8_t PortNum, uint8_t PinNum) |
GPIO Group Interrupt Pin Remove from Group. | |
STATIC INLINE bool | Chip_GPIOGP_IntGetStatus (IP_GPIOGROUPINT_001_Type *pGPIOGPINT) |
Get GPIO Group Interrupt Get Status. | |
STATIC INLINE void | Chip_GPIOGP_IntClear (IP_GPIOGROUPINT_001_Type *pGPIOGPINT) |
Clear GPIO Group Interrupt. | |
void | Chip_GPIO_SetDir (uint8_t portNum, uint32_t bitValue, uint8_t out) |
Set Direction for a GPIO port. | |
STATIC INLINE void | Chip_FIO_SetDir (uint8_t portNum, uint32_t bitValue, uint8_t out) |
Set Direction for a GPIO port. | |
STATIC INLINE void | Chip_FIO_SetValue (uint8_t portNum, uint32_t bitValue) |
Set a GPIO port/bit to the high state. | |
STATIC INLINE void | Chip_FIO_ClearValue (uint8_t portNum, uint32_t bitValue) |
Set a GPIO port/bit to the low state. | |
STATIC INLINE uint32_t | Chip_FIO_ReadValue (uint8_t portNum) |
Read current bit states for the selected port. | |
STATIC INLINE void | Chip_GPIO_SetValue (uint8_t portNum, uint32_t bitValue) |
Set a GPIO port/bit to the high state. | |
STATIC INLINE void | Chip_GPIO_ClearValue (uint8_t portNum, uint32_t bitValue) |
Set a GPIO port/bit to the low state. | |
STATIC INLINE uint32_t | Chip_GPIO_ReadValue (uint8_t portNum) |
Read current bit states for the selected port. | |