[−][src]Trait embedded_platform::i2c::I2cWriteExt
Extension functions for instances of I2cWrite
.
Provided methods
ⓘImportant traits for BeginWrite<'_, A>fn begin_write(&mut self, address: u8) -> BeginWrite<Self> where
Self: Unpin,
ⓘImportant traits for BeginWrite<'_, A>
Self: Unpin,
Initiates a write operation on the specified address.
The returned object can be used to write the actual data to the address. The user must call
shutdown
when done writing, or else it might leave this I²C peripheral in an incomplete
state. For example, the I²C peripheral might decide to flush remaining data in the Drop
implementation, which will be blocking.