pub struct W(_);
Expand description

Register MEM_CONF writer

Implementations

Bit 0 - Set this bit to power down mem.when reg_mem_pd registers in the 3 uarts are all set to 1 mem will enter low power mode.

Bits 3:6 - This register is used to configure the amount of mem allocated to receiver’s fifo. the default byte num is 128.

Bits 7:10 - This register is used to configure the amount of mem allocated to transmitter’s fifo.the default byte num is 128.

Bits 15:17 - refer to the rx_flow_thrhd’s describtion.

Bits 18:20 - refer to the rx_tout_thrhd’s describtion.

Bits 21:22 - refer to the uart_xon_threshold’s describtion.

Bits 23:24 - refer to the uart_xoff_threshold’s describtion.

Bits 25:27 - refer to the rxfifo_full_thrhd’s describtion.

Bits 28:30 - refer to txfifo_empty_thrhd ’s describtion.

Writes raw bits to the register.

Methods from Deref<Target = W<MEM_CONF_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

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.