#[repr(transparent)]pub struct MegaCtrl(pub u32);Expand description
PGC Mega Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl MegaCtrl
impl MegaCtrl
Sourcepub const fn pcr(&self) -> MegaCtrlPcr
pub const fn pcr(&self) -> MegaCtrlPcr
Power Control PCR must not change from power-down request (pdn_req) assertion until the target subsystem is completely powered up
Sourcepub const fn set_pcr(&mut self, val: MegaCtrlPcr)
pub const fn set_pcr(&mut self, val: MegaCtrlPcr)
Power Control PCR must not change from power-down request (pdn_req) assertion until the target subsystem is completely powered up
Trait Implementations§
impl Copy for MegaCtrl
impl Eq for MegaCtrl
impl StructuralPartialEq for MegaCtrl
Auto Trait Implementations§
impl Freeze for MegaCtrl
impl RefUnwindSafe for MegaCtrl
impl Send for MegaCtrl
impl Sync for MegaCtrl
impl Unpin for MegaCtrl
impl UnwindSafe for MegaCtrl
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