[][src]Enum lpc55_pac::iocon::pio1_5::MODE_A

[]
#[repr(u8)]pub enum MODE_A {
    INACTIVE,
    PULL_DOWN,
    PULL_UP,
    REPEATER,
}
[]

Selects function mode (on-chip pull-up/pull-down resistor control).

Value on reset: 0

Variants

INACTIVE
[]

0: Inactive. Inactive (no pull-down/pull-up resistor enabled).

PULL_DOWN
[]

1: Pull-down. Pull-down resistor enabled.

PULL_UP
[]

2: Pull-up. Pull-up resistor enabled.

REPEATER
[]

3: Repeater. Repeater mode.

Trait Implementations

impl Clone for MODE_A[src][+]

impl Copy for MODE_A[src]

impl Debug for MODE_A[src][+]

impl From<MODE_A> for u8[src][+]

impl PartialEq<MODE_A> for MODE_A[src][+]

impl StructuralPartialEq for MODE_A[src]

Auto Trait Implementations

impl Send for MODE_A

impl Sync for MODE_A

impl Unpin for MODE_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[src]

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.