[−][src]Trait embedded_platform::i2c::I2cWrite
A peripheral that can perform I²C write operations.
Associated Types
type Error
The common error type for I²C write operations.
A single error type for all operations is enforced for simplicity.
type Write: Write + Unpin
An object that can be used to complete the write operation.
Required methods
fn poll_begin_write(
self: Pin<&mut Self>,
cx: &mut Context,
addr: u8
) -> Poll<Result<Self::Write, Self::Error>>
self: Pin<&mut Self>,
cx: &mut Context,
addr: u8
) -> Poll<Result<Self::Write, Self::Error>>
Polls the start of a write operation to completion.