[][src]Type Definition mynewt::hw::sensor::bindings::sensor_handle_interrupt_t

type sensor_handle_interrupt_t = Option<unsafe extern "C" fn(sensor: *mut sensor) -> c_int>;

Let driver handle interrupt in the sensor context

Return: 0 on success, non-zero error code on failure.