#[repr(u8)]pub enum Otgen {
CONFIG_RESISTORS_CTL = 0,
CONFIG_RESISTORS_HERE = 1,
}Variants§
CONFIG_RESISTORS_CTL = 0
If USBENSOFEN is 1 and HOSTMODEEN is 0 in the Control Register (CTL), then the D+ Data line pullup resistors are enabled. If HOSTMODEEN is 1, then the D+ and D- Data line pulldown resistors are engaged.
CONFIG_RESISTORS_HERE = 1
Uses the pullup and pulldown controls in this register.
Implementations§
Trait Implementations§
Source§impl Ord for Otgen
impl Ord for Otgen
Source§impl PartialOrd for Otgen
impl PartialOrd for Otgen
impl Copy for Otgen
impl Eq for Otgen
impl StructuralPartialEq for Otgen
Auto Trait Implementations§
impl Freeze for Otgen
impl RefUnwindSafe for Otgen
impl Send for Otgen
impl Sync for Otgen
impl Unpin for Otgen
impl UnwindSafe for Otgen
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