Trait 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>

impl Client for Fxos8700cq<'_>

impl<'a, A: Alarm<'a>> Client for HcSr04<'a, A>

impl<'a, A: Alarm<'a>> Client for SDCard<'a, A>

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

impl<'a, S: SpiMasterDevice<'a>> Client for RF233<'a, S>

impl<I: I2CDevice> Client for APDS9960<'_, I>

impl<I: I2CDevice> Client for Ft6x06<'_, I>

impl<I: I2CDevice> Client for LPS25HB<'_, I>

impl<I: I2CDevice> Client for LTC294X<'_, I>

impl<I: I2CDevice> Client for TSL2561<'_, I>

impl<A: Alarm<'static>> Client for LogTest<A>

impl<A: Alarm<'static>> Client for LogTest<A>