#[repr(transparent)]pub struct MacInterruptEnable2(pub u32);Expand description
Interrupt Enable.
Tuple Fields§
§0: u32Implementations§
Source§impl MacInterruptEnable2
impl MacInterruptEnable2
Sourcepub const fn phyie(&self) -> bool
pub const fn phyie(&self) -> bool
PHY Interrupt Enable. Raw bit values: false (0) = Disable: PHY Interrupt is disabled.; true (1) = Enable: PHY Interrupt is enabled.
Sourcepub const fn set_phyie(&mut self, val: bool)
pub const fn set_phyie(&mut self, val: bool)
PHY Interrupt Enable. Raw bit values: false (0) = Disable: PHY Interrupt is disabled.; true (1) = Enable: PHY Interrupt is enabled.
Sourcepub const fn pmtie(&self) -> bool
pub const fn pmtie(&self) -> bool
PMT Interrupt Enable. Raw bit values: false (0) = Disable: PMT Interrupt is disabled.; true (1) = Enable: PMT Interrupt is enabled.
Sourcepub const fn set_pmtie(&mut self, val: bool)
pub const fn set_pmtie(&mut self, val: bool)
PMT Interrupt Enable. Raw bit values: false (0) = Disable: PMT Interrupt is disabled.; true (1) = Enable: PMT Interrupt is enabled.
Sourcepub const fn lpiie(&self) -> bool
pub const fn lpiie(&self) -> bool
LPI Interrupt Enable. Raw bit values: false (0) = Disable: LPI Interrupt is disabled.; true (1) = Enable: LPI Interrupt is enabled.
Sourcepub const fn set_lpiie(&mut self, val: bool)
pub const fn set_lpiie(&mut self, val: bool)
LPI Interrupt Enable. Raw bit values: false (0) = Disable: LPI Interrupt is disabled.; true (1) = Enable: LPI Interrupt is enabled.
Sourcepub const fn tsie(&self) -> bool
pub const fn tsie(&self) -> bool
Timestamp Interrupt Enable. Raw bit values: false (0) = Disable: Timestamp Interrupt is disabled.; true (1) = Enable: Timestamp Interrupt is enabled.
Sourcepub const fn set_tsie(&mut self, val: bool)
pub const fn set_tsie(&mut self, val: bool)
Timestamp Interrupt Enable. Raw bit values: false (0) = Disable: Timestamp Interrupt is disabled.; true (1) = Enable: Timestamp Interrupt is enabled.
Sourcepub const fn txstsie(&self) -> bool
pub const fn txstsie(&self) -> bool
Transmit Status Interrupt Enable. Raw bit values: false (0) = Disable: Timestamp Status Interrupt is disabled.; true (1) = Enable: Timestamp Status Interrupt is enabled.
Sourcepub const fn set_txstsie(&mut self, val: bool)
pub const fn set_txstsie(&mut self, val: bool)
Transmit Status Interrupt Enable. Raw bit values: false (0) = Disable: Timestamp Status Interrupt is disabled.; true (1) = Enable: Timestamp Status Interrupt is enabled.
Sourcepub const fn rxstsie(&self) -> bool
pub const fn rxstsie(&self) -> bool
Receive Status Interrupt Enable. Raw bit values: false (0) = Disable: Receive Status Interrupt is disabled.; true (1) = Enable: Receive Status Interrupt is enabled.
Sourcepub const fn set_rxstsie(&mut self, val: bool)
pub const fn set_rxstsie(&mut self, val: bool)
Receive Status Interrupt Enable. Raw bit values: false (0) = Disable: Receive Status Interrupt is disabled.; true (1) = Enable: Receive Status Interrupt is enabled.
Sourcepub const fn mdioie(&self) -> bool
pub const fn mdioie(&self) -> bool
MDIO Interrupt Enable. Raw bit values: false (0) = Disable: MDIO Interrupt is disabled.; true (1) = Enable: MDIO Interrupt is enabled.
Sourcepub const fn set_mdioie(&mut self, val: bool)
pub const fn set_mdioie(&mut self, val: bool)
MDIO Interrupt Enable. Raw bit values: false (0) = Disable: MDIO Interrupt is disabled.; true (1) = Enable: MDIO Interrupt is enabled.
Trait Implementations§
Source§impl Clone for MacInterruptEnable2
impl Clone for MacInterruptEnable2
Source§fn clone(&self) -> MacInterruptEnable2
fn clone(&self) -> MacInterruptEnable2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more