Struct Doepctl
#[repr(transparent)]pub struct Doepctl(pub u32);
Expand description
Device endpoint control register
Tuple Fields§
§0: u32
Implementations§
§impl Doepctl
impl Doepctl
pub fn set_usbaep(&mut self, val: bool)
pub fn set_usbaep(&mut self, val: bool)
USBAEP
pub const fn eonum_dpid(&self) -> bool
pub const fn eonum_dpid(&self) -> bool
EONUM/DPID
pub fn set_eonum_dpid(&mut self, val: bool)
pub fn set_eonum_dpid(&mut self, val: bool)
EONUM/DPID
pub fn set_naksts(&mut self, val: bool)
pub fn set_naksts(&mut self, val: bool)
NAKSTS
pub const fn sd0pid_sevnfrm(&self) -> bool
pub const fn sd0pid_sevnfrm(&self) -> bool
SD0PID/SEVNFRM
pub fn set_sd0pid_sevnfrm(&mut self, val: bool)
pub fn set_sd0pid_sevnfrm(&mut self, val: bool)
SD0PID/SEVNFRM
pub fn set_soddfrm(&mut self, val: bool)
pub fn set_soddfrm(&mut self, val: bool)
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
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
)