Struct Diepctl14
#[repr(transparent)]pub struct Diepctl14(pub u32);Expand description
Device Control IN Endpoint Control Register 14.
Tuple Fields§
§0: u32Implementations§
§impl Diepctl14
impl Diepctl14
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) -> Diepctl14Dpid
pub const fn set_dpid(&mut self, val: Diepctl14Dpid)
pub const fn naksts(&self) -> Diepctl14Naksts
pub const fn naksts(&self) -> Diepctl14Naksts
NAK Status (NAKSts).
pub const fn set_naksts(&mut self, val: Diepctl14Naksts)
pub const fn set_naksts(&mut self, val: Diepctl14Naksts)
NAK Status (NAKSts).
pub const fn eptype(&self) -> Diepctl14Eptype
pub const fn eptype(&self) -> Diepctl14Eptype
Endpoint Type (EPType).
pub const fn set_eptype(&mut self, val: Diepctl14Eptype)
pub const fn set_eptype(&mut self, val: Diepctl14Eptype)
Endpoint Type (EPType).
pub const fn txfnum(&self) -> Diepctl14Txfnum
pub const fn txfnum(&self) -> Diepctl14Txfnum
TxFIFO Number (TxFNum).
pub const fn set_txfnum(&mut self, val: Diepctl14Txfnum)
pub const fn set_txfnum(&mut self, val: Diepctl14Txfnum)
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 Diepctl14
impl Eq for Diepctl14
impl StructuralPartialEq for Diepctl14
Auto Trait Implementations§
impl Forget for Diepctl14
impl Freeze for Diepctl14
impl Move for Diepctl14
impl RefUnwindSafe for Diepctl14
impl Send for Diepctl14
impl Sync for Diepctl14
impl Unpin for Diepctl14
impl UnsafeUnpin for Diepctl14
impl UnwindSafe for Diepctl14
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