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.