Struct esp32s3_hal::pac::rtcio::pad_dac1::W

pub struct W(_);
Expand description

Register PAD_DAC1 writer

Implementations

Bits 3:10 - PDAC1_DAC

Bit 11 - PDAC1_XPD_DAC

Bit 12 - 1: use reg_pdac1_xpd_dac to control PDAC1_XPD_DAC,0: use SAR ADC FSM to control PDAC1_XPD_DAC

Bit 13 - input enable in work mode

Bit 14 - output enable in sleep mode

Bit 15 - input enable in sleep mode

Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode

Bits 17:18 - PDAC1 function sel

Bit 19 - 1: use RTC GPIO,0: use digital GPIO

Bit 27 - PDAC1_RUE

Bit 28 - PDAC1_RDE

Bits 29:30 - PDAC1_DRV

Writes raw bits to the register.

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