pub struct W(_);
Expand description

Register APB_SARADC_CTRL writer

Implementations

Bit 0

Bit 1

Bit 2 - 1: SAR ADC2 is controlled by DIG ADC2 CTRL 0: SAR ADC2 is controlled by PWDET CTRL

Bits 3:4 - 0: single mode 1: double mode 2: alternate mode

Bit 5 - 0: SAR1 1: SAR2 only work for single SAR mode

Bit 6

Bits 7:14 - SAR clock divider

Bits 15:18 - 0 ~ 15 means length 1 ~ 16

Bits 19:22 - 0 ~ 15 means length 1 ~ 16

Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL

Bit 24 - clear the pointer of pattern table for DIG ADC2 CTRL

Bit 25 - 1: sar_sel will be coded by the MSB of the 16-bit output data in this case the resolution should not be larger than 11 bits.

Bit 26 - 1: I2S input data is from SAR ADC (for DMA) 0: I2S input data is from GPIO matrix

Writes raw bits to the register.

Methods from Deref<Target = W<APB_SARADC_CTRL_SPEC>>

Writes raw bits to the register.

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.