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