![]() |
MCUXpresso SDK API Reference Manual
Rev 2.16.000
NXP Semiconductors
|
Modules | |
| FGPIO Driver | |
| RGPIO Driver | |
Data Structures | |
| struct | rgpio_pin_config_t |
| The RGPIO pin configuration structure. More... | |
Enumerations | |
| enum | rgpio_pin_direction_t { kRGPIO_DigitalInput = 0U, kRGPIO_DigitalOutput = 1U } |
| RGPIO direction definition. More... | |
| enum | rgpio_interrupt_sel_t { kRGPIO_InterruptOutput0 = 0x0U, kRGPIO_InterruptOutput1 = 0x1U, kRGPIO_InterruptOutput2 = 0x2U, kRGPIO_InterruptOutput3 = 0x3U } |
| Configures the interrupt generation condition. More... | |
| enum | rgpio_interrupt_config_t { kRGPIO_InterruptOrDMADisabled = 0x0U, kRGPIO_DMARisingEdge = 0x1U, kRGPIO_DMAFallingEdge = 0x2U, kRGPIO_DMAEitherEdge = 0x3U, kRGPIO_FlagRisingEdge = 0x05U, kRGPIO_FlagFallingEdge = 0x06U, kRGPIO_FlagEitherEdge = 0x07U, kRGPIO_InterruptLogicZero = 0x8U, kRGPIO_InterruptRisingEdge = 0x9U, kRGPIO_InterruptFallingEdge = 0xAU, kRGPIO_InterruptEitherEdge = 0xBU, kRGPIO_InterruptLogicOne = 0xCU, kRGPIO_ActiveHighTriggerOutputEnable = 0xDU, kRGPIO_ActiveLowTriggerOutputEnable = 0xEU } |
| Configures the interrupt generation condition. More... | |
Driver version | |
| #define | FSL_RGPIO_DRIVER_VERSION (MAKE_VERSION(2, 1, 0)) |
| RGPIO driver version 2.1.0. More... | |
| struct rgpio_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 | |
| rgpio_pin_direction_t | pinDirection |
| RGPIO direction, input or output. | |
| uint8_t | outputLogic |
| Set a default output logic, which has no use in input. | |
| #define FSL_RGPIO_DRIVER_VERSION (MAKE_VERSION(2, 1, 0)) |