Struct Doepctl11
#[repr(transparent)]pub struct Doepctl11(pub u32);Expand description
Device Control OUT Endpoint Control Register 11.
Tuple Fields§
§0: u32Implementations§
§impl Doepctl11
impl Doepctl11
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 naksts(&self) -> Doepctl11Naksts
pub const fn naksts(&self) -> Doepctl11Naksts
NAK Status (NAKSts).
pub const fn set_naksts(&mut self, val: Doepctl11Naksts)
pub const fn set_naksts(&mut self, val: Doepctl11Naksts)
NAK Status (NAKSts).
pub const fn eptype(&self) -> Doepctl11Eptype
pub const fn eptype(&self) -> Doepctl11Eptype
Endpoint Type (EPType).
pub const fn set_eptype(&mut self, val: Doepctl11Eptype)
pub const fn set_eptype(&mut self, val: Doepctl11Eptype)
Endpoint Type (EPType).
pub const fn cnak(&self) -> bool
pub const fn set_cnak(&mut self, val: bool)
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 Doepctl11
impl Eq for Doepctl11
impl StructuralPartialEq for Doepctl11
Auto Trait Implementations§
impl Forget for Doepctl11
impl Freeze for Doepctl11
impl Move for Doepctl11
impl RefUnwindSafe for Doepctl11
impl Send for Doepctl11
impl Sync for Doepctl11
impl Unpin for Doepctl11
impl UnsafeUnpin for Doepctl11
impl UnwindSafe for Doepctl11
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