Trait i2c::BulkTransfer [] [src]

pub trait BulkTransfer: Master {
    fn i2c_transfer_support(
        &mut self
    ) -> Result<(ReadFlags, WriteFlags), Self::Error>;
fn i2c_transfer(
        &mut self,
        messages: &mut [Message]
    ) -> Result<(), Self::Error>; }

Advanced I2C transfer queues that support repeated START operations.

Required Methods

Specifies the flags that this implementation supports.

Executes a queue of I2C transfers, separated by repeated START conditions. Data buffers are truncated to the actual read length on completion.

Implementors