Struct stm32f429_hal::i2c::I2c [] [src]

pub struct I2c<I2C, SCL, SDA> { /* fields omitted */ }

I2C peripheral operating in master mode

Methods

impl<SCL, SDA> I2c<I2C1, SCL, SDA>
[src]

[src]

Configures the I2C peripheral to work in master mode

freq: Maximum 400 KHz

impl<SCL, SDA> I2c<I2C2, SCL, SDA>
[src]

[src]

Configures the I2C peripheral to work in master mode

freq: Maximum 400 KHz

impl<SCL, SDA> I2c<I2C3, SCL, SDA>
[src]

[src]

Configures the I2C peripheral to work in master mode

freq: Maximum 400 KHz

Trait Implementations

impl<SCL, SDA> Read for I2c<I2C1, SCL, SDA>
[src]

Error type

[src]

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

impl<SCL, SDA> Write for I2c<I2C1, SCL, SDA>
[src]

Error type

[src]

Sends bytes to slave with address addr Read more

impl<SCL, SDA> Read for I2c<I2C2, SCL, SDA>
[src]

Error type

[src]

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

impl<SCL, SDA> Write for I2c<I2C2, SCL, SDA>
[src]

Error type

[src]

Sends bytes to slave with address addr Read more

impl<SCL, SDA> Read for I2c<I2C3, SCL, SDA>
[src]

Error type

[src]

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

impl<SCL, SDA> Write for I2c<I2C3, SCL, SDA>
[src]

Error type

[src]

Sends bytes to slave with address addr Read more

Auto Trait Implementations

impl<I2C, SCL, SDA> Send for I2c<I2C, SCL, SDA> where
    I2C: Send,
    SCL: Send,
    SDA: Send

impl<I2C, SCL, SDA> Sync for I2c<I2C, SCL, SDA> where
    I2C: Sync,
    SCL: Sync,
    SDA: Sync