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 StructuralPartialEq for Grxsts
Auto Trait Implementations§
impl Freeze for Grxsts
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
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
)