pub struct R(_);
Expand description

Register CR1 reader

Implementations

Bit 0 - Peripheral enable

Bit 1 - TX Interrupt enable

Bit 2 - RX Interrupt enable

Bit 3 - Address match interrupt enable (slave only)

Bit 4 - Not acknowledge received interrupt enable

Bit 5 - STOP detection Interrupt enable

Bit 6 - Transfer Complete interrupt enable

Bit 7 - Error interrupts enable

Bits 8:11 - Digital noise filter

Bit 12 - Analog noise filter OFF

Bit 14 - DMA transmission requests enable

Bit 15 - DMA reception requests enable

Bit 16 - Slave byte control

Bit 17 - Clock stretching disable

Bit 18 - Wakeup from STOP enable

Bit 19 - General call enable

Bit 20 - SMBus Host address enable

Bit 21 - SMBus Device Default address enable

Bit 22 - SMBUS alert enable

Bit 23 - PEC 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.