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_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_it_lines_number_checked(self, value: u8) -> Result<Self, ()>
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 const fn set_it_lines_number(&mut self, value: u8)
pub const 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_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_cpu_number_checked(self, value: u8) -> Result<Self, ()>
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 const fn set_cpu_number(&mut self, value: u8)
pub const fn set_cpu_number(&mut self, value: u8)
Bits: 5..8
Sourcepub const fn with_espi_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_espi_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_nmi_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_nmi_checked(self, value: bool) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn security_extn(&self) -> bool
pub const fn security_extn(&self) -> bool
Bits: 10..11
Sourcepub const fn with_security_extn_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_security_extn_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_security_extn(&mut self, value: bool)
pub const fn set_security_extn(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn with_num_lpis_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_num_lpis_checked(self, value: u8) -> Result<Self, ()>
Bits: 11..16
Sourcepub const fn with_num_lpis(self, value: u8) -> Self
pub const fn with_num_lpis(self, value: u8) -> Self
Bits: 11..16
Sourcepub const fn set_num_lpis(&mut self, value: u8)
pub const fn set_num_lpis(&mut self, value: u8)
Bits: 11..16
Sourcepub const fn with_mbis_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mbis_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_lpis_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_lpis_checked(self, value: bool) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_dvis_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dvis_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_id_bits_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_id_bits_checked(self, value: u8) -> Result<Self, ()>
Bits: 19..24
Sourcepub const fn with_id_bits(self, value: u8) -> Self
pub const fn with_id_bits(self, value: u8) -> Self
Bits: 19..24
Sourcepub const fn set_id_bits(&mut self, value: u8)
pub const fn set_id_bits(&mut self, value: u8)
Bits: 19..24
Sourcepub const fn with_a3v_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_a3v_checked(self, value: bool) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_no1n_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_no1n_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_rss_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rss_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn espi_range(&self) -> u8
pub const fn espi_range(&self) -> u8
Bits: 27..32
Sourcepub const fn with_espi_range_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_espi_range_checked(self, value: u8) -> Result<Self, ()>
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 const fn set_espi_range(&mut self, value: u8)
pub const 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