Struct stm32f1xx_hal::pac::adc2::cr1::R

source ·
pub struct R(_);
Expand description

Register CR1 reader

Implementations§

Bit 23 - Analog watchdog enable on regular channels

Bit 22 - Analog watchdog enable on injected channels

Bits 13:15 - Discontinuous mode channel count

Bit 12 - Discontinuous mode on injected channels

Bit 11 - Discontinuous mode on regular channels

Bit 10 - Automatic injected group conversion

Bit 9 - Enable the watchdog on a single channel in scan mode

Bit 8 - Scan mode

Bit 7 - Interrupt enable for injected channels

Bit 6 - Analog watchdog interrupt enable

Bit 5 - Interrupt enable for EOC

Bits 0:4 - Analog watchdog channel select bits

Methods from Deref<Target = R<CR1_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.