![]()  | 
  
    MCUXpresso SDK API Reference Manual
    Rev 2.16.000
    
   NXP Semiconductors 
   | 
 
Modules | |
| FGPIO Driver | |
| GPIO Driver | |
Data Structures | |
| struct | _gpio_pin_config | 
| The GPIO pin configuration structure.  More... | |
Typedefs | |
| typedef enum _gpio_pin_direction | gpio_pin_direction_t | 
| GPIO direction definition.  | |
| typedef struct _gpio_pin_config | gpio_pin_config_t | 
| The GPIO pin configuration structure.  More... | |
| typedef enum _gpio_interrupt_config | gpio_interrupt_config_t | 
| Configures the interrupt generation condition.  More... | |
Enumerations | |
| enum | _gpio_pin_direction {  kGPIO_DigitalInput = 0U, kGPIO_DigitalOutput = 1U }  | 
| GPIO direction definition.  More... | |
| enum | _gpio_interrupt_config {  kGPIO_InterruptStatusFlagDisabled = 0x0U, kGPIO_DMARisingEdge = 0x1U, kGPIO_DMAFallingEdge = 0x2U, kGPIO_DMAEitherEdge = 0x3U, kGPIO_FlagRisingEdge = 0x05U, kGPIO_FlagFallingEdge = 0x06U, kGPIO_FlagEitherEdge = 0x07U, kGPIO_InterruptLogicZero = 0x8U, kGPIO_InterruptRisingEdge = 0x9U, kGPIO_InterruptFallingEdge = 0xAU, kGPIO_InterruptEitherEdge = 0xBU, kGPIO_InterruptLogicOne = 0xCU, kGPIO_ActiveHighTriggerOutputEnable = 0xDU, kGPIO_ActiveLowTriggerOutputEnable = 0xEU }  | 
| Configures the interrupt generation condition.  More... | |
Driver version | |
| #define | FSL_GPIO_DRIVER_VERSION (MAKE_VERSION(2, 7, 3)) | 
| GPIO driver version.  More... | |
| struct _gpio_pin_config | 
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, 7, 3)) | 
| typedef struct _gpio_pin_config 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().
| typedef enum _gpio_interrupt_config gpio_interrupt_config_t | 
| enum _gpio_pin_direction |