Struct stm32f1xx_hal::pac::i2c1::cr1::R

source ·
pub struct R(_);
Expand description

Register CR1 reader

Implementations§

Bit 15 - Software reset

Bit 13 - SMBus alert

Bit 12 - Packet error checking

Bit 11 - Acknowledge/PEC Position (for data reception)

Bit 10 - Acknowledge enable

Bit 9 - Stop generation

Bit 8 - Start generation

Bit 7 - Clock stretching disable (Slave mode)

Bit 6 - General call enable

Bit 5 - PEC enable

Bit 4 - ARP enable

Bit 3 - SMBus type

Bit 1 - SMBus mode

Bit 0 - Peripheral enable

Methods from Deref<Target = R<CR1_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.