Struct stm32_metapac::pwr::regs::Vossr
#[repr(transparent)]pub struct Vossr(pub u32);
Expand description
PWR voltage scaling status register.
Tuple Fields§
§0: u32
Implementations§
§impl Vossr
impl Vossr
pub fn set_vosrdy(&mut self, val: bool)
pub fn set_vosrdy(&mut self, val: bool)
Ready bit for V_CORE voltage scaling output selection.
pub fn set_actvosrdy(&mut self, val: bool)
pub fn set_actvosrdy(&mut self, val: bool)
Voltage level ready for currently used VOS.
pub const fn actvos(&self) -> Vos
pub const fn actvos(&self) -> Vos
voltage output scaling currently applied to V_CORE This field provides the last VOS value.
pub fn set_actvos(&mut self, val: Vos)
pub fn set_actvos(&mut self, val: Vos)
voltage output scaling currently applied to V_CORE This field provides the last VOS value.
Trait Implementations§
impl Copy for Vossr
impl Eq for Vossr
impl StructuralPartialEq for Vossr
Auto Trait Implementations§
impl Freeze for Vossr
impl RefUnwindSafe for Vossr
impl Send for Vossr
impl Sync for Vossr
impl Unpin for Vossr
impl UnwindSafe for Vossr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)