Struct tartan_arch::x86_64::ControlRegister8
source · #[repr(transparent)]pub struct ControlRegister8(_);
Available on x86-64 only.
Expand description
Implementations§
source§impl ControlRegister8
impl ControlRegister8
sourcepub fn task_priority_level(&self) -> u8
pub fn task_priority_level(&self) -> u8
CR8.TPL
: Threshold for blocking low-priority interrupts. Lower values are
higher priority.
sourcepub fn set_task_priority_level(&mut self, value: u8)
pub fn set_task_priority_level(&mut self, value: u8)
CR8.TPL
: Threshold for blocking low-priority interrupts. Lower values are
higher priority.
sourcepub fn with_task_priority_level(&self, value: u8) -> Self
pub fn with_task_priority_level(&self, value: u8) -> Self
CR8.TPL
: Threshold for blocking low-priority interrupts. Lower values are
higher priority.
Trait Implementations§
source§impl Bitfield<usize> for ControlRegister8
impl Bitfield<usize> for ControlRegister8
source§impl Clone for ControlRegister8
impl Clone for ControlRegister8
source§fn clone(&self) -> ControlRegister8
fn clone(&self) -> ControlRegister8
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ControlRegister8
impl Debug for ControlRegister8
source§impl Default for ControlRegister8
impl Default for ControlRegister8
source§fn default() -> ControlRegister8
fn default() -> ControlRegister8
Returns the “default value” for a type. Read more
source§impl From<ControlRegister8> for usize
impl From<ControlRegister8> for usize
source§fn from(val: ControlRegister8) -> Self
fn from(val: ControlRegister8) -> Self
Converts to this type from the input type.