pub struct ADC2 { /* private fields */ }
Expand description
Analog-to-digital converter
Implementations
impl ADC2
impl ADC2
pub const PTR: *const RegisterBlock = {0x40012100 as *const stm32f4xx_hal::pac::adc1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40012100 as *const stm32f4xx_hal::pac::adc1::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
Trait Implementations
sourceimpl Enable for ADC2
impl Enable for ADC2
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
sourceimpl LPEnable for ADC2
impl LPEnable for ADC2
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
sourceimpl PeriAddress for ADC2
impl PeriAddress for ADC2
impl DMASet<StreamX<DMA2, 2>, 1, PeripheralToMemory> for ADC2
impl DMASet<StreamX<DMA2, 3>, 1, PeripheralToMemory> for ADC2
impl Send for ADC2
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