Struct stm32_metapac::pwr::regs::Csr4
#[repr(transparent)]pub struct Csr4(pub u32);
Expand description
PWR control status register 4.
Tuple Fields§
§0: u32
Implementations§
§impl Csr4
impl Csr4
pub const fn vos(&self) -> Vos
pub const fn vos(&self) -> Vos
Voltage scaling selection according to performance These bits control the VCORE voltage level and allow to obtains the best trade-off between power consumption and performance: When increasing the performance, the voltage scaling must be changed before increasing the system frequency. When decreasing performance, the system frequency must first be decreased before changing the voltage scaling. Note: Refer to Section Electrical characteristics of the product datasheet for more details.
pub fn set_vos(&mut self, val: Vos)
pub fn set_vos(&mut self, val: Vos)
Voltage scaling selection according to performance These bits control the VCORE voltage level and allow to obtains the best trade-off between power consumption and performance: When increasing the performance, the voltage scaling must be changed before increasing the system frequency. When decreasing performance, the system frequency must first be decreased before changing the voltage scaling. Note: Refer to Section Electrical characteristics of the product datasheet for more details.
pub fn set_vosrdy(&mut self, val: bool)
pub fn set_vosrdy(&mut self, val: bool)
VOS Ready bit.
Trait Implementations§
impl Copy for Csr4
impl Eq for Csr4
impl StructuralPartialEq for Csr4
Auto Trait Implementations§
impl Freeze for Csr4
impl RefUnwindSafe for Csr4
impl Send for Csr4
impl Sync for Csr4
impl Unpin for Csr4
impl UnwindSafe for Csr4
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
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)
clone_to_uninit
)