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