#[repr(transparent)]pub struct Cr0(pub u32);Expand description
ERM Configuration Register 0
Tuple Fields§
§0: u32Implementations§
Source§impl Cr0
impl Cr0
Sourcepub const fn set_encie1(&mut self, val: bool)
pub const fn set_encie1(&mut self, val: bool)
ENCIE1
Sourcepub const fn set_escie1(&mut self, val: bool)
pub const fn set_escie1(&mut self, val: bool)
ESCIE1
Sourcepub const fn set_encie0(&mut self, val: bool)
pub const fn set_encie0(&mut self, val: bool)
ENCIE0
Sourcepub const fn set_escie0(&mut self, val: bool)
pub const fn set_escie0(&mut self, val: bool)
ESCIE0
Trait Implementations§
impl Copy for Cr0
impl Eq for Cr0
impl StructuralPartialEq for Cr0
Auto Trait Implementations§
impl Freeze for Cr0
impl RefUnwindSafe for Cr0
impl Send for Cr0
impl Sync for Cr0
impl Unpin for Cr0
impl UnwindSafe for Cr0
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