[−]Struct nucleo_f401re::stm32::adc1::cr2::R
Value read from the register
Methods
impl R
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn swstart(&self) -> SWSTARTR
Bit 30 - Start conversion of regular channels
pub fn exten(&self) -> EXTENR
Bits 28:29 - External trigger enable for regular channels
pub fn extsel(&self) -> EXTSELR
Bits 24:27 - External event select for regular group
pub fn jswstart(&self) -> JSWSTARTR
Bit 22 - Start conversion of injected channels
pub fn jexten(&self) -> JEXTENR
Bits 20:21 - External trigger enable for injected channels
pub fn jextsel(&self) -> JEXTSELR
Bits 16:19 - External event select for injected group
pub fn align(&self) -> ALIGNR
Bit 11 - Data alignment
pub fn eocs(&self) -> EOCSR
Bit 10 - End of conversion selection
pub fn dds(&self) -> DDSR
Bit 9 - DMA disable selection (for single ADC mode)
pub fn dma(&self) -> DMAR
Bit 8 - Direct memory access mode (for single ADC mode)
pub fn cont(&self) -> CONTR
Bit 1 - Continuous conversion
pub fn adon(&self) -> ADONR
Bit 0 - A/D Converter ON / OFF
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self