#[repr(transparent)]pub struct Ldocsr(pub u32);Expand description
LDO Control and Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Ldocsr
impl Ldocsr
Sourcepub const fn set_vout_sel(&mut self, val: VoutSel)
pub const fn set_vout_sel(&mut self, val: VoutSel)
LDO output voltage select
Sourcepub const fn set_ldobypass(&mut self, val: bool)
pub const fn set_ldobypass(&mut self, val: bool)
LDO Bypass
Sourcepub const fn set_vout_ok(&mut self, val: bool)
pub const fn set_vout_ok(&mut self, val: bool)
LDO VOUT OK Inform.
Trait Implementations§
impl Copy for Ldocsr
impl Eq for Ldocsr
impl StructuralPartialEq for Ldocsr
Auto Trait Implementations§
impl Freeze for Ldocsr
impl RefUnwindSafe for Ldocsr
impl Send for Ldocsr
impl Sync for Ldocsr
impl Unpin for Ldocsr
impl UnwindSafe for Ldocsr
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