pub struct Control1(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl Control1
impl Control1
sourcepub fn ensop2db(&self) -> bool
pub fn ensop2db(&self) -> bool
Enable SOP’’_DEBUG (SOP double prime debug) packets, false for ignore
sourcepub fn with_ensop2db(self, value: bool) -> Self
pub fn with_ensop2db(self, value: bool) -> Self
Enable SOP’’_DEBUG (SOP double prime debug) packets, false for ignore
sourcepub fn set_ensop2db(&mut self, value: bool)
pub fn set_ensop2db(&mut self, value: bool)
Enable SOP’’_DEBUG (SOP double prime debug) packets, false for ignore
sourcepub fn with_ensop1db(self, value: bool) -> Self
pub fn with_ensop1db(self, value: bool) -> Self
Enable SOP’_DEBUG (SOP prime debug) packets, false for ignore
sourcepub fn set_ensop1db(&mut self, value: bool)
pub fn set_ensop1db(&mut self, value: bool)
Enable SOP’_DEBUG (SOP prime debug) packets, false for ignore
sourcepub fn bist_mode2(&self) -> bool
pub fn bist_mode2(&self) -> bool
Sent BIST Mode 01s pattern for testing
sourcepub fn with_bist_mode2(self, value: bool) -> Self
pub fn with_bist_mode2(self, value: bool) -> Self
Sent BIST Mode 01s pattern for testing
sourcepub fn set_bist_mode2(&mut self, value: bool)
pub fn set_bist_mode2(&mut self, value: bool)
Sent BIST Mode 01s pattern for testing
sourcepub fn with_rx_flush(self, value: bool) -> Self
pub fn with_rx_flush(self, value: bool) -> Self
Self clearing bit to flush the content of the receive FIFO
sourcepub fn set_rx_flush(&mut self, value: bool)
pub fn set_rx_flush(&mut self, value: bool)
Self clearing bit to flush the content of the receive FIFO
sourcepub fn with_ensop2(self, value: bool) -> Self
pub fn with_ensop2(self, value: bool) -> Self
Enable SOP’’ (SOP double prime) packets, false for ignore
sourcepub fn set_ensop2(&mut self, value: bool)
pub fn set_ensop2(&mut self, value: bool)
Enable SOP’’ (SOP double prime) packets, false for ignore
sourcepub fn with_ensop1(self, value: bool) -> Self
pub fn with_ensop1(self, value: bool) -> Self
Enable SOP’ (SOP prime) packets, false for ignore
sourcepub fn set_ensop1(&mut self, value: bool)
pub fn set_ensop1(&mut self, value: bool)
Enable SOP’ (SOP prime) packets, false for ignore
Trait Implementations§
impl Copy for Control1
impl Eq for Control1
impl StructuralPartialEq for Control1
Auto Trait Implementations§
impl Freeze for Control1
impl RefUnwindSafe for Control1
impl Send for Control1
impl Sync for Control1
impl Unpin for Control1
impl UnwindSafe for Control1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls U::into(other)
.
That is, this conversion is whatever the implementation of Into
<T> for U
chooses to
do.
source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self)
.
That is, this conversion is whatever the implementation of UnsafeFrom
<T> for U
chooses to do.