Struct stm32_metapac::otg::regs::Dsts
#[repr(transparent)]pub struct Dsts(pub u32);
Expand description
Device status register
Tuple Fields§
§0: u32
Implementations§
§impl Dsts
impl Dsts
pub fn set_suspsts(&mut self, val: bool)
pub fn set_suspsts(&mut self, val: bool)
Suspend status
pub fn set_enumspd(&mut self, val: Dspd)
pub fn set_enumspd(&mut self, val: Dspd)
Enumerated speed
Trait Implementations§
impl Copy for Dsts
impl Eq for Dsts
impl StructuralEq for Dsts
impl StructuralPartialEq for Dsts
Auto Trait Implementations§
impl RefUnwindSafe for Dsts
impl Send for Dsts
impl Sync for Dsts
impl Unpin for Dsts
impl UnwindSafe for Dsts
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