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§
sourcefn set_address(&mut self, address: TwiAddr)
fn set_address(&mut self, address: TwiAddr)
Set the address this device should respond to