[−]Struct nucleo_f042k6::adc::cfgr1::W
Value to write to the register
Methods
impl W
pub unsafe fn bits(&mut self, bits: u32) -> &mut W
Writes raw bits to the register
pub fn awdch(&mut self) -> _AWDCHW
Bits 26:30 - Analog watchdog channel selection
pub fn awden(&mut self) -> _AWDENW
Bit 23 - Analog watchdog enable
pub fn awdsgl(&mut self) -> _AWDSGLW
Bit 22 - Enable the watchdog on a single channel or on all channels
pub fn discen(&mut self) -> _DISCENW
Bit 16 - Discontinuous mode
pub fn autoff(&mut self) -> _AUTOFFW
Bit 15 - Auto-off mode
pub fn autdly(&mut self) -> _AUTDLYW
Bit 14 - Auto-delayed conversion mode
pub fn cont(&mut self) -> _CONTW
Bit 13 - Single / continuous conversion mode
pub fn ovrmod(&mut self) -> _OVRMODW
Bit 12 - Overrun management mode
pub fn exten(&mut self) -> _EXTENW
Bits 10:11 - External trigger enable and polarity selection
pub fn extsel(&mut self) -> _EXTSELW
Bits 6:8 - External trigger selection
pub fn align(&mut self) -> _ALIGNW
Bit 5 - Data alignment
pub fn res(&mut self) -> _RESW
Bits 3:4 - Data resolution
pub fn scandir(&mut self) -> _SCANDIRW
Bit 2 - Scan sequence direction
pub fn dmacfg(&mut self) -> _DMACFGW
Bit 1 - Direct memery access configuration
pub fn dmaen(&mut self) -> _DMAENW
Bit 0 - Direct memory access enable
pub fn wait(&mut self) -> _WAITW
Bit 14 - Wait conversion mode
Auto Trait Implementations
Blanket Implementations
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> From<T> for T
[src]
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