[][src]Enum ambiq_apollo1_pac::gpio::padregf::PAD21FNCSEL_A

#[repr(u8)]
pub enum PAD21FNCSEL_A {
    SWDIO,
    M1NCE6,
    TCTB2,
    GPIO21,
}

Pad 21 function select

Value on reset: 0

Variants

SWDIO

0: Configure as the serial wire debug data signal

M1NCE6

1: Configure as the SPI channel 6 nCE signal from IOMSTR1

TCTB2

2: Configure as the input/output signal from CTIMER B2

GPIO21

3: Configure as GPIO21

Trait Implementations

impl Clone for PAD21FNCSEL_A[src]

impl Copy for PAD21FNCSEL_A[src]

impl Debug for PAD21FNCSEL_A[src]

impl From<PAD21FNCSEL_A> for u8[src]

impl PartialEq<PAD21FNCSEL_A> for PAD21FNCSEL_A[src]

impl StructuralPartialEq for PAD21FNCSEL_A[src]

Auto Trait Implementations

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.