[]Struct nucleo_f042k6::stm32::adc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub isr: ISR,
    pub ier: IER,
    pub cr: CR,
    pub cfgr1: CFGR1,
    pub cfgr2: CFGR2,
    pub smpr: SMPR,
    pub tr: TR,
    pub chselr: CHSELR,
    pub dr: DR,
    pub ccr: CCR,
    // some fields omitted
}

Register block

Fields

isr: ISR

0x00 - interrupt and status register

ier: IER

0x04 - interrupt enable register

cr: CR

0x08 - control register

cfgr1: CFGR1

0x0c - configuration register 1

cfgr2: CFGR2

0x10 - configuration register 2

smpr: SMPR

0x14 - sampling time register

tr: TR

0x20 - watchdog threshold register

chselr: CHSELR

0x28 - channel selection register

dr: DR

0x40 - data register

ccr: CCR

0x308 - common configuration register

Auto Trait Implementations

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self