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