Struct gd32f1::gd32f190::adc::ctl0::R[][src]

pub struct R(_);
Expand description

Register CTL0 reader

Implementations

Bits 24:25 - ADC resolution

Bit 23 - Regular channel analog watchdog enable

Bit 22 - Inserted channel analog watchdog enable

Bits 13:15 - Number of conversions in discontinuous mode

Bit 12 - Discontinuous mode on injected channels

Bit 11 - Discontinuous mode on regular channels

Bit 10 - Inserted channel group convert automatically

Bit 9 - When in scan mode, analog watchdog is effective on a single channel

Bit 8 - Scan mode

Bit 7 - Interrupt enable for EOIC

Bit 6 - Interrupt enable for WDE

Bit 5 - Interrupt enable for EOC

Bits 0:4 - Analog watchdog channel select

Methods from Deref<Target = R<CTL0_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.