![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Modules | |
| GPIO Driver | |
| QSPI Driver | |
Data Structures | |
| struct | gpio_pin_config_t |
| The GPIO pin configuration structure. More... | |
Macros | |
| #define | GPIO_PORT(pin) (((uint32_t)(pin)) >> 5U) |
| Get GPIO port from pin number. | |
| #define | GPIO_PORT_PIN(pin) (((uint32_t)(pin)) & 0x1FU) |
| Get GPIO pin inside the port from pin number. | |
Enumerations | |
| enum | gpio_pin_direction_t { kGPIO_DigitalInput = 0U, kGPIO_DigitalOutput = 1U } |
| GPIO direction definition. More... | |
| enum | gpio_interrupt_config_t { kGPIO_InterruptStatusFlagDisabled = 0x00U, kGPIO_InterruptRisingEdge = 0x01U, kGPIO_InterruptFallingEdge = 0x02U, kGPIO_InterruptEitherEdge = 0x03U } |
| Configures the interrupt generation condition. More... | |
Driver version | |
| #define | FSL_GPIO_DRIVER_VERSION (MAKE_VERSION(2, 0, 0)) |
| GPIO driver version 2.0.0. 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.
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, 0, 0)) |
| enum gpio_pin_direction_t |