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