#[repr(transparent)]pub struct Diepctl(pub u32);
Expand description
Device endpoint control register
Tuple Fields§
§0: u32
Implementations§
Source§impl Diepctl
impl Diepctl
Sourcepub fn set_usbaep(&mut self, val: bool)
pub fn set_usbaep(&mut self, val: bool)
USBAEP
Sourcepub const fn eonum_dpid(&self) -> bool
pub const fn eonum_dpid(&self) -> bool
EONUM/DPID
Sourcepub fn set_eonum_dpid(&mut self, val: bool)
pub fn set_eonum_dpid(&mut self, val: bool)
EONUM/DPID
Sourcepub fn set_naksts(&mut self, val: bool)
pub fn set_naksts(&mut self, val: bool)
NAKSTS
Sourcepub fn set_txfnum(&mut self, val: u8)
pub fn set_txfnum(&mut self, val: u8)
TXFNUM
Sourcepub const fn sd0pid_sevnfrm(&self) -> bool
pub const fn sd0pid_sevnfrm(&self) -> bool
SD0PID/SEVNFRM
Sourcepub fn set_sd0pid_sevnfrm(&mut self, val: bool)
pub fn set_sd0pid_sevnfrm(&mut self, val: bool)
SD0PID/SEVNFRM
Sourcepub const fn sd1pid_soddfrm(&self) -> bool
pub const fn sd1pid_soddfrm(&self) -> bool
SD1PID/SODDFRM
Sourcepub fn set_sd1pid_soddfrm(&mut self, val: bool)
pub fn set_sd1pid_soddfrm(&mut self, val: bool)
SD1PID/SODDFRM
Trait Implementations§
impl Copy for Diepctl
impl Eq for Diepctl
impl StructuralPartialEq for Diepctl
Auto Trait Implementations§
impl Freeze for Diepctl
impl RefUnwindSafe for Diepctl
impl Send for Diepctl
impl Sync for Diepctl
impl Unpin for Diepctl
impl UnwindSafe for Diepctl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)