Trait kernel::hil::gpio::Client

source ·
pub trait Client {
    // Required method
    fn fired(&self);
}
Expand description

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

Required Methods§

source

fn fired(&self)

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

Implementors§

source§

impl<'a, IP: InterruptPin<'a>> Client for InterruptValueWrapper<'a, IP>