rp-pac

Crates

git

Versions

rp235x

Flavors

Struct rp_pac::usb::regs::EpRxError

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

RX error count for each endpoint. Write to each field to reset the counter to 0.

Tuple Fields§

§0: u32

Implementations§

source§

impl EpRxError

source

pub const fn ep0_transaction(&self) -> bool

source

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

source

pub const fn ep0_seq(&self) -> bool

source

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

source

pub const fn ep1_transaction(&self) -> bool

source

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

source

pub const fn ep1_seq(&self) -> bool

source

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

source

pub const fn ep2_transaction(&self) -> bool

source

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

source

pub const fn ep2_seq(&self) -> bool

source

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

source

pub const fn ep3_transaction(&self) -> bool

source

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

source

pub const fn ep3_seq(&self) -> bool

source

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

source

pub const fn ep4_transaction(&self) -> bool

source

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

source

pub const fn ep4_seq(&self) -> bool

source

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

source

pub const fn ep5_transaction(&self) -> bool

source

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

source

pub const fn ep5_seq(&self) -> bool

source

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

source

pub const fn ep6_transaction(&self) -> bool

source

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

source

pub const fn ep6_seq(&self) -> bool

source

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

source

pub const fn ep7_transaction(&self) -> bool

source

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

source

pub const fn ep7_seq(&self) -> bool

source

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

source

pub const fn ep8_transaction(&self) -> bool

source

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

source

pub const fn ep8_seq(&self) -> bool

source

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

source

pub const fn ep9_transaction(&self) -> bool

source

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

source

pub const fn ep9_seq(&self) -> bool

source

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

source

pub const fn ep10_transaction(&self) -> bool

source

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

source

pub const fn ep10_seq(&self) -> bool

source

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

source

pub const fn ep11_transaction(&self) -> bool

source

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

source

pub const fn ep11_seq(&self) -> bool

source

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

source

pub const fn ep12_transaction(&self) -> bool

source

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

source

pub const fn ep12_seq(&self) -> bool

source

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

source

pub const fn ep13_transaction(&self) -> bool

source

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

source

pub const fn ep13_seq(&self) -> bool

source

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

source

pub const fn ep14_transaction(&self) -> bool

source

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

source

pub const fn ep14_seq(&self) -> bool

source

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

source

pub const fn ep15_transaction(&self) -> bool

source

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

source

pub const fn ep15_seq(&self) -> bool

source

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

Trait Implementations§

source§

impl Clone for EpRxError

source§

fn clone(&self) -> EpRxError

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 EpRxError

source§

fn default() -> EpRxError

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

impl PartialEq for EpRxError

source§

fn eq(&self, other: &EpRxError) -> 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 EpRxError

source§

impl Eq for EpRxError

source§

impl StructuralPartialEq for EpRxError

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.