Struct esp32::rtc_cntl::clk_conf::W

source ·
pub struct W(_);
Expand description

Register CLK_CONF writer

Implementations§

Bits 4:5 - CK8M_D256_OUT divider. 00: div128 01: div256 10: div512 11: div1024.

Bit 6 - disable CK8M and CK8M_D256_OUT

Bit 7 - 1: CK8M_D256_OUT is actually CK8M 0: CK8M_D256_OUT is CK8M divided by 256

Bit 8 - enable CK_XTAL_32K for digital core (no relationship with RTC core)

Bit 9 - enable CK8M_D256_OUT for digital core (no relationship with RTC core)

Bit 10 - enable CK8M for digital core (no relationship with RTC core)

Bit 11

Bits 12:14 - divider = reg_ck8m_div_sel + 1

Bit 15 - XTAL force no gating during sleep

Bit 16 - CK8M force no gating during sleep

Bits 17:24 - CK8M_DFREQ

Bit 25 - CK8M force power down

Bit 26 - CK8M force power up

Bits 27:28 - SOC clock sel. 0: XTAL 1: PLL 2: CK8M 3: APLL

Bit 29 - fast_clk_rtc sel. 0: XTAL div 4 1: CK8M

Bits 30:31 - slow_clk_rtc sel. 0: SLOW_CK 1: CK_XTAL_32K 2: CK8M_D256_OUT

Writes raw bits to the register.

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