Struct lpc11uxx::usart::mcr::R

source ·
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Value of the register as raw bits

Bit 0 - Source for modem output pin DTR. This bit reads as 0 when modem loopback mode is active.

Bit 1 - Source for modem output pin RTS. This bit reads as 0 when modem loopback mode is active.

Bit 4 - Loopback Mode Select. The modem loopback mode provides a mechanism to perform diagnostic loopback testing. Serial data from the transmitter is connected internally to serial input of the receiver. Input pin, RXD, has no effect on loopback and output pin, TXD is held in marking state. The DSR, CTS, DCD, and RI pins are ignored. Externally, DTR and RTS are set inactive. Internally, the upper four bits of the MSR are driven by the lower four bits of the MCR. This permits modem status interrupts to be generated in loopback mode by writing the lower four bits of MCR.

Bit 6 - RTS enable

Bit 7 - CTS enable

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.

Should always be Self
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.