#[repr(transparent)]pub struct MacMdioData(pub u32);Expand description
F70RM Rev. 1 section 51.7.1.23; manual text line 151704.
Tuple Fields§
§0: u32Implementations§
Source§impl MacMdioData
impl MacMdioData
Sourcepub const fn gd(&self) -> u16
pub const fn gd(&self) -> u16
GMII Data. This field contains the 16-bit data value read from the PHY after a Management Read operation or the 16-bit data value to be written to the PHY before a Management Write operation. NOTE This field is not testable by an automated register test.
Sourcepub const fn set_gd(&mut self, val: u16)
pub const fn set_gd(&mut self, val: u16)
GMII Data. This field contains the 16-bit data value read from the PHY after a Management Read operation or the 16-bit data value to be written to the PHY before a Management Write operation. NOTE This field is not testable by an automated register test.
Trait Implementations§
Source§impl Clone for MacMdioData
impl Clone for MacMdioData
Source§fn clone(&self) -> MacMdioData
fn clone(&self) -> MacMdioData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MacMdioData
impl Debug for MacMdioData
Source§impl Default for MacMdioData
impl Default for MacMdioData
Source§fn default() -> MacMdioData
fn default() -> MacMdioData
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacMdioData
impl PartialEq for MacMdioData
impl Copy for MacMdioData
impl Eq for MacMdioData
impl StructuralPartialEq for MacMdioData
Auto Trait Implementations§
impl Freeze for MacMdioData
impl RefUnwindSafe for MacMdioData
impl Send for MacMdioData
impl Sync for MacMdioData
impl Unpin for MacMdioData
impl UnwindSafe for MacMdioData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more