#[repr(transparent)]pub struct Cntrl(pub u32);Expand description
SPC Regulator Control
Tuple Fields§
§0: u32Implementations§
Source§impl Cntrl
impl Cntrl
Sourcepub const fn coreldo_en(&self) -> bool
pub const fn coreldo_en(&self) -> bool
LDO_CORE Regulator Enable
Sourcepub const fn set_coreldo_en(&mut self, val: bool)
pub const fn set_coreldo_en(&mut self, val: bool)
LDO_CORE Regulator Enable
Sourcepub const fn set_sysldo_en(&mut self, val: bool)
pub const fn set_sysldo_en(&mut self, val: bool)
LDO_SYS Regulator Enable
Sourcepub const fn set_dcdc_en(&mut self, val: bool)
pub const fn set_dcdc_en(&mut self, val: bool)
DCDC_CORE Regulator Enable
Trait Implementations§
impl Copy for Cntrl
impl Eq for Cntrl
impl StructuralPartialEq for Cntrl
Auto Trait Implementations§
impl Freeze for Cntrl
impl RefUnwindSafe for Cntrl
impl Send for Cntrl
impl Sync for Cntrl
impl Unpin for Cntrl
impl UnwindSafe for Cntrl
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