Struct esp32s2::apb_saradc::ctrl2::R

source ·
pub struct R(_);
Expand description

Register CTRL2 reader

Implementations§

Bit 0 - Enable limit times of SAR ADC sample.

Bits 1:8 - Set maximum conversion number.

Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not.

Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not.

Bit 11 - 1: select saradc timer 0: i2s_ws trigger

Bits 12:23 - Set SAR ADC timer target.

Bit 24 - Enable SAR ADC timer trigger.

Methods from Deref<Target = R<CTRL2_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
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.