#[repr(transparent)]pub struct Cntrl2(pub u32);Expand description
SPC Regulator Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Cntrl2
impl Cntrl2
Sourcepub const fn coreldo_en(&self) -> bool
pub const fn coreldo_en(&self) -> bool
LDO_CORE Regulator Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: 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. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn sysldo_en(&self) -> bool
pub const fn sysldo_en(&self) -> bool
LDO_SYS Regulator Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: 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. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn dcdc_en(&self) -> bool
pub const fn dcdc_en(&self) -> bool
DCDC_CORE Regulator Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: 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. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Trait Implementations§
impl Copy for Cntrl2
impl Eq for Cntrl2
impl StructuralPartialEq for Cntrl2
Auto Trait Implementations§
impl Freeze for Cntrl2
impl RefUnwindSafe for Cntrl2
impl Send for Cntrl2
impl Sync for Cntrl2
impl Unpin for Cntrl2
impl UnwindSafe for Cntrl2
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