Struct stm32_metapac::adc::Adc
pub struct Adc { /* private fields */ }
Expand description
ADC.
Implementations§
§impl Adc
impl Adc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn chselrmod0(self) -> Reg<Chselrmod0, RW>
pub const fn chselrmod0(self) -> Reg<Chselrmod0, RW>
ADC channel selection register [alternate].
pub const fn chselrmod1(self) -> Reg<Chselrmod1, RW>
pub const fn chselrmod1(self) -> Reg<Chselrmod1, RW>
ADC channel selection register [alternate].
Trait Implementations§
impl Copy for Adc
impl Eq for Adc
impl Send for Adc
impl StructuralPartialEq for Adc
impl Sync for Adc
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)