[][src]Enum ambiq_apollo1_pac::gpio::padregd::PAD14FNCSEL_A

#[repr(u8)]
pub enum PAD14FNCSEL_A {
    ADC2,
    M1NCE2,
    UARTTX,
    GPIO14,
    EXTHFS,
    DIS,
}

Pad 14 function select

Value on reset: 3

Variants

ADC2

0: Configure as the analog ADC input 2

M1NCE2

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

UARTTX

2: Configure as the UART TX signal

GPIO14

3: Configure as GPIO14

EXTHFS

5: Configure as the external HFRC select signal

DIS

7: Pad disabled

Trait Implementations

impl Clone for PAD14FNCSEL_A[src]

impl Copy for PAD14FNCSEL_A[src]

impl Debug for PAD14FNCSEL_A[src]

impl From<PAD14FNCSEL_A> for u8[src]

impl PartialEq<PAD14FNCSEL_A> for PAD14FNCSEL_A[src]

impl StructuralPartialEq for PAD14FNCSEL_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.