Struct aarch64defs::gic::GicdTyper
source · pub struct GicdTyper(/* private fields */);
Implementations§
source§impl GicdTyper
impl GicdTyper
sourcepub const fn it_lines_number(&self) -> u8
pub const fn it_lines_number(&self) -> u8
Bits: 0..5
sourcepub const fn with_it_lines_number(self, value: u8) -> Self
pub const fn with_it_lines_number(self, value: u8) -> Self
Bits: 0..5
sourcepub fn set_it_lines_number(&mut self, value: u8)
pub fn set_it_lines_number(&mut self, value: u8)
Bits: 0..5
sourcepub const fn cpu_number(&self) -> u8
pub const fn cpu_number(&self) -> u8
Bits: 5..8
sourcepub const fn with_cpu_number(self, value: u8) -> Self
pub const fn with_cpu_number(self, value: u8) -> Self
Bits: 5..8
sourcepub fn set_cpu_number(&mut self, value: u8)
pub fn set_cpu_number(&mut self, value: u8)
Bits: 5..8
sourcepub const fn security_extn(&self) -> bool
pub const fn security_extn(&self) -> bool
Bits: 10..11
sourcepub const fn with_security_extn(self, value: bool) -> Self
pub const fn with_security_extn(self, value: bool) -> Self
Bits: 10..11
sourcepub fn set_security_extn(&mut self, value: bool)
pub fn set_security_extn(&mut self, value: bool)
Bits: 10..11
sourcepub const fn with_num_lpis(self, value: u8) -> Self
pub const fn with_num_lpis(self, value: u8) -> Self
Bits: 11..16
sourcepub fn set_num_lpis(&mut self, value: u8)
pub fn set_num_lpis(&mut self, value: u8)
Bits: 11..16
sourcepub const fn with_id_bits(self, value: u8) -> Self
pub const fn with_id_bits(self, value: u8) -> Self
Bits: 19..24
sourcepub fn set_id_bits(&mut self, value: u8)
pub fn set_id_bits(&mut self, value: u8)
Bits: 19..24
sourcepub const fn espi_range(&self) -> u8
pub const fn espi_range(&self) -> u8
Bits: 27..32
sourcepub const fn with_espi_range(self, value: u8) -> Self
pub const fn with_espi_range(self, value: u8) -> Self
Bits: 27..32
sourcepub fn set_espi_range(&mut self, value: u8)
pub fn set_espi_range(&mut self, value: u8)
Bits: 27..32
Trait Implementations§
impl Copy for GicdTyper
Auto Trait Implementations§
impl Freeze for GicdTyper
impl RefUnwindSafe for GicdTyper
impl Send for GicdTyper
impl Sync for GicdTyper
impl Unpin for GicdTyper
impl UnwindSafe for GicdTyper
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)