The friendly Operating System for the Internet of Things
Kinetis GPIO

GPIO driver. More...

GPIO Configuration Example (for periph_conf.h)

#define GPIO_NUMOF          1
#define GPIO_0_EN           0
#define GPIO_IRQ_PRIO       1
#define ISR_PORT_D          isr_portd

#define GPIO_22_DEV         GPIOD
#define GPIO_22_PORT        PORTD
#define GPIO_22_PIN         1
#define GPIO_22_CLKEN()     (SIM->SCGC5 |= (SIM_SCGC5_PORTD_MASK))
#define GPIO_22_IRQ         PORTD_IRQn