#[repr(transparent)]pub struct Cpuctrl(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Cpuctrl
impl Cpuctrl
Sourcepub const fn cpu1clken(&self) -> bool
pub const fn cpu1clken(&self) -> bool
Enables the CPU1 clock. Raw bit values: false (0) = Disable: The CPU1 clock is not enabled.; true (1) = Enable: The CPU1 clock is enabled.
Sourcepub const fn set_cpu1clken(&mut self, val: bool)
pub const fn set_cpu1clken(&mut self, val: bool)
Enables the CPU1 clock. Raw bit values: false (0) = Disable: The CPU1 clock is not enabled.; true (1) = Enable: The CPU1 clock is enabled.
Sourcepub const fn cpu1rsten(&self) -> bool
pub const fn cpu1rsten(&self) -> bool
CPU1 reset. Raw bit values: false (0) = Released: The CPU1 is not reset.; true (1) = Asserted: The CPU1 is reset.
Sourcepub const fn set_cpu1rsten(&mut self, val: bool)
pub const fn set_cpu1rsten(&mut self, val: bool)
CPU1 reset. Raw bit values: false (0) = Released: The CPU1 is not reset.; true (1) = Asserted: The CPU1 is reset.
Sourcepub const fn prot(&self) -> CpuctrlProt
pub const fn prot(&self) -> CpuctrlProt
Write Protect.
Sourcepub const fn set_prot(&mut self, val: CpuctrlProt)
pub const fn set_prot(&mut self, val: CpuctrlProt)
Write Protect.
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