Struct stm32wlxx_hal::pac::ADC
pub struct ADC { /* private fields */ }
Available on crate feature
stm32wl5x_cm4
only.Expand description
Analog to digital convertor
Implementations§
§impl ADC
impl ADC
pub const PTR: *const RegisterBlock = {0x40012400 as *const stm32wl::stm32wl5x_cm4::adc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40012400 as *const stm32wl::stm32wl5x_cm4::adc::RegisterBlock}
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>§
pub fn chselr1(&self) -> &Reg<CHSELR1_SPEC>
pub fn chselr1(&self) -> &Reg<CHSELR1_SPEC>
0x28 - channel selection register
pub fn chselr0(&self) -> &Reg<CHSELR0_SPEC>
pub fn chselr0(&self) -> &Reg<CHSELR0_SPEC>
0x28 - channel selection register
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more