Trait avr_oxide::hal::generic::twi::TwoWireSlave

source ·
pub trait TwoWireSlave {
    // Required method
    fn set_address(&mut self, address: TwiAddr);
}
Expand description

Trait for devices which can act as a TWI slave

Required Methods§

source

fn set_address(&mut self, address: TwiAddr)

Set the address this device should respond to

Implementors§