#[repr(transparent)]pub struct Endptctrl5(pub u32);Expand description
Endpoint Control 5
Tuple Fields§
§0: u32Implementations§
Source§impl Endptctrl5
impl Endptctrl5
Sourcepub const fn rxt(&self) -> Endptctrl5Rxt
pub const fn rxt(&self) -> Endptctrl5Rxt
RX Endpoint Type
Sourcepub const fn set_rxt(&mut self, val: Endptctrl5Rxt)
pub const fn set_rxt(&mut self, val: Endptctrl5Rxt)
RX Endpoint Type
Sourcepub const fn txt(&self) -> Endptctrl5Txt
pub const fn txt(&self) -> Endptctrl5Txt
TX Endpoint Type
Sourcepub const fn set_txt(&mut self, val: Endptctrl5Txt)
pub const fn set_txt(&mut self, val: Endptctrl5Txt)
TX Endpoint Type
Sourcepub const fn txi(&self) -> Endptctrl5Txi
pub const fn txi(&self) -> Endptctrl5Txi
TX Data Toggle Inhibit
Sourcepub const fn set_txi(&mut self, val: Endptctrl5Txi)
pub const fn set_txi(&mut self, val: Endptctrl5Txi)
TX Data Toggle Inhibit
Trait Implementations§
Source§impl Clone for Endptctrl5
impl Clone for Endptctrl5
Source§fn clone(&self) -> Endptctrl5
fn clone(&self) -> Endptctrl5
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Endptctrl5
impl Debug for Endptctrl5
Source§impl Default for Endptctrl5
impl Default for Endptctrl5
Source§fn default() -> Endptctrl5
fn default() -> Endptctrl5
Returns the “default value” for a type. Read more
Source§impl PartialEq for Endptctrl5
impl PartialEq for Endptctrl5
impl Copy for Endptctrl5
impl Eq for Endptctrl5
impl StructuralPartialEq for Endptctrl5
Auto Trait Implementations§
impl Freeze for Endptctrl5
impl RefUnwindSafe for Endptctrl5
impl Send for Endptctrl5
impl Sync for Endptctrl5
impl Unpin for Endptctrl5
impl UnwindSafe for Endptctrl5
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