Trait kernel::hil::gpio::Client [] [src]

pub trait Client {
    fn fired(&self, identifier: usize);
}

Interface for users of synchronous GPIO. In order to receive interrupts, the user must implement this Client interface.

Required Methods

Called when an interrupt occurs. The identifier will be the same value that was passed to enable_interrupt() when the interrupt was configured.

Implementors