Struct esp32::rtcio::xtal_32k_pad::W

source ·
pub struct W(_);
Expand description

Register XTAL_32K_PAD writer

Implementations§

Bits 1:2 - 32K XTAL self-bias reference control.

Bits 3:4 - 32K XTAL resistor bias control.

Bit 5 - the input enable of the pad

Bit 6 - the output enable of the pad in sleep status

Bit 7 - the input enable of the pad in sleep status

Bit 8 - the sleep status selection signal of the pad

Bits 9:10 - the functional selection signal of the pad

Bit 11 - the input enable of the pad

Bit 12 - the output enable of the pad in sleep status

Bit 13 - the input enable of the pad in sleep status

Bit 14 - the sleep status selection signal of the pad

Bits 15:16 - the functional selection signal of the pad

Bit 17 - Ò1Ó select the digital function Ó0Óslection the rtc function

Bit 18 - Ò1Ó select the digital function Ó0Óslection the rtc function

Bit 19 - Power up 32kHz crystal oscillator

Bits 20:21 - 32K XTAL bias current DAC.

Bit 22 - the pull up enable of the pad

Bit 23 - the pull down enable of the pad

Bit 24 - hold the current value of the output when setting the hold to Ò1Ó

Bits 25:26 - the driver strength of the pad

Bit 27 - the pull up enable of the pad

Bit 28 - the pull down enable of the pad

Bit 29 - hold the current value of the output when setting the hold to Ò1Ó

Bits 30:31 - the driver strength of the pad

Writes raw bits to the register.

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