[][src]Enum ambiq_apollo1_pac::gpio::padrega::PAD0FNCSEL_A

#[repr(u8)]
pub enum PAD0FNCSEL_A {
    SLSCL,
    SLSCK,
    UARTTX,
    GPIO0,
    M0SCK,
    M1SCK,
    M0SCL,
    M1SCL,
}

Pad 0 function select

Value on reset: 3

Variants

SLSCL

0: Configure as the IOSLAVE I2C SCL signal

SLSCK

1: Configure as the IOSLAVE SPI SCK signal

UARTTX

2: Configure as the UART TX signal

GPIO0

3: Configure as GPIO0

M0SCK

4: Configure as the IOSLAVE SPI SCK loopback signal from IOMSTR0

M1SCK

5: Configure as the IOSLAVE SPI SCK loopback signal from IOMSTR1

M0SCL

6: Configure as the IOSLAVE I2C SCL loopback signal from IOMSTR0

M1SCL

7: Configure as the IOSLAVE I2C SCL loopback signal from IOMSTR1

Trait Implementations

impl Clone for PAD0FNCSEL_A[src]

impl Copy for PAD0FNCSEL_A[src]

impl Debug for PAD0FNCSEL_A[src]

impl From<PAD0FNCSEL_A> for u8[src]

impl PartialEq<PAD0FNCSEL_A> for PAD0FNCSEL_A[src]

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