Struct stm32_metapac::pwr::regs::Cr1
#[repr(transparent)]pub struct Cr1(pub u32);
Expand description
power control register
Tuple Fields§
§0: u32
Implementations§
§impl Cr1
impl Cr1
pub fn set_adcdc1(&mut self, val: bool)
pub fn set_adcdc1(&mut self, val: bool)
ADCDC1
pub fn set_odswen(&mut self, val: bool)
pub fn set_odswen(&mut self, val: bool)
Over-drive switching enabled
Trait Implementations§
impl Copy for Cr1
impl Eq for Cr1
impl StructuralEq for Cr1
impl StructuralPartialEq for Cr1
Auto Trait Implementations§
impl RefUnwindSafe for Cr1
impl Send for Cr1
impl Sync for Cr1
impl Unpin for Cr1
impl UnwindSafe for Cr1
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