14 #ifndef __DRIVER_GPIO_H__ 15 #define __DRIVER_GPIO_H__ 17 #include "Driver_Common.h" 19 #include "fsl_common.h" 20 #include "fsl_iocon.h" 60 clock_ip_name_t clockName;
76 #define MAKE_GPIO_HANDLE(PortName, Base, PinNumber, Irq, ClockName, PortNumber) \ 77 static gpioHandleKSDK_t PortName##PinNumber = {.base = Base, \ 78 .pinNumber = PinNumber, \ 79 .mask = 1 << (PinNumber), \ 81 .clockName = ClockName, \ 82 .portNumber = PortNumber}; 84 #define GPIO_PIN_ID(PortName, PinNumber) &(PortName##PinNumber) 87 #endif // __DRIVER_GPIO_H__
struct gpioIsrObj gpioIsrObj_t
The gpio isr object.
The GPIO Configuration KSDK.
port_number
GPIO PORT NAMES.
struct gpioHandleKSDK gpioHandleKSDK_t
The GPIO pin handle for KSDK.
void(* gpio_isr_handler_t)(void *apUserData)
Access structure of the GPIO Driver.
enum _gpio_interrupt gpio_interrupt_t
gpio_interrupt_t interruptMode
The Driver_GPIO.h file contains the definitions for GPIO Driver direction.
The GPIO pin handle for KSDK.
gpio_pin_config_t pinConfig
struct gpioConfigKSDK gpioConfigKSDK_t
The GPIO Configuration KSDK.
enum port_number port_number_t
GPIO PORT NAMES.
GENERIC_DRIVER_GPIO Driver_GPIO_KSDK