#[repr(transparent)]pub struct Phyctrl(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.2; manual text line 171350.
Tuple Fields§
§0: u16Implementations§
Source§impl Phyctrl
impl Phyctrl
Sourcepub const fn spd1(&self) -> bool
pub const fn spd1(&self) -> bool
Read-only. Speed Selection1. Msb of Speed Selection (fixed 10Mbps)
Sourcepub const fn set_spd1(&mut self, val: bool)
pub const fn set_spd1(&mut self, val: bool)
Read-only. Speed Selection1. Msb of Speed Selection (fixed 10Mbps)
Sourcepub const fn set_duplx(&mut self, val: bool)
pub const fn set_duplx(&mut self, val: bool)
Read-only. Duplex Mode. Duplex mode (fixed to half-duplex)
Sourcepub const fn spd0(&self) -> bool
pub const fn spd0(&self) -> bool
Read-only. Speed Selection0. Lsb of Speed Selection (fixed 10Mbps)
Trait Implementations§
impl Copy for Phyctrl
impl Eq for Phyctrl
impl StructuralPartialEq for Phyctrl
Auto Trait Implementations§
impl Freeze for Phyctrl
impl RefUnwindSafe for Phyctrl
impl Send for Phyctrl
impl Sync for Phyctrl
impl Unpin for Phyctrl
impl UnwindSafe for Phyctrl
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