[−][src]Struct stm32l0xx_hal::stm32::adc::cfgr1::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn awdch(&self) -> AWDCHR
[src]
Bits 26:30 - Analog watchdog channel selection
pub fn awden(&self) -> AWDENR
[src]
Bit 23 - Analog watchdog enable
pub fn awdsgl(&self) -> AWDSGLR
[src]
Bit 22 - Enable the watchdog on a single channel or on all channels
pub fn discen(&self) -> DISCENR
[src]
Bit 16 - Discontinuous mode
pub fn autoff(&self) -> AUTOFFR
[src]
Bit 15 - Auto-off mode
pub fn wait(&self) -> WAITR
[src]
Bit 14 - Auto-delayed conversion mode
pub fn cont(&self) -> CONTR
[src]
Bit 13 - Single / continuous conversion mode
pub fn ovrmod(&self) -> OVRMODR
[src]
Bit 12 - Overrun management mode
pub fn exten(&self) -> EXTENR
[src]
Bits 10:11 - External trigger enable and polarity selection
pub fn extsel(&self) -> EXTSELR
[src]
Bits 6:8 - External trigger selection
pub fn align(&self) -> ALIGNR
[src]
Bit 5 - Data alignment
pub fn res(&self) -> RESR
[src]
Bits 3:4 - Data resolution
pub fn scandir(&self) -> SCANDIRR
[src]
Bit 2 - Scan sequence direction
pub fn dmacfg(&self) -> DMACFGR
[src]
Bit 1 - Direct memery access configuration
pub fn dmaen(&self) -> DMAENR
[src]
Bit 0 - Direct memory access enable
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> 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<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> 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<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> 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<T> for T
type Output = T
Should always be Self