Type gpio_pin_callback_t

typedef void(* gpio_pin_callback_t )(void)

The interrupt handler can be configured to do a function callback, the callback function must match the gpio_pin_callback_t type.