#[repr(transparent)]pub struct MacMdioAddress2(pub u32);Expand description
MDIO Address.
Tuple Fields§
§0: u32Implementations§
Source§impl MacMdioAddress2
impl MacMdioAddress2
Sourcepub const fn gb(&self) -> bool
pub const fn gb(&self) -> bool
GMII Busy. Raw bit values: false (0) = Disable: GMII Busy is disabled.; true (1) = Enable: GMII Busy is enabled.
Sourcepub const fn set_gb(&mut self, val: bool)
pub const fn set_gb(&mut self, val: bool)
GMII Busy. Raw bit values: false (0) = Disable: GMII Busy is disabled.; true (1) = Enable: GMII Busy is enabled.
Sourcepub const fn c45e(&self) -> bool
pub const fn c45e(&self) -> bool
Clause 45 PHY Enable. Raw bit values: false (0) = Disable: Clause 45 PHY is disabled.; true (1) = Enable: Clause 45 PHY is enabled.
Sourcepub const fn set_c45e(&mut self, val: bool)
pub const fn set_c45e(&mut self, val: bool)
Clause 45 PHY Enable. Raw bit values: false (0) = Disable: Clause 45 PHY is disabled.; true (1) = Enable: Clause 45 PHY is enabled.
Sourcepub const fn goc_0(&self) -> bool
pub const fn goc_0(&self) -> bool
GMII Operation Command 0. Raw bit values: false (0) = Disable: GMII Operation Command 0 is disabled.; true (1) = Enable: GMII Operation Command 0 is enabled.
Sourcepub const fn set_goc_0(&mut self, val: bool)
pub const fn set_goc_0(&mut self, val: bool)
GMII Operation Command 0. Raw bit values: false (0) = Disable: GMII Operation Command 0 is disabled.; true (1) = Enable: GMII Operation Command 0 is enabled.
Sourcepub const fn goc_1(&self) -> bool
pub const fn goc_1(&self) -> bool
GMII Operation Command 1. Raw bit values: false (0) = Disable: GMII Operation Command 1 is disabled.; true (1) = Enable: GMII Operation Command 1 is enabled.
Sourcepub const fn set_goc_1(&mut self, val: bool)
pub const fn set_goc_1(&mut self, val: bool)
GMII Operation Command 1. Raw bit values: false (0) = Disable: GMII Operation Command 1 is disabled.; true (1) = Enable: GMII Operation Command 1 is enabled.
Sourcepub const fn skap(&self) -> bool
pub const fn skap(&self) -> bool
Skip Address Packet. Raw bit values: false (0) = Disable: Skip Address Packet is disabled.; true (1) = Enable: Skip Address Packet is enabled.
Sourcepub const fn set_skap(&mut self, val: bool)
pub const fn set_skap(&mut self, val: bool)
Skip Address Packet. Raw bit values: false (0) = Disable: Skip Address Packet is disabled.; true (1) = Enable: Skip Address Packet is enabled.
Sourcepub const fn btb(&self) -> bool
pub const fn btb(&self) -> bool
Back to Back transactions. Raw bit values: false (0) = Disable: Back to Back transactions disabled.; true (1) = Enable: Back to Back transactions enabled.
Sourcepub const fn set_btb(&mut self, val: bool)
pub const fn set_btb(&mut self, val: bool)
Back to Back transactions. Raw bit values: false (0) = Disable: Back to Back transactions disabled.; true (1) = Enable: Back to Back transactions enabled.
Trait Implementations§
Source§impl Clone for MacMdioAddress2
impl Clone for MacMdioAddress2
Source§fn clone(&self) -> MacMdioAddress2
fn clone(&self) -> MacMdioAddress2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more