#[repr(transparent)]pub struct VdSysCfg(pub u32);Expand description
System Voltage Detect Configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl VdSysCfg
impl VdSysCfg
Sourcepub const fn lvsel(&self) -> bool
pub const fn lvsel(&self) -> bool
System Low-Voltage Level Select. Raw bit values: false (0) = Normal: Normal.; true (1) = Safe: Safe.
Sourcepub const fn set_lvsel(&mut self, val: bool)
pub const fn set_lvsel(&mut self, val: bool)
System Low-Voltage Level Select. Raw bit values: false (0) = Normal: Normal.; true (1) = Safe: Safe.
Trait Implementations§
impl Copy for VdSysCfg
impl Eq for VdSysCfg
impl StructuralPartialEq for VdSysCfg
Auto Trait Implementations§
impl Freeze for VdSysCfg
impl RefUnwindSafe for VdSysCfg
impl Send for VdSysCfg
impl Sync for VdSysCfg
impl Unpin for VdSysCfg
impl UnwindSafe for VdSysCfg
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
Mutably borrows from an owned value. Read more