[−]Struct nucleo_f401re::stm32::adc1::cr1::W
Value to write to the register
Methods
impl W
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut W
Writes raw bits to the register
pub fn ovrie(&mut self) -> _OVRIEW
Bit 26 - Overrun interrupt enable
pub fn res(&mut self) -> _RESW
Bits 24:25 - Resolution
pub fn awden(&mut self) -> _AWDENW
Bit 23 - Analog watchdog enable on regular channels
pub fn jawden(&mut self) -> _JAWDENW
Bit 22 - Analog watchdog enable on injected channels
pub fn discnum(&mut self) -> _DISCNUMW
Bits 13:15 - Discontinuous mode channel count
pub fn jdiscen(&mut self) -> _JDISCENW
Bit 12 - Discontinuous mode on injected channels
pub fn discen(&mut self) -> _DISCENW
Bit 11 - Discontinuous mode on regular channels
pub fn jauto(&mut self) -> _JAUTOW
Bit 10 - Automatic injected group conversion
pub fn awdsgl(&mut self) -> _AWDSGLW
Bit 9 - Enable the watchdog on a single channel in scan mode
pub fn scan(&mut self) -> _SCANW
Bit 8 - Scan mode
pub fn jeocie(&mut self) -> _JEOCIEW
Bit 7 - Interrupt enable for injected channels
pub fn awdie(&mut self) -> _AWDIEW
Bit 6 - Analog watchdog interrupt enable
pub fn eocie(&mut self) -> _EOCIEW
Bit 5 - Interrupt enable for EOC
pub fn awdch(&mut self) -> _AWDCHW
Bits 0:4 - Analog watchdog channel select bits
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