pub struct W(_);
Expand description

Register CR2 writer

Implementations

Bit 19 - Most significant bit first

Bit 18 - Binary data inversion

Bit 17 - TX pin active level inversion

Bit 16 - RX pin active level inversion

Bit 15 - Swap TX/RX pins

Bits 12:13 - STOP bits

Bit 11 - Clock enable

Bit 4 - 7-bit Address Detection/4-bit Address Detection

Bits 24:31 - Address of the USART node

Writes raw bits to the register.

Methods from Deref<Target = W<CR2_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably 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.