Struct stm32_metapac::adccommon::regs::Ccr
#[repr(transparent)]pub struct Ccr(pub u32);
Expand description
ADC common control register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Ccr
impl Ccr
pub fn set_ckmode(&mut self, val: Ckmode)
pub fn set_ckmode(&mut self, val: Ckmode)
ADC clock mode
pub fn set_vrefen(&mut self, val: bool)
pub fn set_vrefen(&mut self, val: bool)
VREFINT enable
pub fn set_vsenseen(&mut self, val: bool)
pub fn set_vsenseen(&mut self, val: bool)
Temperature sensor enable
pub fn set_vbaten(&mut self, val: bool)
pub fn set_vbaten(&mut self, val: bool)
VBAT enable
Trait Implementationsยง
impl Copy for Ccr
impl Eq for Ccr
impl StructuralEq for Ccr
impl StructuralPartialEq for Ccr
Auto Trait Implementationsยง
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