Struct Svmsr
#[repr(transparent)]pub struct Svmsr(pub u32);Expand description
PWR supply voltage monitoring status register.
Tuple Fields§
§0: u32Implementations§
§impl Svmsr
impl Svmsr
pub const fn pvdo(&self) -> Pvdo
pub const fn pvdo(&self) -> Pvdo
None 0: VDD is equal or above the PVD threshold selected by PVDLS[2:0]. 1: VDD is below the PVD threshold selected by PVDLS[2:0].
pub fn set_pvdo(&mut self, val: Pvdo)
pub fn set_pvdo(&mut self, val: Pvdo)
None 0: VDD is equal or above the PVD threshold selected by PVDLS[2:0]. 1: VDD is below the PVD threshold selected by PVDLS[2:0].
pub const fn vddusbrdy(&self) -> bool
pub const fn vddusbrdy(&self) -> bool
None 0: VDDUSB is below the threshold of the VDDUSB voltage monitor. 1: VDDUSB is equal or above the threshold of the VDDUSB voltage monitor.
pub fn set_vddusbrdy(&mut self, val: bool)
pub fn set_vddusbrdy(&mut self, val: bool)
None 0: VDDUSB is below the threshold of the VDDUSB voltage monitor. 1: VDDUSB is equal or above the threshold of the VDDUSB voltage monitor.
pub const fn vddio2rdy(&self) -> bool
pub const fn vddio2rdy(&self) -> bool
None 0: VDDIO2 is below the threshold of the VDDIO2 voltage monitor. 1: VDDIO2 is equal or above the threshold of the VDDIO2 voltage monitor.
pub fn set_vddio2rdy(&mut self, val: bool)
pub fn set_vddio2rdy(&mut self, val: bool)
None 0: VDDIO2 is below the threshold of the VDDIO2 voltage monitor. 1: VDDIO2 is equal or above the threshold of the VDDIO2 voltage monitor.
pub const fn vdda1rdy(&self) -> bool
pub const fn vdda1rdy(&self) -> bool
None 0: VDDA is below the threshold of the VDDA voltage monitor 1 (around 1.6V). 1: VDDA is equal or above the threshold of the VDDA voltage monitor 1 (around 1.6V).
pub fn set_vdda1rdy(&mut self, val: bool)
pub fn set_vdda1rdy(&mut self, val: bool)
None 0: VDDA is below the threshold of the VDDA voltage monitor 1 (around 1.6V). 1: VDDA is equal or above the threshold of the VDDA voltage monitor 1 (around 1.6V).
pub const fn vdda2rdy(&self) -> bool
pub const fn vdda2rdy(&self) -> bool
None 0: VDDA is below the threshold of the VDDA voltage monitor 2 (around 1.8V). 1: VDDA is equal or above the threshold of the VDDA voltage monitor 2 (around 1.8V).
pub fn set_vdda2rdy(&mut self, val: bool)
pub fn set_vdda2rdy(&mut self, val: bool)
None 0: VDDA is below the threshold of the VDDA voltage monitor 2 (around 1.8V). 1: VDDA is equal or above the threshold of the VDDA voltage monitor 2 (around 1.8V).