#[repr(transparent)]pub struct VregSts(pub u32);
Expand description
Voltage Regulator Status
Tuple Fields§
§0: u32
Implementations§
source§impl VregSts
impl VregSts
sourcepub fn set_startup(&mut self, val: bool)
pub fn set_startup(&mut self, val: bool)
startup status 0=startup complete, 1=starting up
sourcepub const fn vout_ok(&self) -> bool
pub const fn vout_ok(&self) -> bool
output regulation status 0=not in regulation, 1=in regulation
sourcepub fn set_vout_ok(&mut self, val: bool)
pub fn set_vout_ok(&mut self, val: bool)
output regulation status 0=not in regulation, 1=in regulation
Trait Implementations§
impl Copy for VregSts
impl Eq for VregSts
impl StructuralPartialEq for VregSts
Auto Trait Implementations§
impl Freeze for VregSts
impl RefUnwindSafe for VregSts
impl Send for VregSts
impl Sync for VregSts
impl Unpin for VregSts
impl UnwindSafe for VregSts
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)