#[repr(transparent)]pub struct LinestateTuning(pub u32);
Expand description
Used for debug only.
Tuple Fields§
§0: u32
Implementations§
Source§impl LinestateTuning
impl LinestateTuning
Sourcepub const fn rcv_delay(&self) -> bool
pub const fn rcv_delay(&self) -> bool
Device - register the received data to account for hub bit dribble before EOP. Only affects certain hubs.
Sourcepub fn set_rcv_delay(&mut self, val: bool)
pub fn set_rcv_delay(&mut self, val: bool)
Device - register the received data to account for hub bit dribble before EOP. Only affects certain hubs.
Sourcepub const fn linestate_delay(&self) -> bool
pub const fn linestate_delay(&self) -> bool
Device/Host - add an extra 1-bit debounce of linestate sampling.
Sourcepub fn set_linestate_delay(&mut self, val: bool)
pub fn set_linestate_delay(&mut self, val: bool)
Device/Host - add an extra 1-bit debounce of linestate sampling.
Sourcepub const fn multi_hub_fix(&self) -> bool
pub const fn multi_hub_fix(&self) -> bool
Host - increase inter-packet and turnaround timeouts to accommodate worst-case hub delays.
Sourcepub fn set_multi_hub_fix(&mut self, val: bool)
pub fn set_multi_hub_fix(&mut self, val: bool)
Host - increase inter-packet and turnaround timeouts to accommodate worst-case hub delays.
Sourcepub const fn dev_buff_control_double_read_fix(&self) -> bool
pub const fn dev_buff_control_double_read_fix(&self) -> bool
Device - the controller FSM performs two reads of the buffer status memory address to avoid sampling metastable data. An enabled buffer is only used if both reads match.
Sourcepub fn set_dev_buff_control_double_read_fix(&mut self, val: bool)
pub fn set_dev_buff_control_double_read_fix(&mut self, val: bool)
Device - the controller FSM performs two reads of the buffer status memory address to avoid sampling metastable data. An enabled buffer is only used if both reads match.
Sourcepub const fn sie_rx_bitstuff_fix(&self) -> bool
pub const fn sie_rx_bitstuff_fix(&self) -> bool
RX - when a bitstuff error is signalled by rx_dasm, unconditionally terminate RX decode to avoid a hang during certain packet phases.
Sourcepub fn set_sie_rx_bitstuff_fix(&mut self, val: bool)
pub fn set_sie_rx_bitstuff_fix(&mut self, val: bool)
RX - when a bitstuff error is signalled by rx_dasm, unconditionally terminate RX decode to avoid a hang during certain packet phases.
Sourcepub const fn sie_rx_chatter_se0_fix(&self) -> bool
pub const fn sie_rx_chatter_se0_fix(&self) -> bool
RX - when recovering from line chatter or bitstuff errors, treat SE0 as the end of chatter as well as 8 consecutive idle bits.
Sourcepub fn set_sie_rx_chatter_se0_fix(&mut self, val: bool)
pub fn set_sie_rx_chatter_se0_fix(&mut self, val: bool)
RX - when recovering from line chatter or bitstuff errors, treat SE0 as the end of chatter as well as 8 consecutive idle bits.
Sourcepub const fn dev_rx_err_quiesce(&self) -> bool
pub const fn dev_rx_err_quiesce(&self) -> bool
Device - suppress repeated errors until the device FSM is next in the process of decoding an inbound packet.
Sourcepub fn set_dev_rx_err_quiesce(&mut self, val: bool)
pub fn set_dev_rx_err_quiesce(&mut self, val: bool)
Device - suppress repeated errors until the device FSM is next in the process of decoding an inbound packet.
Sourcepub const fn dev_ls_wake_fix(&self) -> bool
pub const fn dev_ls_wake_fix(&self) -> bool
Device - exit suspend on any non-idle signalling, not qualified with a 1ms timer
Sourcepub fn set_dev_ls_wake_fix(&mut self, val: bool)
pub fn set_dev_ls_wake_fix(&mut self, val: bool)
Device - exit suspend on any non-idle signalling, not qualified with a 1ms timer
pub const fn spare_fix(&self) -> u8
pub fn set_spare_fix(&mut self, val: u8)
Trait Implementations§
Source§impl Clone for LinestateTuning
impl Clone for LinestateTuning
Source§fn clone(&self) -> LinestateTuning
fn clone(&self) -> LinestateTuning
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more