#[repr(transparent)]pub struct Doeptsiz(pub u32);
Expand description
Device OUT endpoint transfer size register
Tuple Fields§
§0: u32
Implementations§
Source§impl Doeptsiz
impl Doeptsiz
Sourcepub fn set_xfrsiz(&mut self, val: u32)
pub fn set_xfrsiz(&mut self, val: u32)
Transfer size
Sourcepub fn set_pktcnt(&mut self, val: u16)
pub fn set_pktcnt(&mut self, val: u16)
Packet count
Sourcepub const fn rxdpid_stupcnt(&self) -> u8
pub const fn rxdpid_stupcnt(&self) -> u8
Received data PID/SETUP packet count
Sourcepub 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