Struct stm32_metapac::otg::regs::Grxsts
#[repr(transparent)]pub struct Grxsts(pub u32);
Expand description
Status read and pop register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Grxsts
impl Grxsts
pub fn set_pktstsd(&mut self, val: Pktstsd)
pub fn set_pktstsd(&mut self, val: Pktstsd)
Packet status (device mode)
pub fn set_pktstsh(&mut self, val: Pktstsh)
pub fn set_pktstsh(&mut self, val: Pktstsh)
Packet status (host mode)
pub fn set_frmnum(&mut self, val: u8)
pub fn set_frmnum(&mut self, val: u8)
Frame number (device mode)
Trait Implementationsยง
impl Copy for Grxsts
impl Eq for Grxsts
impl StructuralEq for Grxsts
impl StructuralPartialEq for Grxsts
Auto Trait Implementationsยง
impl RefUnwindSafe for Grxsts
impl Send for Grxsts
impl Sync for Grxsts
impl Unpin for Grxsts
impl UnwindSafe for Grxsts
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