Struct Diepctl13
#[repr(transparent)]pub struct Diepctl13(pub u32);Expand description
Device Control IN Endpoint Control Register 13.
Tuple Fields§
§0: u32Implementations§
§impl Diepctl13
impl Diepctl13
pub const fn set_usbactep(&mut self, val: bool)
pub const fn set_usbactep(&mut self, val: bool)
USB Active Endpoint (USBActEP).
pub const fn dpid(&self) -> Diepctl13Dpid
pub const fn set_dpid(&mut self, val: Diepctl13Dpid)
pub const fn naksts(&self) -> Diepctl13Naksts
pub const fn naksts(&self) -> Diepctl13Naksts
NAK Status (NAKSts).
pub const fn set_naksts(&mut self, val: Diepctl13Naksts)
pub const fn set_naksts(&mut self, val: Diepctl13Naksts)
NAK Status (NAKSts).
pub const fn eptype(&self) -> Diepctl13Eptype
pub const fn eptype(&self) -> Diepctl13Eptype
Endpoint Type (EPType).
pub const fn set_eptype(&mut self, val: Diepctl13Eptype)
pub const fn set_eptype(&mut self, val: Diepctl13Eptype)
Endpoint Type (EPType).
pub const fn txfnum(&self) -> Diepctl13Txfnum
pub const fn txfnum(&self) -> Diepctl13Txfnum
TxFIFO Number (TxFNum).
pub const fn set_txfnum(&mut self, val: Diepctl13Txfnum)
pub const fn set_txfnum(&mut self, val: Diepctl13Txfnum)
TxFIFO Number (TxFNum).
pub const fn set_setd0pid(&mut self, val: bool)
pub const fn set_setd0pid(&mut self, val: bool)
Set DATA0 PID (SetD0PID).
pub const fn set_setd1pid(&mut self, val: bool)
pub const fn set_setd1pid(&mut self, val: bool)
Set DATA1 PID (SetD1PID).
Trait Implementations§
impl Copy for Diepctl13
impl Eq for Diepctl13
impl StructuralPartialEq for Diepctl13
Auto Trait Implementations§
impl Forget for Diepctl13
impl Freeze for Diepctl13
impl Move for Diepctl13
impl RefUnwindSafe for Diepctl13
impl Send for Diepctl13
impl Sync for Diepctl13
impl Unpin for Diepctl13
impl UnsafeUnpin for Diepctl13
impl UnwindSafe for Diepctl13
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