Struct esp32::uart0::conf0::W

source · []
pub struct W(_);
Expand description

Register CONF0 writer

Implementations

Bit 0 - This register is used to configure the parity check mode. 0:even 1:odd

Bit 1 - Set this bit to enable uart parity check.

Bits 2:3 - This registe is used to set the length of data: 0:5bits 1:6bits 2:7bits 3:8bits

Bits 4:5 - This register is used to set the length of stop bit. 1:1bit 2:1.5bits 3:2bits

Bit 6 - This register is used to configure the software rts signal which is used in software flow control.

Bit 7 - This register is used to configure the software dtr signal which is used in software flow control..

Bit 8 - Set this bit to enbale transmitter to send 0 when the process of sending data is done.

Bit 9 - Set this bit to enable irda loopback mode.

Bit 10 - This is the start enable bit for irda transmitter.

Bit 11 - 1.the irda transmitter’s 11th bit is the same to the 10th bit. 0.set irda transmitter’s 11th bit to 0.

Bit 12 - Set this bit to inverse the level value of irda transmitter’s level.

Bit 13 - Set this bit to inverse the level value of irda receiver’s level.

Bit 14 - Set this bit to enable uart loopback test mode.

Bit 15 - Set this bit to enable transmitter’s flow control function.

Bit 16 - Set this bit to enable irda protocol.

Bit 17 - Set this bit to reset uart receiver’s fifo.

Bit 18 - Set this bit to reset uart transmitter’s fifo.

Bit 19 - Set this bit to inverse the level value of uart rxd signal.

Bit 20 - Set this bit to inverse the level value of uart cts signal.

Bit 21 - Set this bit to inverse the level value of uart dsr signal.

Bit 22 - Set this bit to inverse the level value of uart txd signal.

Bit 23 - Set this bit to inverse the level value of uart rts signal.

Bit 24 - Set this bit to inverse the level value of uart dtr signal.

Bit 25 - 1.force clock on for registers.support clock only when write registers

Bit 26 - 1.receiver stops storing data int fifo when data is wrong. 0.receiver stores the data even if the received data is wrong.

Bit 27 - This register is used to select the clock.1.apb clock 0:ref_tick

Writes raw bits to the register.

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