#[repr(transparent)]pub struct Endptctrl2(pub u32);Expand description
Endpoint Control 2
Tuple Fields§
§0: u32Implementations§
Source§impl Endptctrl2
impl Endptctrl2
Sourcepub const fn rxt(&self) -> Endptctrl2Rxt
pub const fn rxt(&self) -> Endptctrl2Rxt
RX Endpoint Type
Sourcepub const fn set_rxt(&mut self, val: Endptctrl2Rxt)
pub const fn set_rxt(&mut self, val: Endptctrl2Rxt)
RX Endpoint Type
Sourcepub const fn txt(&self) -> Endptctrl2Txt
pub const fn txt(&self) -> Endptctrl2Txt
TX Endpoint Type
Sourcepub const fn set_txt(&mut self, val: Endptctrl2Txt)
pub const fn set_txt(&mut self, val: Endptctrl2Txt)
TX Endpoint Type
Sourcepub const fn txi(&self) -> Endptctrl2Txi
pub const fn txi(&self) -> Endptctrl2Txi
TX Data Toggle Inhibit
Sourcepub const fn set_txi(&mut self, val: Endptctrl2Txi)
pub const fn set_txi(&mut self, val: Endptctrl2Txi)
TX Data Toggle Inhibit
Trait Implementations§
Source§impl Clone for Endptctrl2
impl Clone for Endptctrl2
Source§fn clone(&self) -> Endptctrl2
fn clone(&self) -> Endptctrl2
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 Endptctrl2
impl Debug for Endptctrl2
Source§impl Default for Endptctrl2
impl Default for Endptctrl2
Source§fn default() -> Endptctrl2
fn default() -> Endptctrl2
Returns the “default value” for a type. Read more
Source§impl PartialEq for Endptctrl2
impl PartialEq for Endptctrl2
impl Copy for Endptctrl2
impl Eq for Endptctrl2
impl StructuralPartialEq for Endptctrl2
Auto Trait Implementations§
impl Freeze for Endptctrl2
impl RefUnwindSafe for Endptctrl2
impl Send for Endptctrl2
impl Sync for Endptctrl2
impl Unpin for Endptctrl2
impl UnwindSafe for Endptctrl2
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