pub enum Otgver {
Value1 = 0,
Value2 = 1,
}
Expand description
OTG Version
Value on reset: 0
Variants§
Value1 = 0
0: OTG Version 1.3. In this version the core supports Data line pulsing and VBus pulsing for SRP.
Value2 = 1
1: OTG Version 2.0. In this version the core supports only Data line pulsing for SRP.
Trait Implementations§
source§impl PartialEq for Otgver
impl PartialEq for Otgver
impl Copy for Otgver
impl Eq for Otgver
impl StructuralPartialEq for Otgver
Auto Trait Implementations§
impl RefUnwindSafe for Otgver
impl Send for Otgver
impl Sync for Otgver
impl Unpin for Otgver
impl UnwindSafe for Otgver
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