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