#[repr(transparent)]struct Version(u32);
Expand description
Local APIC Version Register, RO
Tuple Fields§
§0: u32
Implementations§
source§impl Version
impl Version
const VERSION_BITS: usize = 8usize
const VERSION_OFFSET: usize = 0usize
const MAX_LVT_ENTRY_BITS: usize = 8usize
const MAX_LVT_ENTRY_OFFSET: usize = 16usize
const SUPPRESS_EOI_BROADCAST_BITS: usize = 1usize
const SUPPRESS_EOI_BROADCAST_OFFSET: usize = 24usize
sourceconst fn version(&self) -> u8
const fn version(&self) -> u8
The version numbers of the local APIC:
- 0x00-0x10: 82489DX discrete APIC
- 0x10-0x15: Integrated APIC
Bits: 0..8
sourceconst fn with_version_checked(self, value: u8) -> Result<Self, ()>
const fn with_version_checked(self, value: u8) -> Result<Self, ()>
The version numbers of the local APIC:
- 0x00-0x10: 82489DX discrete APIC
- 0x10-0x15: Integrated APIC
Bits: 0..8
sourceconst fn with_version(self, value: u8) -> Self
const fn with_version(self, value: u8) -> Self
The version numbers of the local APIC:
- 0x00-0x10: 82489DX discrete APIC
- 0x10-0x15: Integrated APIC
Bits: 0..8
sourcefn set_version(&mut self, value: u8)
fn set_version(&mut self, value: u8)
The version numbers of the local APIC:
- 0x00-0x10: 82489DX discrete APIC
- 0x10-0x15: Integrated APIC
Bits: 0..8
sourcefn set_version_checked(&mut self, value: u8) -> Result<(), ()>
fn set_version_checked(&mut self, value: u8) -> Result<(), ()>
The version numbers of the local APIC:
- 0x00-0x10: 82489DX discrete APIC
- 0x10-0x15: Integrated APIC
Bits: 0..8
sourceconst fn max_lvt_entry(&self) -> u8
const fn max_lvt_entry(&self) -> u8
The number LVT entries minus 1.
Bits: 16..24
sourceconst fn with_max_lvt_entry_checked(self, value: u8) -> Result<Self, ()>
const fn with_max_lvt_entry_checked(self, value: u8) -> Result<Self, ()>
The number LVT entries minus 1.
Bits: 16..24
sourceconst fn with_max_lvt_entry(self, value: u8) -> Self
const fn with_max_lvt_entry(self, value: u8) -> Self
The number LVT entries minus 1.
Bits: 16..24
sourcefn set_max_lvt_entry(&mut self, value: u8)
fn set_max_lvt_entry(&mut self, value: u8)
The number LVT entries minus 1.
Bits: 16..24
sourcefn set_max_lvt_entry_checked(&mut self, value: u8) -> Result<(), ()>
fn set_max_lvt_entry_checked(&mut self, value: u8) -> Result<(), ()>
The number LVT entries minus 1.
Bits: 16..24
sourceconst fn suppress_eoi_broadcast(&self) -> bool
const fn suppress_eoi_broadcast(&self) -> bool
Indicates whether software can inhibit the broadcast of EOI message
Bits: 24..25
sourceconst fn with_suppress_eoi_broadcast_checked(
self,
value: bool,
) -> Result<Self, ()>
const fn with_suppress_eoi_broadcast_checked( self, value: bool, ) -> Result<Self, ()>
Indicates whether software can inhibit the broadcast of EOI message
Bits: 24..25
sourceconst fn with_suppress_eoi_broadcast(self, value: bool) -> Self
const fn with_suppress_eoi_broadcast(self, value: bool) -> Self
Indicates whether software can inhibit the broadcast of EOI message
Bits: 24..25
sourcefn set_suppress_eoi_broadcast(&mut self, value: bool)
fn set_suppress_eoi_broadcast(&mut self, value: bool)
Indicates whether software can inhibit the broadcast of EOI message
Bits: 24..25
sourcefn set_suppress_eoi_broadcast_checked(&mut self, value: bool) -> Result<(), ()>
fn set_suppress_eoi_broadcast_checked(&mut self, value: bool) -> Result<(), ()>
Indicates whether software can inhibit the broadcast of EOI message
Bits: 24..25
Trait Implementations§
impl Copy for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)