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