[][src]Enum k22f::usb0::otgctl::OTGEN_A

pub enum OTGEN_A {
    _0,
    _1,
}

On-The-Go pullup/pulldown resistor enable

Value on reset: 0

Variants

_0

0: If USB_EN is 1 and HOST_MODE is 0 in the Control Register (CTL), then the D+ Data Line pull-up resistors are enabled. If HOST_MODE is 1 the D+ and D- Data Line pull-down resistors are engaged.

_1

1: The pull-up and pull-down controls in this register are used.

Trait Implementations

impl Clone for OTGEN_A[src]

impl Copy for OTGEN_A[src]

impl Debug for OTGEN_A[src]

impl From<OTGEN_A> for bool[src]

impl PartialEq<OTGEN_A> for OTGEN_A[src]

impl StructuralPartialEq for OTGEN_A[src]

Auto Trait Implementations

impl Send for OTGEN_A

impl Sync for OTGEN_A

impl Unpin for OTGEN_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.