Struct stm32l0x2::adc::RegisterBlock [] [src]

#[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 calfact: CALFACT, pub ccr: CCR, // some fields omitted }

Register block

Fields

0x00 - interrupt and status register

0x04 - interrupt enable register

0x08 - control register

0x0c - configuration register 1

0x10 - configuration register 2

0x14 - sampling time register

0x20 - watchdog threshold register

0x28 - channel selection register

0x40 - data register

0xb4 - ADC Calibration factor

0x308 - ADC common configuration register

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock