pub struct Midr { /* private fields */ }Expand description
MIDR (Main ID Register)
Implementations§
Source§impl Midr
impl Midr
Sourcepub const ZERO: Self
pub const ZERO: Self
Creates a new instance with a raw value of 0. Equivalent to [Self::new_with_raw_value(0)].
Sourcepub const fn new_with_raw_value(value: u32) -> Midr
pub const fn new_with_raw_value(value: u32) -> Midr
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
Sourcepub const fn implementer(&self) -> u8
pub const fn implementer(&self) -> u8
Implementer
Trait Implementations§
Source§impl SysRegRead for Midr
impl SysRegRead for Midr
impl Copy for Midr
Auto Trait Implementations§
impl Freeze for Midr
impl RefUnwindSafe for Midr
impl Send for Midr
impl Sync for Midr
impl Unpin for Midr
impl UnwindSafe for Midr
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