[−][src]Struct stm32f4xx_hal::stm32::adc1::cr2::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut W
[src]
Writes raw bits to the register
pub fn swstart(&mut self) -> _SWSTARTW
[src]
Bit 30 - Start conversion of regular channels
pub fn exten(&mut self) -> _EXTENW
[src]
Bits 28:29 - External trigger enable for regular channels
pub fn extsel(&mut self) -> _EXTSELW
[src]
Bits 24:27 - External event select for regular group
pub fn jswstart(&mut self) -> _JSWSTARTW
[src]
Bit 22 - Start conversion of injected channels
pub fn jexten(&mut self) -> _JEXTENW
[src]
Bits 20:21 - External trigger enable for injected channels
pub fn jextsel(&mut self) -> _JEXTSELW
[src]
Bits 16:19 - External event select for injected group
pub fn align(&mut self) -> _ALIGNW
[src]
Bit 11 - Data alignment
pub fn eocs(&mut self) -> _EOCSW
[src]
Bit 10 - End of conversion selection
pub fn dds(&mut self) -> _DDSW
[src]
Bit 9 - DMA disable selection (for single ADC mode)
pub fn dma(&mut self) -> _DMAW
[src]
Bit 8 - Direct memory access mode (for single ADC mode)
pub fn cont(&mut self) -> _CONTW
[src]
Bit 1 - Continuous conversion
pub fn adon(&mut self) -> _ADONW
[src]
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> 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, U> Into for T where
U: From<T>,
[src]
U: From<T>,
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