Struct esp32_hal::pac::rmt::chconf1::W

pub struct W(_);
Expand description

Register CH%sCONF1 writer

Implementations§

Bit 0 - Set this bit to start sending data for channel0.

Bit 1 - Set this bit to enbale receving data for channel0.

Bit 2 - Set this bit to reset write ram address for channel0 by receiver access.

Bit 3 - Set this bit to reset read ram address for channel0 by transmitter access.

Bit 4 - Set this bit to reset W/R ram address for channel0 by apb fifo access

Bit 5 - This is the mark of channel0’s ram usage right.1’b1:receiver uses the ram 0:transmitter uses the ram

Bit 6 - Set this bit to continue sending from the first data to the last data in channel0 again and again.

Bit 7 - This is the receive filter enable bit for channel0.

Bits 8:15 - in receive mode channel0 ignore input pulse when the pulse width is smaller then this value.

Bit 16 - This bit is used to reset divider in channel0.

Bit 17 - This bit is used to select base clock. 1’b1:clk_apb 1’b0:clk_ref

Bit 18 - This bit configures the output signal’s level for channel0 in IDLE state.

Bit 19 - This is the output enable control bit for channel0 in IDLE state.

Writes raw bits to the register.

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