Struct stm32_metapac::otg::regs::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 PartialEq for Doeptsiz
impl PartialEq for Doeptsiz
impl Copy for Doeptsiz
impl Eq for Doeptsiz
impl StructuralEq for Doeptsiz
impl StructuralPartialEq for Doeptsiz
Auto Trait Implementationsยง
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