Struct stm32g0::stm32g031::adc::RegisterBlock [−][src]
Register block
Fields
isr: ISR
0x00 - ADC interrupt and status register
ier: IER
0x04 - ADC interrupt enable register
cr: CR
0x08 - ADC control register
cfgr1: CFGR1
0x0c - ADC configuration register 1
cfgr2: CFGR2
0x10 - ADC configuration register 2
smpr: SMPR
0x14 - ADC sampling time register
awd1tr: AWD1TR
0x20 - watchdog threshold register
awd2tr: AWD2TR
0x24 - watchdog threshold register
awd3tr: AWD3TR
0x2c - watchdog threshold register
dr: DR
0x40 - ADC group regular conversion data register
awd2cr: AWD2CR
0xa0 - ADC analog watchdog 2 configuration register
awd3cr: AWD3CR
0xa4 - ADC analog watchdog 3 configuration register
calfact: CALFACT
0xb4 - ADC calibration factors register
ccr: CCR
0x308 - ADC common control register
Implementations
impl RegisterBlock
[src]
pub fn chselr_1(&self) -> &CHSELR_1
[src]
0x28 - channel selection register CHSELRMOD = 1 in ADC_CFGR1
pub fn chselr_1_mut(&self) -> &mut CHSELR_1
[src]
0x28 - channel selection register CHSELRMOD = 1 in ADC_CFGR1
pub fn chselr(&self) -> &CHSELR
[src]
0x28 - channel selection register
pub fn chselr_mut(&self) -> &mut CHSELR
[src]
0x28 - channel selection register
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,