#[repr(transparent)]pub struct Modectrl(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.22; manual text line 172383.
Tuple Fields§
§0: u16Implementations§
Source§impl Modectrl
impl Modectrl
Sourcepub const fn cmd(&self) -> u8
pub const fn cmd(&self) -> u8
Set back to NONE when mode controller has entered the selected mode. 000b - None 001b - Linkdown. Set mode to LINKDOWN 010b - Linkup. Set mode to Linkup 011b - TXCCFG. Set mode to TXCCFG 100b - Low-power. Set mode to Low-power 101b - TXCBIST. Set mode to TXCBIST
Sourcepub const fn set_cmd(&mut self, val: u8)
pub const fn set_cmd(&mut self, val: u8)
Set back to NONE when mode controller has entered the selected mode. 000b - None 001b - Linkdown. Set mode to LINKDOWN 010b - Linkup. Set mode to Linkup 011b - TXCCFG. Set mode to TXCCFG 100b - Low-power. Set mode to Low-power 101b - TXCBIST. Set mode to TXCBIST
Trait Implementations§
impl Copy for Modectrl
impl Eq for Modectrl
impl StructuralPartialEq for Modectrl
Auto Trait Implementations§
impl Freeze for Modectrl
impl RefUnwindSafe for Modectrl
impl Send for Modectrl
impl Sync for Modectrl
impl Unpin for Modectrl
impl UnwindSafe for Modectrl
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