#[repr(transparent)]pub struct Cpucfg(pub u32);Expand description
CPUs configuration register
Tuple Fields§
§0: u32Implementations§
Source§impl Cpucfg
impl Cpucfg
Sourcepub const fn cpu1enable(&self) -> bool
pub const fn cpu1enable(&self) -> bool
Enable CPU1.
Sourcepub const fn set_cpu1enable(&mut self, val: bool)
pub const fn set_cpu1enable(&mut self, val: bool)
Enable CPU1.
Trait Implementations§
impl Copy for Cpucfg
impl Eq for Cpucfg
impl StructuralPartialEq for Cpucfg
Auto Trait Implementations§
impl Freeze for Cpucfg
impl RefUnwindSafe for Cpucfg
impl Send for Cpucfg
impl Sync for Cpucfg
impl Unpin for Cpucfg
impl UnwindSafe for Cpucfg
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