Struct Adc
pub struct Adc { /* private fields */ }Expand description
Analog-to-digital converter
Implementations§
§impl Adc
impl Adc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn smpr(self, n: usize) -> Reg<Smpr, RW>
pub const fn smpr(self, n: usize) -> Reg<Smpr, RW>
Sample time register. SMPR[i] holds the sample times of channels 10i to 10i+9.
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§
impl Freeze for Adc
impl RefUnwindSafe for Adc
impl Unpin for Adc
impl UnsafeUnpin for Adc
impl UnwindSafe for Adc
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