#[repr(transparent)]pub struct EpTxError(pub u32);
Expand description
TX error count for each endpoint. Write to each field to reset the counter to 0.
Tuple Fields§
§0: u32
Implementations§
Source§impl EpTxError
impl EpTxError
pub const fn ep0(&self) -> u8
pub fn set_ep0(&mut self, val: u8)
pub const fn ep1(&self) -> u8
pub fn set_ep1(&mut self, val: u8)
pub const fn ep2(&self) -> u8
pub fn set_ep2(&mut self, val: u8)
pub const fn ep3(&self) -> u8
pub fn set_ep3(&mut self, val: u8)
pub const fn ep4(&self) -> u8
pub fn set_ep4(&mut self, val: u8)
pub const fn ep5(&self) -> u8
pub fn set_ep5(&mut self, val: u8)
pub const fn ep6(&self) -> u8
pub fn set_ep6(&mut self, val: u8)
pub const fn ep7(&self) -> u8
pub fn set_ep7(&mut self, val: u8)
pub const fn ep8(&self) -> u8
pub fn set_ep8(&mut self, val: u8)
pub const fn ep9(&self) -> u8
pub fn set_ep9(&mut self, val: u8)
pub const fn ep10(&self) -> u8
pub fn set_ep10(&mut self, val: u8)
pub const fn ep11(&self) -> u8
pub fn set_ep11(&mut self, val: u8)
pub const fn ep12(&self) -> u8
pub fn set_ep12(&mut self, val: u8)
pub const fn ep13(&self) -> u8
pub fn set_ep13(&mut self, val: u8)
pub const fn ep14(&self) -> u8
pub fn set_ep14(&mut self, val: u8)
pub const fn ep15(&self) -> u8
pub fn set_ep15(&mut self, val: u8)
Trait Implementations§
impl Copy for EpTxError
impl Eq for EpTxError
impl StructuralPartialEq for EpTxError
Auto Trait Implementations§
impl Freeze for EpTxError
impl RefUnwindSafe for EpTxError
impl Send for EpTxError
impl Sync for EpTxError
impl Unpin for EpTxError
impl UnwindSafe for EpTxError
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