Struct stm32_metapac::pwr::regs::Csr1
#[repr(transparent)]pub struct Csr1(pub u32);
Expand description
power control/status register
Tuple Fields§
§0: u32
Implementations§
§impl Csr1
impl Csr1
pub const fn vosrdy(&self) -> bool
pub const fn vosrdy(&self) -> bool
Regulator voltage scaling output selection ready bit (STM32F4[23] ONLY)
pub fn set_vosrdy(&mut self, val: bool)
pub fn set_vosrdy(&mut self, val: bool)
Regulator voltage scaling output selection ready bit (STM32F4[23] ONLY)
pub fn set_odswrdy(&mut self, val: bool)
pub fn set_odswrdy(&mut self, val: bool)
Over-drive mode switching ready (STM32F4[23] ONLY)
Trait Implementations§
impl Copy for Csr1
impl Eq for Csr1
impl StructuralEq for Csr1
impl StructuralPartialEq for Csr1
Auto Trait Implementations§
impl RefUnwindSafe for Csr1
impl Send for Csr1
impl Sync for Csr1
impl Unpin for Csr1
impl UnwindSafe for Csr1
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