40 #ifndef __DRIVER_GPIO_H__ 41 #define __DRIVER_GPIO_H__ 43 #include "Driver_Common.h" 45 #include "fsl_common.h" 46 #include "fsl_iocon.h" 86 clock_ip_name_t clockName;
102 #define MAKE_GPIO_HANDLE(PortName, Base, PinNumber, Irq, ClockName, PortNumber) \ 103 static gpioHandleKSDK_t PortName##PinNumber = {.base = Base, \ 104 .pinNumber = PinNumber, \ 105 .mask = 1 << (PinNumber), \ 107 .clockName = ClockName, \ 108 .portNumber = PortNumber}; 110 #define GPIO_PIN_ID(PortName, PinNumber) &(PortName##PinNumber) 113 #endif // __DRIVER_GPIO_H__
The GPIO pin handle for KSDK.
The GPIO Configuration KSDK.
enum port_number port_number_t
GPIO PORT NAMES.
void(* gpio_isr_handler_t)(void *apUserData)
struct gpioHandleKSDK gpioHandleKSDK_t
The GPIO pin handle for KSDK.
port_number
GPIO PORT NAMES.
gpio_interrupt_t interruptMode
gpio_pin_config_t pinConfig
enum _gpio_interrupt gpio_interrupt_t
Access structure of the GPIO Driver.
struct gpioConfigKSDK gpioConfigKSDK_t
The GPIO Configuration KSDK.
The Driver_GPIO.h file contains the definitions for GPIO Driver direction.
GENERIC_DRIVER_GPIO Driver_GPIO_KSDK
struct gpioIsrObj gpioIsrObj_t
The gpio isr object.