rp-pac

Crates

git

Versions

rp235x

Flavors

Struct rp_pac::usb::regs::LinestateTuning

source ·
#[repr(transparent)]
pub struct LinestateTuning(pub u32);
Expand description

Used for debug only.

Tuple Fields§

§0: u32

Implementations§

source§

impl LinestateTuning

source

pub const fn rcv_delay(&self) -> bool

Device - register the received data to account for hub bit dribble before EOP. Only affects certain hubs.

source

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.

source

pub const fn linestate_delay(&self) -> bool

Device/Host - add an extra 1-bit debounce of linestate sampling.

source

pub fn set_linestate_delay(&mut self, val: bool)

Device/Host - add an extra 1-bit debounce of linestate sampling.

source

pub const fn multi_hub_fix(&self) -> bool

Host - increase inter-packet and turnaround timeouts to accommodate worst-case hub delays.

source

pub fn set_multi_hub_fix(&mut self, val: bool)

Host - increase inter-packet and turnaround timeouts to accommodate worst-case hub delays.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub const fn dev_ls_wake_fix(&self) -> bool

Device - exit suspend on any non-idle signalling, not qualified with a 1ms timer

source

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

source

pub const fn spare_fix(&self) -> u8

source

pub fn set_spare_fix(&mut self, val: u8)

Trait Implementations§

source§

impl Clone for LinestateTuning

source§

fn clone(&self) -> LinestateTuning

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for LinestateTuning

source§

fn default() -> LinestateTuning

Returns the “default value” for a type. Read more
source§

impl PartialEq for LinestateTuning

source§

fn eq(&self, other: &LinestateTuning) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for LinestateTuning

source§

impl Eq for LinestateTuning

source§

impl StructuralPartialEq for LinestateTuning

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.