Struct esp32s2::uart0::flow_conf::W

source ·
pub struct W(_);
Expand description

Register FLOW_CONF writer

Implementations§

Bit 0 - Set this bit to enable software flow control. When UART receives flow control characters XON or XOFF, which can be configured by UART_XON_CHAR or UART_XOFF_CHAR respectively, UART_SW_XON_INT or UART_SW_XOFF_INT interrupts can be triggered if enabled.

Bit 1 - Set this bit to remove flow control characters from the received data.

Bit 2 - Set this bit to force the transmitter to send data.

Bit 3 - Set this bit to stop the transmitter from sending data.

Bit 4 - Set this bit to send an XON character. This bit is cleared by hardware automatically.

Bit 5 - Set this bit to send an XOFF character. This bit is cleared by hardware automatically.

Writes raw bits to the register.

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