#[repr(transparent)]pub struct MtlQ0InterruptControlStatus(pub u32);Expand description
F70RM Rev. 1 section 51.7.3.5; manual text line 154530.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlQ0InterruptControlStatus
impl MtlQ0InterruptControlStatus
Sourcepub const fn txunfis(&self) -> bool
pub const fn txunfis(&self) -> bool
Transmit Queue Underflow Interrupt Status. This bit indicates that the Transmit Queue had an underflow while transmitting the packet. Transmission is suspended and an Underflow Error TDES3[2] is set. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on internal event. Setting 1 clears. Setting 0 has no effect. NOTE This field is not testable by an automated register test. 0b - Transmit Queue Underflow Interrupt Status not detected 1b - 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. This bit indicates that the Transmit Queue had an underflow while transmitting the packet. Transmission is suspended and an Underflow Error TDES3[2] is set. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on internal event. Setting 1 clears. Setting 0 has no effect. NOTE This field is not testable by an automated register test. 0b - Transmit Queue Underflow Interrupt Status not detected 1b - Transmit Queue Underflow Interrupt Status detected
Sourcepub const fn txuie(&self) -> bool
pub const fn txuie(&self) -> bool
Transmit Queue Underflow Interrupt Enable. When this bit is set, the Transmit Queue Underflow interrupt is enabled. When this bit is reset, the Transmit Queue Underflow interrupt is disabled. 0b - Transmit Queue Underflow Interrupt Status is disabled 1b - 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. When this bit is set, the Transmit Queue Underflow interrupt is enabled. When this bit is reset, the Transmit Queue Underflow interrupt is disabled. 0b - Transmit Queue Underflow Interrupt Status is disabled 1b - Transmit Queue Underflow Interrupt Status is enabled
Sourcepub const fn rxovfis(&self) -> bool
pub const fn rxovfis(&self) -> bool
Receive Queue Overflow Interrupt Status. This bit indicates that the Receive Queue had an overflow while receiving the packet. If a partial packet is transferred to the application, the overflow status is set in RDES3[21]. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on internal event. Setting 1 clears. Setting 0 has no effect. NOTE This field is not testable by an automated register test. 0b - Receive Queue Overflow Interrupt Status not detected 1b - 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. This bit indicates that the Receive Queue had an overflow while receiving the packet. If a partial packet is transferred to the application, the overflow status is set in RDES3[21]. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on internal event. Setting 1 clears. Setting 0 has no effect. NOTE This field is not testable by an automated register test. 0b - Receive Queue Overflow Interrupt Status not detected 1b - Receive Queue Overflow Interrupt Status detected
Sourcepub const fn rxoie(&self) -> bool
pub const fn rxoie(&self) -> bool
Receive Queue Overflow Interrupt Enable. When this bit is set, the Receive Queue Overflow interrupt is enabled. When this bit is reset, the Receive Queue Overflow interrupt is disabled. 0b - Receive Queue Overflow Interrupt is disabled 1b - Receive Queue Overflow Interrupt is enabled
Sourcepub const fn set_rxoie(&mut self, val: bool)
pub const fn set_rxoie(&mut self, val: bool)
Receive Queue Overflow Interrupt Enable. When this bit is set, the Receive Queue Overflow interrupt is enabled. When this bit is reset, the Receive Queue Overflow interrupt is disabled. 0b - Receive Queue Overflow Interrupt is disabled 1b - Receive Queue Overflow Interrupt is enabled
Trait Implementations§
Source§impl Clone for MtlQ0InterruptControlStatus
impl Clone for MtlQ0InterruptControlStatus
Source§fn clone(&self) -> MtlQ0InterruptControlStatus
fn clone(&self) -> MtlQ0InterruptControlStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more