#[repr(C)]pub struct MPIDR(pub u64);
Tuple Fields§
§0: u64
Implementations§
source§impl MPIDR
impl MPIDR
pub fn new(data: u64) -> MPIDR
pub fn get_mut(&mut self) -> &mut Self
pub fn get(&self) -> u64
pub fn get_masked(&self, mask: u64) -> u64
pub fn get_masked_value(&self, mask: u64) -> u64
pub fn set(&mut self, val: u64) -> &mut Self
pub fn set_masked(&mut self, mask: u64, val: u64) -> &mut Self
pub fn set_masked_value(&mut self, mask: u64, val: u64) -> &mut Self
pub fn set_bits(&mut self, mask: u64) -> &mut Self
pub fn clear_bits(&mut self, mask: u64) -> &mut Self
pub const AFF3: u64 = 4_278_190_080u64
pub const AFF2: u64 = 16_711_680u64
pub const AFF1: u64 = 65_280u64
pub const AFF0: u64 = 15u64
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MPIDR
impl Send for MPIDR
impl Sync for MPIDR
impl Unpin for MPIDR
impl UnwindSafe for MPIDR
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