Struct Ccr
#[repr(transparent)]pub struct Ccr(pub u32);Expand description
ADC common control register
Tuple Fields§
§0: u32Implementations§
§impl Ccr
impl Ccr
pub const fn set_dmacfg(&mut self, val: Dmacfg)
pub const fn set_dmacfg(&mut self, val: Dmacfg)
Direct memory access configuration
pub const fn set_ckmode(&mut self, val: u8)
pub const fn set_ckmode(&mut self, val: u8)
ADC clock mode
pub const fn set_vrefen(&mut self, val: bool)
pub const fn set_vrefen(&mut self, val: bool)
VREFINT enable
pub const fn set_ch18sel(&mut self, val: bool)
pub const fn set_ch18sel(&mut self, val: bool)
CH18 selection (Vbat)
pub const fn set_ch17sel(&mut self, val: bool)
pub const fn set_ch17sel(&mut self, val: bool)
CH17 selection (temperature)
Trait Implementations§
impl Copy for Ccr
impl Eq for Ccr
impl StructuralPartialEq for Ccr
Auto Trait Implementations§
impl Freeze for Ccr
impl RefUnwindSafe for Ccr
impl Send for Ccr
impl Sync for Ccr
impl Unpin for Ccr
impl UnwindSafe for Ccr
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