Function gpiochip::wait_for_event [−][src]
pub fn wait_for_event(
events: &[&GpioEventHandle],
timeout_ms: i32
) -> Result<u64>
Wait until at least one gpio event has been received or timeout occured.
The return value is a bitmap, which marks the GpioEventHandles with data available