Struct esp32_hal::pac::rtcio::pad_dac2::W

pub struct W(_);
Expand description

Register PAD_DAC2 writer

Implementations§

Bit 10 - Power on DAC2. Usually we need to tristate PDAC2 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0

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 - Power on DAC2. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0

Bits 19:26 - PAD DAC2 control code.

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<PAD_DAC2_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.