#[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
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(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
const MAX_LVT_ENTRY_BITS: usize = 8usize
const MAX_LVT_ENTRY_OFFSET: usize = 16usize
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(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
const SUPPRESS_EOI_BROADCAST_BITS: usize = 1usize
const SUPPRESS_EOI_BROADCAST_OFFSET: usize = 24usize
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(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
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
Mutably borrows from an owned value. Read more
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>,
Casts the value.
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>
Casts the value.
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
§impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.