pub type TWI = Periph<RegisterBlock, 184>;Expand description
Two Wire Serial Interface
Aliased Type§
struct TWI { /* private fields */ }Trait Implementations§
Source§impl I2cOps<Atmega, Pin<Input, PC4>, Pin<Input, PC5>> for TWI
impl I2cOps<Atmega, Pin<Input, PC4>, Pin<Input, PC5>> for TWI
Source§fn raw_setup<CLOCK: Clock>(&mut self, speed: u32)
fn raw_setup<CLOCK: Clock>(&mut self, speed: u32)
Setup the bus for operation at a certain speed. Read more
Source§fn raw_start(&mut self, address: u8, direction: Direction) -> Result<(), Error>
fn raw_start(&mut self, address: u8, direction: Direction) -> Result<(), Error>
Start a bus transaction to a certain
address in either read or write mode. Read moreSource§fn raw_write(&mut self, bytes: &[u8]) -> Result<(), Error>
fn raw_write(&mut self, bytes: &[u8]) -> Result<(), Error>
Write some bytes to the bus. Read more