#[repr(transparent)]pub struct Doeptsiz1(pub u32);Expand description
Device OUT Endpoint Transfer Size Register
Tuple Fields§
§0: u32Implementations§
Source§impl Doeptsiz1
impl Doeptsiz1
Sourcepub const fn set_xfersize(&mut self, val: u32)
pub const fn set_xfersize(&mut self, val: u32)
Transfer Size (XferSize)
Sourcepub const fn set_pktcnt(&mut self, val: u16)
pub const fn set_pktcnt(&mut self, val: u16)
Packet Count (PktCnt)
Sourcepub const fn rxdpid(&self) -> Doeptsiz1Rxdpid
pub const fn rxdpid(&self) -> Doeptsiz1Rxdpid
RxDPID
Sourcepub const fn set_rxdpid(&mut self, val: Doeptsiz1Rxdpid)
pub const fn set_rxdpid(&mut self, val: Doeptsiz1Rxdpid)
RxDPID
Trait Implementations§
impl Copy for Doeptsiz1
impl Eq for Doeptsiz1
impl StructuralPartialEq for Doeptsiz1
Auto Trait Implementations§
impl Freeze for Doeptsiz1
impl RefUnwindSafe for Doeptsiz1
impl Send for Doeptsiz1
impl Sync for Doeptsiz1
impl Unpin for Doeptsiz1
impl UnwindSafe for Doeptsiz1
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)