Struct esp32s3::rmt::ch_tx_conf0::W

source ·
pub struct W(_);
Expand description

Register CH%s_TX_CONF0 writer

Implementations§

Bit 0 - Set this bit to start sending data on CHANNEL%s.

Bit 1 - Set this bit to reset read ram address for CHANNEL%s by accessing transmitter.

Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo.

Bit 3 - Set this bit to restart transmission from the first data to the last data in CHANNEL%s.

Bit 4 - This is the channel %s enable bit for wraparound mode: it will resume sending at the start when the data to be sent is more than its memory size.

Bit 5 - This bit configures the level of output signal in CHANNEL%s when the latter is in IDLE state.

Bit 6 - This is the output enable-control bit for CHANNEL%s in IDLE state.

Bit 7 - Set this bit to stop the transmitter of CHANNEL%s sending data out.

Bits 8:15 - This register is used to configure the divider for clock of CHANNEL%s.

Bits 16:19 - This register is used to configure the maximum size of memory allocated to CHANNEL%s.

Bit 20 - 1: Add carrier modulation on the output signal only at the send data state for CHANNEL%s. 0: Add carrier modulation on the output signal at all state for CHANNEL%s. Only valid when RMT_CARRIER_EN_CH%s is 1.

Bit 21 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out.

Bit 22 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1’h0: add carrier wave on low level. 1’h1: add carrier wave on high level.

Bit 23 - Reserved

Bit 24 - synchronization bit for CHANNEL%s

Writes raw bits to the register.

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