Struct stm32wl::stm32wl5x_cm4::ADC
source · [−]pub struct ADC { /* private fields */ }
Expand description
Analog to digital convertor
Implementations
sourceimpl ADC
impl ADC
sourcepub const PTR: *const RegisterBlock = {0x40012400 as *const stm32wl5x_cm4::adc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40012400 as *const stm32wl5x_cm4::adc::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>
sourcepub fn chselr1(&self) -> &Reg<CHSELR1_SPEC>
pub fn chselr1(&self) -> &Reg<CHSELR1_SPEC>
0x28 - channel selection register
sourcepub fn chselr0(&self) -> &Reg<CHSELR0_SPEC>
pub fn chselr0(&self) -> &Reg<CHSELR0_SPEC>
0x28 - channel selection register
Trait Implementations
sourceimpl Deref for ADC
impl Deref for ADC
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for ADC
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more