[][src]Struct stm32l0xx_hal::device::adc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub isr: Reg<u32, _ISR>,
    pub ier: Reg<u32, _IER>,
    pub cr: Reg<u32, _CR>,
    pub cfgr1: Reg<u32, _CFGR1>,
    pub cfgr2: Reg<u32, _CFGR2>,
    pub smpr: Reg<u32, _SMPR>,
    pub tr: Reg<u32, _TR>,
    pub chselr: Reg<u32, _CHSELR>,
    pub dr: Reg<u32, _DR>,
    pub calfact: Reg<u32, _CALFACT>,
    pub ccr: Reg<u32, _CCR>,
    // some fields omitted
}

Register block

Fields

isr: Reg<u32, _ISR>

0x00 - interrupt and status register

ier: Reg<u32, _IER>

0x04 - interrupt enable register

cr: Reg<u32, _CR>

0x08 - control register

cfgr1: Reg<u32, _CFGR1>

0x0c - configuration register 1

cfgr2: Reg<u32, _CFGR2>

0x10 - configuration register 2

smpr: Reg<u32, _SMPR>

0x14 - sampling time register

tr: Reg<u32, _TR>

0x20 - watchdog threshold register

chselr: Reg<u32, _CHSELR>

0x28 - channel selection register

dr: Reg<u32, _DR>

0x40 - data register

calfact: Reg<u32, _CALFACT>

0xb4 - ADC Calibration factor

ccr: Reg<u32, _CCR>

0x308 - ADC common configuration register

Auto Trait Implementations

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<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