Struct lpc81x_pac::lpc810::usart0::cfg::R

source ·
pub struct R(_);
Expand description

Register CFG reader

Implementations§

Bit 0 - USART Enable.

Bits 2:3 - Selects the data size for the USART.

Bits 4:5 - Selects what type of parity is used by the USART.

Bit 6 - Number of stop bits appended to transmitted data. Only a single stop bit is required for received data.

Bit 9 - CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART’s own RTS if loopback mode is enabled.

Bit 11 - Selects synchronous or asynchronous operation.

Bit 12 - Selects the clock polarity and sampling edge of received data in synchronous mode.

Bit 14 - Synchronous mode Master select.

Bit 15 - Selects data loopback mode.

Methods from Deref<Target = R<CFG_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.