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) -> bool
pub const fn pvdo(&self) -> bool
Programmable voltage detector output. 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 set_pvdo(&mut self, val: bool)
pub const fn set_pvdo(&mut self, val: bool)
Programmable voltage detector output. 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
VDDUSB ready. 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 set_vddusbrdy(&mut self, val: bool)
pub const fn set_vddusbrdy(&mut self, val: bool)
VDDUSB ready. 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
VDDIO2 ready. 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 set_vddio2rdy(&mut self, val: bool)
pub const fn set_vddio2rdy(&mut self, val: bool)
VDDIO2 ready. 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
VDDA ready versus 1.6 V voltage monitor. 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 set_vdda1rdy(&mut self, val: bool)
pub const fn set_vdda1rdy(&mut self, val: bool)
VDDA ready versus 1.6 V voltage monitor. 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
VDDA ready versus 1.8 V voltage monitor. 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 const fn set_vdda2rdy(&mut self, val: bool)
pub const fn set_vdda2rdy(&mut self, val: bool)
VDDA ready versus 1.8 V voltage monitor. 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).