#[repr(transparent)]pub struct Config(pub u32);Expand description
ADC configuration register.
Tuple Fields§
§0: u32Implementations§
Source§impl Config
impl Config
Sourcepub fn set_inpsel(&mut self, val: Inpsel)
pub fn set_inpsel(&mut self, val: Inpsel)
ADC input selection.
Sourcepub fn set_refsel(&mut self, val: Refsel)
pub fn set_refsel(&mut self, val: Refsel)
ADC reference selection.
Sourcepub fn set_extrefsel(&mut self, val: Extrefsel)
pub fn set_extrefsel(&mut self, val: Extrefsel)
ADC external reference pin selection.
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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