#[repr(transparent)]pub struct MtlQ0InterruptControlStatus2(pub u32);Expand description
Queue 0 Interrupt Control Status.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlQ0InterruptControlStatus2
impl MtlQ0InterruptControlStatus2
Sourcepub const fn txunfis(&self) -> bool
pub const fn txunfis(&self) -> bool
Transmit Queue Underflow Interrupt Status. Raw bit values: false (0) = Inactive: Transmit Queue Underflow Interrupt Status not detected.; true (1) = Active: Transmit Queue Underflow Interrupt Status detected.
Sourcepub const fn set_txunfis(&mut self, val: bool)
pub const fn set_txunfis(&mut self, val: bool)
Transmit Queue Underflow Interrupt Status. Raw bit values: false (0) = Inactive: Transmit Queue Underflow Interrupt Status not detected.; true (1) = Active: Transmit Queue Underflow Interrupt Status detected.
Sourcepub const fn abpsis(&self) -> bool
pub const fn abpsis(&self) -> bool
Average Bits Per Slot Interrupt Status. Raw bit values: false (0) = Inactive: Average Bits Per Slot Interrupt Status not detected.; true (1) = Active: Average Bits Per Slot Interrupt Status detected.
Sourcepub const fn set_abpsis(&mut self, val: bool)
pub const fn set_abpsis(&mut self, val: bool)
Average Bits Per Slot Interrupt Status. Raw bit values: false (0) = Inactive: Average Bits Per Slot Interrupt Status not detected.; true (1) = Active: Average Bits Per Slot Interrupt Status detected.
Sourcepub const fn txuie(&self) -> bool
pub const fn txuie(&self) -> bool
Transmit Queue Underflow Interrupt Enable. Raw bit values: false (0) = Disable: Transmit Queue Underflow Interrupt Status is disabled.; true (1) = Enable: Transmit Queue Underflow Interrupt Status is enabled.
Sourcepub const fn set_txuie(&mut self, val: bool)
pub const fn set_txuie(&mut self, val: bool)
Transmit Queue Underflow Interrupt Enable. Raw bit values: false (0) = Disable: Transmit Queue Underflow Interrupt Status is disabled.; true (1) = Enable: Transmit Queue Underflow Interrupt Status is enabled.
Sourcepub const fn abpsie(&self) -> bool
pub const fn abpsie(&self) -> bool
Average Bits Per Slot Interrupt Enable. Raw bit values: false (0) = Disable: Average Bits Per Slot Interrupt is disabled.; true (1) = Enable: Average Bits Per Slot Interrupt is enabled.
Sourcepub const fn set_abpsie(&mut self, val: bool)
pub const fn set_abpsie(&mut self, val: bool)
Average Bits Per Slot Interrupt Enable. Raw bit values: false (0) = Disable: Average Bits Per Slot Interrupt is disabled.; true (1) = Enable: Average Bits Per Slot Interrupt is enabled.
Sourcepub const fn rxovfis(&self) -> bool
pub const fn rxovfis(&self) -> bool
Receive Queue Overflow Interrupt Status. Raw bit values: false (0) = Inactive: Receive Queue Overflow Interrupt Status not detected.; true (1) = Active: Receive Queue Overflow Interrupt Status detected.
Sourcepub const fn set_rxovfis(&mut self, val: bool)
pub const fn set_rxovfis(&mut self, val: bool)
Receive Queue Overflow Interrupt Status. Raw bit values: false (0) = Inactive: Receive Queue Overflow Interrupt Status not detected.; true (1) = Active: Receive Queue Overflow Interrupt Status detected.
Trait Implementations§
Source§impl Clone for MtlQ0InterruptControlStatus2
impl Clone for MtlQ0InterruptControlStatus2
Source§fn clone(&self) -> MtlQ0InterruptControlStatus2
fn clone(&self) -> MtlQ0InterruptControlStatus2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for MtlQ0InterruptControlStatus2
impl Default for MtlQ0InterruptControlStatus2
Source§fn default() -> MtlQ0InterruptControlStatus2
fn default() -> MtlQ0InterruptControlStatus2
Source§impl PartialEq for MtlQ0InterruptControlStatus2
impl PartialEq for MtlQ0InterruptControlStatus2
Source§fn eq(&self, other: &MtlQ0InterruptControlStatus2) -> bool
fn eq(&self, other: &MtlQ0InterruptControlStatus2) -> bool
self and other values to be equal, and is used by ==.