[][src]Function mraa_sys::mraa_gpio_get_events

pub unsafe extern "C" fn mraa_gpio_get_events(
    dev: mraa_gpio_context
) -> mraa_gpio_events_t

Get an array of structures describing triggered events.

@param dev The Gpio context @return Array of structures containing pairs of pin id's and the associated timestamp. An event with negative id value indicates that no event was triggered for the respective pin. The array length is that of the number of pins provided in mraa_gpio_init_multi().