#[repr(transparent)]pub struct Pcsctrl(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.11; manual text line 171859.
Tuple Fields§
§0: u16Implementations§
Source§impl Pcsctrl
impl Pcsctrl
Sourcepub const fn set_duplx(&mut self, val: bool)
pub const fn set_duplx(&mut self, val: bool)
Read-only. Duplex. Duplex mode (fixed to half-duplex)
Sourcepub const fn loop_(&self) -> bool
pub const fn loop_(&self) -> bool
LOOP: Loop. Loop-back mode enable. 0b - Disabled 1b - Enabled
Sourcepub const fn set_loop_(&mut self, val: bool)
pub const fn set_loop_(&mut self, val: bool)
LOOP: Loop. Loop-back mode enable. 0b - Disabled 1b - Enabled
Trait Implementations§
impl Copy for Pcsctrl
impl Eq for Pcsctrl
impl StructuralPartialEq for Pcsctrl
Auto Trait Implementations§
impl Freeze for Pcsctrl
impl RefUnwindSafe for Pcsctrl
impl Send for Pcsctrl
impl Sync for Pcsctrl
impl Unpin for Pcsctrl
impl UnwindSafe for Pcsctrl
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