Struct esp32_hal::pac::sens::sar_dac_ctrl1::W

pub struct W(_);
Expand description

Register SAR_DAC_CTRL1 writer

Implementations§

Bits 0:15 - frequency step for CW generator can be used to adjust the frequency

Bit 16 - 1: enable CW generator 0: disable CW generator

Bits 17:21

Bit 22 - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA

Bit 23 - 1: force PDAC_CLK to low

Bit 24 - 1: force PDAC_CLK to high

Bit 25 - 1: invert PDAC_CLK

Writes raw bits to the register.

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