pub struct W(_);
Expand description

Register CTL2 writer

Implementations

Bit 22 - Wakeup from Deep-sleep mode interrupt enable

Bits 20:21 - Wakeup mode from Deep-sleep mode

Bits 17:19 - Smartcard auto-retry number

Bit 15 - Driver enable polarity mode

Bit 14 - Driver enable mode

Bit 13 - Disable DMA on reception error

Bit 12 - Overrun Disable

Bit 11 - One sample bit method

Bit 10 - CTS interrupt enable

Bit 9 - CTS enable

Bit 8 - RTS enable

Bit 7 - DMA enable transmitter

Bit 6 - DMA enable for reception

Bit 5 - Smartcard mode enable

Bit 4 - NKEN enable in Smartcard mode

Bit 3 - Half-duplex selection

Bit 2 - IrDA low-power

Bit 1 - IrDA mode enable

Bit 0 - Error interrupt enable

Writes raw bits to the register.

Methods from Deref<Target = W<CTL2_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.