#[repr(transparent)]pub struct Dieptsiz4(pub u32);Expand description
Device IN Endpoint Transfer Size Register
Tuple Fields§
§0: u32Implementations§
Source§impl Dieptsiz4
impl Dieptsiz4
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 mc(&self) -> Dieptsiz4Mc
pub const fn mc(&self) -> Dieptsiz4Mc
MC
Sourcepub const fn set_mc(&mut self, val: Dieptsiz4Mc)
pub const fn set_mc(&mut self, val: Dieptsiz4Mc)
MC
Trait Implementations§
impl Copy for Dieptsiz4
impl Eq for Dieptsiz4
impl StructuralPartialEq for Dieptsiz4
Auto Trait Implementations§
impl Freeze for Dieptsiz4
impl RefUnwindSafe for Dieptsiz4
impl Send for Dieptsiz4
impl Sync for Dieptsiz4
impl Unpin for Dieptsiz4
impl UnwindSafe for Dieptsiz4
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)