#[repr(transparent)]pub struct MacInterruptEnable(pub u32);Expand description
F70RM Rev. 1 section 51.7.1.12; manual text line 150018.
Tuple Fields§
§0: u32Implementations§
Source§impl MacInterruptEnable
impl MacInterruptEnable
Sourcepub const fn phyie(&self) -> bool
pub const fn phyie(&self) -> bool
PHY Interrupt Enable. When this bit is set, it enables the assertion of the interrupt signal because of the setting of PHYIS bit in MAC_Interrupt_Status register. 0b - PHY Interrupt is disabled 1b - 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. When this bit is set, it enables the assertion of the interrupt signal because of the setting of PHYIS bit in MAC_Interrupt_Status register. 0b - PHY Interrupt is disabled 1b - PHY Interrupt is enabled
Sourcepub const fn pmtie(&self) -> bool
pub const fn pmtie(&self) -> bool
PMT Interrupt Enable. When this bit is set, it enables the assertion of the interrupt signal because of the setting of PMTIS bit in MAC_Interrupt_Status register. 0b - PMT Interrupt is disabled 1b - 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. When this bit is set, it enables the assertion of the interrupt signal because of the setting of PMTIS bit in MAC_Interrupt_Status register. 0b - PMT Interrupt is disabled 1b - PMT Interrupt is enabled
Sourcepub const fn tsie(&self) -> bool
pub const fn tsie(&self) -> bool
Timestamp Interrupt Enable. When this bit is set, it enables the assertion of the interrupt signal because of the setting of TSIS bit in MAC_Interrupt_Status register. 0b - Timestamp Interrupt is disabled 1b - 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. When this bit is set, it enables the assertion of the interrupt signal because of the setting of TSIS bit in MAC_Interrupt_Status register. 0b - Timestamp Interrupt is disabled 1b - Timestamp Interrupt is enabled
Sourcepub const fn txstsie(&self) -> bool
pub const fn txstsie(&self) -> bool
Transmit Status Interrupt Enable. When this bit is set, it enables the assertion of the interrupt signal because of the setting of TXSTSIS bit in the MAC_Interrupt_Status register. 0b - Transmit Status Interrupt is disabled 1b - Transmit 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. When this bit is set, it enables the assertion of the interrupt signal because of the setting of TXSTSIS bit in the MAC_Interrupt_Status register. 0b - Transmit Status Interrupt is disabled 1b - Transmit Status Interrupt is enabled
Sourcepub const fn rxstsie(&self) -> bool
pub const fn rxstsie(&self) -> bool
Receive Status Interrupt Enable. When this bit is set, it enables the assertion of the interrupt signal because of the setting of RXSTSIS bit in the MAC_Interrupt_Status register. 0b - Receive Status Interrupt is disabled 1b - 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. When this bit is set, it enables the assertion of the interrupt signal because of the setting of RXSTSIS bit in the MAC_Interrupt_Status register. 0b - Receive Status Interrupt is disabled 1b - Receive Status Interrupt is enabled
Sourcepub const fn mdioie(&self) -> bool
pub const fn mdioie(&self) -> bool
MDIO Interrupt Enable. When this bit is set, it enables the assertion of the interrupt when MDIOIS field is set in the MAC_Interrupt_Status register. 0b - MDIO Interrupt is disabled 1b - 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. When this bit is set, it enables the assertion of the interrupt when MDIOIS field is set in the MAC_Interrupt_Status register. 0b - MDIO Interrupt is disabled 1b - MDIO Interrupt is enabled
Trait Implementations§
Source§impl Clone for MacInterruptEnable
impl Clone for MacInterruptEnable
Source§fn clone(&self) -> MacInterruptEnable
fn clone(&self) -> MacInterruptEnable
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more