gpio_hal_event_handler_s Struct Reference

Datatype for GPIO event handlers. More...

#include <os/dev/gpio-hal.h>

Detailed Description

Datatype for GPIO event handlers.

A GPIO event handler is a function that gets called whenever a pin triggers an event. The same handler can be registered to handle events for more than one pin by setting the respective pin's position but in pin_mask.

If GPIO_HAL_PORT_PIN_NUMBERING is non-zero, a separate handler is required per port.

Definition at line 180 of file gpio-hal.h.