Struct esp32s3_hal::pac::rmt::sys_conf::W

pub struct W(_);
Expand description

Register SYS_CONF writer

Implementations§

Bit 0 - 1’h1: access memory directly. 1’h0: access memory by FIFO.

Bit 1 - Set this bit to enable the clock for RMT memory.

Bit 2 - Set this bit to power down RMT memory.

Bit 3 - 1: Disable RMT memory light sleep power down function. 0: Power down RMT memory when RMT is in light sleep mode.

Bits 4:11 - the integral part of the fractional divisor

Bits 12:17 - the numerator of the fractional part of the fractional divisor

Bits 18:23 - the denominator of the fractional part of the fractional divisor

Bits 24:25 - choose the clock source of rmt_sclk. 1:CLK_80Mhz;2:CLK_8MHz; 2:XTAL

Bit 26 - rmt_sclk switch

Bit 31 - RMT register clock gate enable signal. 1: Power up the drive clock of registers. 0: Power down the drive clock of registers

Writes raw bits to the register.

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