#[repr(transparent)]pub struct CpuCtrl(pub u32);Expand description
PGC CPU Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl CpuCtrl
impl CpuCtrl
Sourcepub const fn pcr(&self) -> CpuCtrlPcr
pub const fn pcr(&self) -> CpuCtrlPcr
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: CpuCtrlPcr)
pub const fn set_pcr(&mut self, val: CpuCtrlPcr)
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 CpuCtrl
impl Eq for CpuCtrl
impl StructuralPartialEq for CpuCtrl
Auto Trait Implementations§
impl Freeze for CpuCtrl
impl RefUnwindSafe for CpuCtrl
impl Send for CpuCtrl
impl Sync for CpuCtrl
impl Unpin for CpuCtrl
impl UnwindSafe for CpuCtrl
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