#[repr(transparent)]pub struct Cfg(pub u32);Expand description
ADC Configuration Register
Tuple Fields§
§0: u32Implementations§
Source§impl Cfg
impl Cfg
Sourcepub const fn set_tprictrl(&mut self, val: Tprictrl)
pub const fn set_tprictrl(&mut self, val: Tprictrl)
ADC trigger priority control
Sourcepub const fn set_pwrsel(&mut self, val: Pwrsel)
pub const fn set_pwrsel(&mut self, val: Pwrsel)
Power Configuration Select
Sourcepub const fn set_refsel(&mut self, val: Refsel)
pub const fn set_refsel(&mut self, val: Refsel)
Voltage Reference Selection
Sourcepub const fn set_tcmdres(&mut self, val: Tcmdres)
pub const fn set_tcmdres(&mut self, val: Tcmdres)
Trigger Command Resume
Sourcepub const fn set_hpt_exdi(&mut self, val: HptExdi)
pub const fn set_hpt_exdi(&mut self, val: HptExdi)
High Priority Trigger Exception Disable
Trait Implementations§
impl Copy for Cfg
impl Eq for Cfg
impl StructuralPartialEq for Cfg
Auto Trait Implementations§
impl Freeze for Cfg
impl RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnwindSafe for Cfg
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