Struct lpc55_hal::drivers::i2c::I2cMaster[][src]

pub struct I2cMaster<PIO1, PIO2, I2C, PINS> where
    PIO1: PinId,
    PIO2: PinId,
    I2C: I2c,
    PINS: I2cPins<PIO1, PIO2, I2C>, 
{ /* fields omitted */ }
Expand description

I2C peripheral operating in master mode

Implementations

Weird crashes happen when running system at 150Mhz PLL. Suggested use: 100khz or 400khz

Trait Implementations

Error type

Reads enough bytes from slave with address to fill buffer Read more

Error type

Sends bytes to slave with address addr Read more

Error type

Sends bytes to slave with address addr and then reads enough bytes to fill buffer in a single transaction Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.