[][src]Struct stm32f1xx_hal::device::adc2::smpr2::W

pub struct W { /* fields omitted */ }

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 smp0(&mut self) -> _SMP0W[src]

Bits 0:2 - Channel 0 sample time selection

pub fn smp1(&mut self) -> _SMP1W[src]

Bits 3:5 - Channel 1 sample time selection

pub fn smp2(&mut self) -> _SMP2W[src]

Bits 6:8 - Channel 2 sample time selection

pub fn smp3(&mut self) -> _SMP3W[src]

Bits 9:11 - Channel 3 sample time selection

pub fn smp4(&mut self) -> _SMP4W[src]

Bits 12:14 - Channel 4 sample time selection

pub fn smp5(&mut self) -> _SMP5W[src]

Bits 15:17 - Channel 5 sample time selection

pub fn smp6(&mut self) -> _SMP6W[src]

Bits 18:20 - Channel 6 sample time selection

pub fn smp7(&mut self) -> _SMP7W[src]

Bits 21:23 - Channel 7 sample time selection

pub fn smp8(&mut self) -> _SMP8W[src]

Bits 24:26 - Channel 8 sample time selection

pub fn smp9(&mut self) -> _SMP9W[src]

Bits 27:29 - Channel 9 sample time selection

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self