Struct gd32vf103xx_hal::i2c::I2c[][src]

pub struct I2c<I2C, PINS> { /* fields omitted */ }
Expand description

I2C peripheral operating in master mode

Implementations

Creates a generic I2C0 object on pins PB6 and PB7 or PB8 and PB9 (if remapped)

Creates a generic I2C1 object on pins PB10 and PB11 using the embedded-hal BlockingI2c trait.

Releases the I2C peripheral and associated pins

Releases the I2C peripheral and associated pins

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.

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.