[]Struct stm32f407g_disc::stm32::adc1::smpr2::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn smp9(&self) -> SMP9R

Bits 27:29 - Channel 9 sampling time selection

pub fn smp8(&self) -> SMP9R

Bits 24:26 - Channel 8 sampling time selection

pub fn smp7(&self) -> SMP9R

Bits 21:23 - Channel 7 sampling time selection

pub fn smp6(&self) -> SMP9R

Bits 18:20 - Channel 6 sampling time selection

pub fn smp5(&self) -> SMP9R

Bits 15:17 - Channel 5 sampling time selection

pub fn smp4(&self) -> SMP9R

Bits 12:14 - Channel 4 sampling time selection

pub fn smp3(&self) -> SMP9R

Bits 9:11 - Channel 3 sampling time selection

pub fn smp2(&self) -> SMP9R

Bits 6:8 - Channel 2 sampling time selection

pub fn smp1(&self) -> SMP9R

Bits 3:5 - Channel 1 sampling time selection

pub fn smp0(&self) -> SMP9R

Bits 0:2 - Channel 0 sampling time selection

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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, 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]