Struct Doeptsiz
#[repr(transparent)]pub struct Doeptsiz(pub u32);
Expand description
Device OUT endpoint transfer size register
Tuple Fields§
§0: u32
Implementations§
§impl Doeptsiz
impl Doeptsiz
pub fn set_xfrsiz(&mut self, val: u32)
pub fn set_xfrsiz(&mut self, val: u32)
Transfer size
pub fn set_pktcnt(&mut self, val: u16)
pub fn set_pktcnt(&mut self, val: u16)
Packet count
pub const fn rxdpid_stupcnt(&self) -> u8
pub const fn rxdpid_stupcnt(&self) -> u8
Received data PID/SETUP packet count
pub fn set_rxdpid_stupcnt(&mut self, val: u8)
pub fn set_rxdpid_stupcnt(&mut self, val: u8)
Received data PID/SETUP packet count
Trait Implementations§
impl Copy for Doeptsiz
impl Eq for Doeptsiz
impl StructuralPartialEq for Doeptsiz
Auto Trait Implementations§
impl Freeze for Doeptsiz
impl RefUnwindSafe for Doeptsiz
impl Send for Doeptsiz
impl Sync for Doeptsiz
impl Unpin for Doeptsiz
impl UnwindSafe for Doeptsiz
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
)