/* The application-specific handler is called with a mask of pending GPIO interrupts. After processing pin interrupts, the application-specific handler may wish to use gpio_intr_pending to check for any additional pending interrupts before it returns.  */
void gpio_intr_handler_register(void *fn, void *arg)
/* The application-specific handler is called with a mask of pending GPIO interrupts. After processing pin interrupts, the application-specific handler may wish to use gpio_intr_pending to check for any additional pending interrupts before it returns.  */
void gpio_intr_handler_register(void *fn, void *arg)
{
    _xt_isr_attach(ETS_GPIO_INUM, fn, arg);
}