Struct esp32c2_hal::pac::uart0::mem_conf::R

pub struct R(_);
Expand description

Register MEM_CONF reader

Implementations§

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

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

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

Bits 16:25 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1.

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

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

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.