#[repr(transparent)]pub struct Doepctl(pub u32);
Expand description
Device endpoint control register
Tuple Fields§
§0: u32
Implementations§
Source§impl Doepctl
impl Doepctl
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 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 Doepctl
impl Eq for Doepctl
impl StructuralPartialEq for Doepctl
Auto Trait Implementations§
impl Freeze for Doepctl
impl RefUnwindSafe for Doepctl
impl Send for Doepctl
impl Sync for Doepctl
impl Unpin for Doepctl
impl UnwindSafe for Doepctl
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