#[repr(transparent)]struct SpuriousInt(u32);
Expand description
Spurious Interrupt Vector Register.
Tuple Fields§
§0: u32
Implementations§
source§impl SpuriousInt
impl SpuriousInt
const SPURIOUS_VECTOR_BITS: usize = 8usize
const SPURIOUS_VECTOR_OFFSET: usize = 0usize
const APIC_ENABLE_BITS: usize = 1usize
const APIC_ENABLE_OFFSET: usize = 8usize
const FOCUS_PROCESSOR_CHECKING_BITS: usize = 1usize
const FOCUS_PROCESSOR_CHECKING_OFFSET: usize = 9usize
sourceconst fn spurious_vector(&self) -> u8
const fn spurious_vector(&self) -> u8
Determines the vector number to be delivered to the processor when the local APIC generates a spurious vector.
Bits: 0..8
sourceconst fn with_spurious_vector_checked(self, value: u8) -> Result<Self, ()>
const fn with_spurious_vector_checked(self, value: u8) -> Result<Self, ()>
Determines the vector number to be delivered to the processor when the local APIC generates a spurious vector.
Bits: 0..8
sourceconst fn with_spurious_vector(self, value: u8) -> Self
const fn with_spurious_vector(self, value: u8) -> Self
Determines the vector number to be delivered to the processor when the local APIC generates a spurious vector.
Bits: 0..8
sourcefn set_spurious_vector(&mut self, value: u8)
fn set_spurious_vector(&mut self, value: u8)
Determines the vector number to be delivered to the processor when the local APIC generates a spurious vector.
Bits: 0..8
sourcefn set_spurious_vector_checked(&mut self, value: u8) -> Result<(), ()>
fn set_spurious_vector_checked(&mut self, value: u8) -> Result<(), ()>
Determines the vector number to be delivered to the processor when the local APIC generates a spurious vector.
Bits: 0..8
sourceconst fn apic_enable(&self) -> bool
const fn apic_enable(&self) -> bool
Allows software to temporarily enable/disable the local APIC.
Bits: 8..9
sourceconst fn with_apic_enable_checked(self, value: bool) -> Result<Self, ()>
const fn with_apic_enable_checked(self, value: bool) -> Result<Self, ()>
Allows software to temporarily enable/disable the local APIC.
Bits: 8..9
sourceconst fn with_apic_enable(self, value: bool) -> Self
const fn with_apic_enable(self, value: bool) -> Self
Allows software to temporarily enable/disable the local APIC.
Bits: 8..9
sourcefn set_apic_enable(&mut self, value: bool)
fn set_apic_enable(&mut self, value: bool)
Allows software to temporarily enable/disable the local APIC.
Bits: 8..9
sourcefn set_apic_enable_checked(&mut self, value: bool) -> Result<(), ()>
fn set_apic_enable_checked(&mut self, value: bool) -> Result<(), ()>
Allows software to temporarily enable/disable the local APIC.
Bits: 8..9
sourceconst fn focus_processor_checking(&self) -> bool
const fn focus_processor_checking(&self) -> bool
Determines if focus processor checking is enabled when using the lowest-priority delivery mode.
Bits: 9..10
sourceconst fn with_focus_processor_checking_checked(
self,
value: bool,
) -> Result<Self, ()>
const fn with_focus_processor_checking_checked( self, value: bool, ) -> Result<Self, ()>
Determines if focus processor checking is enabled when using the lowest-priority delivery mode.
Bits: 9..10
sourceconst fn with_focus_processor_checking(self, value: bool) -> Self
const fn with_focus_processor_checking(self, value: bool) -> Self
Determines if focus processor checking is enabled when using the lowest-priority delivery mode.
Bits: 9..10
sourcefn set_focus_processor_checking(&mut self, value: bool)
fn set_focus_processor_checking(&mut self, value: bool)
Determines if focus processor checking is enabled when using the lowest-priority delivery mode.
Bits: 9..10
sourcefn set_focus_processor_checking_checked(
&mut self,
value: bool,
) -> Result<(), ()>
fn set_focus_processor_checking_checked( &mut self, value: bool, ) -> Result<(), ()>
Determines if focus processor checking is enabled when using the lowest-priority delivery mode.
Bits: 9..10
Trait Implementations§
source§impl Clone for SpuriousInt
impl Clone for SpuriousInt
source§fn clone(&self) -> SpuriousInt
fn clone(&self) -> SpuriousInt
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpuriousInt
impl Debug for SpuriousInt
source§impl Default for SpuriousInt
impl Default for SpuriousInt
source§impl From<SpuriousInt> for u32
impl From<SpuriousInt> for u32
source§fn from(v: SpuriousInt) -> u32
fn from(v: SpuriousInt) -> u32
source§impl From<u32> for SpuriousInt
impl From<u32> for SpuriousInt
impl Copy for SpuriousInt
Auto Trait Implementations§
impl Freeze for SpuriousInt
impl RefUnwindSafe for SpuriousInt
impl Send for SpuriousInt
impl Sync for SpuriousInt
impl Unpin for SpuriousInt
impl UnwindSafe for SpuriousInt
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
)