pub trait I2cWrite: Debug {
type Error;
type Write: Write + Unpin;
// Required method
fn poll_begin_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
addr: u8,
) -> Poll<Result<Self::Write, Self::Error>>;
}
Expand description
A peripheral that can perform I²C write operations.