This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct gpio_callback x_irq_cb; | |
struct device *x_irq; | |
void x_disable_irq(void) | |
{ | |
gpio_pin_disable_callback(x_irq, CONFIG_x_IRQ_GPIO_PIN); | |
} | |
void x_enable_irq(void(*handler)(void)) | |
{ |