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