Struct stm32f0xx_hal::pac::adc::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock { pub isr: Reg<ISR_SPEC>, pub ier: Reg<IER_SPEC>, pub cr: Reg<CR_SPEC>, pub cfgr1: Reg<CFGR1_SPEC>, pub cfgr2: Reg<CFGR2_SPEC>, pub smpr: Reg<SMPR_SPEC>, pub tr: Reg<TR_SPEC>, pub chselr: Reg<CHSELR_SPEC>, pub dr: Reg<DR_SPEC>, pub ccr: Reg<CCR_SPEC>, // some fields omitted }
Expand description

Register block

Fields

isr: Reg<ISR_SPEC>

0x00 - interrupt and status register

ier: Reg<IER_SPEC>

0x04 - interrupt enable register

cr: Reg<CR_SPEC>

0x08 - control register

cfgr1: Reg<CFGR1_SPEC>

0x0c - configuration register 1

cfgr2: Reg<CFGR2_SPEC>

0x10 - configuration register 2

smpr: Reg<SMPR_SPEC>

0x14 - sampling time register

tr: Reg<TR_SPEC>

0x20 - watchdog threshold register

chselr: Reg<CHSELR_SPEC>

0x28 - channel selection register

dr: Reg<DR_SPEC>

0x40 - data register

ccr: Reg<CCR_SPEC>

0x308 - common configuration register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.