Struct D3cr
#[repr(transparent)]pub struct D3cr(pub u32);Expand description
This register allows controlling D3 domain power. Reset value is 0x0000 4000 after power up, and 0x0000 6000 when the regulator is correctly configured and for subsequent resets.
Tuple Fields§
§0: u32Implementations§
§impl D3cr
impl D3cr
pub const fn vosrdy(&self) -> bool
pub const fn vosrdy(&self) -> bool
VOS Ready bit for VCORE voltage scaling output selection. This bit is set to 1 by hardware when Bypass mode is selected in PWR control register 3 (PWR_CR3).
pub const fn set_vosrdy(&mut self, val: bool)
pub const fn set_vosrdy(&mut self, val: bool)
VOS Ready bit for VCORE voltage scaling output selection. This bit is set to 1 by hardware when Bypass mode is selected in PWR control register 3 (PWR_CR3).
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 shall be changed before increasing the system frequency. When decreasing performance, the system frequency shall first be decreased before changing the voltage scaling.
pub const fn set_vos(&mut self, val: Vos)
pub const 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 shall be changed before increasing the system frequency. When decreasing performance, the system frequency shall first be decreased before changing the voltage scaling.