pub trait Client {
    fn fired(&self, pin: usize, identifier: usize);
    fn done(&self, value: usize);
}
Expand description

The gpio_async Client interface is used to both receive callbacks when a configuration command finishes and to handle interrupt events from pins with interrupts enabled.

Required Methods

Called when an interrupt occurs. The pin that interrupted is included, and the identifier that was passed with the call to enable_interrupt is also returned.

Done is called when a configuration command finishes.

Implementors