[][src]Function mraa_sys::mraa_gpio_isr

pub unsafe extern "C" fn mraa_gpio_isr(
    dev: mraa_gpio_context,
    edge: mraa_gpio_edge_t,
    fptr: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    args: *mut c_void
) -> mraa_result_t

Set an interrupt on pin(s).

@param dev The Gpio context @param edge The edge mode to set the gpio(s) into @param fptr Function pointer to function to be called when interrupt is triggered @param args Arguments passed to the interrupt handler (fptr) @return Result of operation