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

#[repr(u8)]
pub enum PAD12FNCSEL_A {
    ADC0,
    M1NCE0,
    TCTA0,
    GPIO12,
}

Pad 12 function select

Value on reset: 3

Variants

ADC0

0: Configure as the analog ADC input 0

M1NCE0

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

TCTA0

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

GPIO12

3: Configure as GPIO12

Trait Implementations

impl Clone for PAD12FNCSEL_A[src]

impl Copy for PAD12FNCSEL_A[src]

impl Debug for PAD12FNCSEL_A[src]

impl From<PAD12FNCSEL_A> for u8[src]

impl PartialEq<PAD12FNCSEL_A> for PAD12FNCSEL_A[src]

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