Struct gd32f1::gd32f190::i2c0::ctl0::R[][src]

pub struct R(_);
Expand description

Register CTL0 reader

Implementations

Bit 15 - Software reset I2C

Bit 13 - SMBus alert

Bit 12 - PEC Transfer

Bit 11 - Position of ACK meaning

Bit 10 - Whether or not to send an ACK

Bit 9 - Generate a STOP condition on I2C bus

Bit 8 - Generate a START condition on I2C bus

Bit 7 - Whether to stretch SCL low when data is not ready in slave mode

Bit 6 - Whether or not to response to a General Call (0x00)

Bit 5 - PEC Calculation Switch

Bit 4 - ARP protocol in SMBus switch

Bit 3 - SMBusType Selection

Bit 1 - SMBus/I2C mode switch

Bit 0 - I2C peripheral enable

Methods from Deref<Target = R<CTL0_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Performs the conversion.

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.