MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Modules | |
FGPIO Driver | |
GPIO Driver | |
Data Structures | |
struct | gpio_pin_config_t |
The GPIO pin configuration structure. More... | |
Enumerations | |
enum | gpio_pin_direction_t { kGPIO_DigitalInput = 0U, kGPIO_DigitalOutput = 1U } |
GPIO direction definition. More... | |
Driver version | |
#define | FSL_GPIO_DRIVER_VERSION (MAKE_VERSION(2, 1, 1)) |
GPIO driver version 2.1.1. More... | |
struct gpio_pin_config_t |
Each pin can only be configured as either an output pin or an input pin at a time. If configured as an input pin, leave the outputConfig unused. Note that in some use cases, the corresponding port property should be configured in advance with the PORT_SetPinConfig().
Data Fields | |
gpio_pin_direction_t | pinDirection |
GPIO direction, input or output. | |
uint8_t | outputLogic |
Set a default output logic, which has no use in input. | |
#define FSL_GPIO_DRIVER_VERSION (MAKE_VERSION(2, 1, 1)) |
enum gpio_pin_direction_t |