Struct esp32s2::uart0::mem_conf::R

source ·
pub struct R(_);
Expand description

Register MEM_CONF reader

Implementations§

Bits 1:3 - This register is used to configure the amount of RAM allocated for RX FIFO. The default number is 128 bytes.

Bits 4:6 - This register is used to configure the amount of RAM allocated for TX FIFO. The default number is 128 bytes.

Bits 7:15 - This register is used to configure the maximum amount of data bytes that can be received when hardware flow control works.

Bits 16:25 - This register is used to configure the threshold time that the receiver takes to receive one byte, in the unit of bit time (the time it takes to transfer one bit). The UART_RXFIFO_TOUT_INT interrupt will be triggered when the receiver takes more time to receive one byte with UART RX_TOUT_EN set to 1.

Bit 26 - Set this bit to force power down UART RAM.

Bit 27 - Set this bit to force power up UART RAM.

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