#[repr(transparent)]pub struct Ctrl(pub u32);Expand description
PMC control register
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn applycfg(&self) -> Applycfg
pub const fn applycfg(&self) -> Applycfg
Apply updated PMC PDRUNCFG bits (SRAM power gates, RBB, FBB, LVD, and HVD control bits) and/or RUNCTRL setting
Sourcepub const fn set_applycfg(&mut self, val: Applycfg)
pub const fn set_applycfg(&mut self, val: Applycfg)
Apply updated PMC PDRUNCFG bits (SRAM power gates, RBB, FBB, LVD, and HVD control bits) and/or RUNCTRL setting
Sourcepub const fn set_lvdcoreie(&mut self, val: Lvdcoreie)
pub const fn set_lvdcoreie(&mut self, val: Lvdcoreie)
vddcore Low-Voltage Detector Interrupt Enable
Sourcepub const fn set_lvdcorere(&mut self, val: Lvdcorere)
pub const fn set_lvdcorere(&mut self, val: Lvdcorere)
vddcore Low-Voltage Detector Reset Enable
Sourcepub const fn set_hvdcoreie(&mut self, val: Hvdcoreie)
pub const fn set_hvdcoreie(&mut self, val: Hvdcoreie)
vddcore High-Voltage Detector Interrupt Enable
Sourcepub const fn set_hvdcorere(&mut self, val: Hvdcorere)
pub const fn set_hvdcorere(&mut self, val: Hvdcorere)
vddcore High-Voltage Detector Reset Enable
Sourcepub const fn set_hvd1v8ie(&mut self, val: Hvd1v8ie)
pub const fn set_hvd1v8ie(&mut self, val: Hvd1v8ie)
vdd1v8 High-Voltage Detector Interrupt Enable
Sourcepub const fn set_hvd1v8re(&mut self, val: Hvd1v8re)
pub const fn set_hvd1v8re(&mut self, val: Hvd1v8re)
vdd1v8 High-Voltage Detector Reset Enable
Sourcepub const fn set_autowken(&mut self, val: Autowken)
pub const fn set_autowken(&mut self, val: Autowken)
PMC automatic wakeup enable and interrupt enable
Sourcepub const fn set_intrpaden(&mut self, val: Intrpaden)
pub const fn set_intrpaden(&mut self, val: Intrpaden)
PMIC interrupt pin enable
Trait Implementations§
impl Copy for Ctrl
impl Eq for Ctrl
impl StructuralPartialEq for Ctrl
Auto Trait Implementations§
impl Freeze for Ctrl
impl RefUnwindSafe for Ctrl
impl Send for Ctrl
impl Sync for Ctrl
impl Unpin for Ctrl
impl UnwindSafe for Ctrl
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