[][src]Enum ambiq_apollo1_pac::gpio::padregb::PAD5FNCSEL_A

#[repr(u8)]
pub enum PAD5FNCSEL_A {
    M0SCL,
    M0SCK,
    UARTS,
    GPIO5,
    SLSCK,
    SLSCL,
    DIS,
}

Pad 5 function select

Value on reset: 3

Variants

M0SCL

0: Configure as the IOMSTR0 I2C SCL signal

M0SCK

1: Configure as the IOMSTR0 SPI SCK signal

UARTS

2: Configure as the UART RTS signal

GPIO5

3: Configure as GPIO5

SLSCK

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

SLSCL

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

DIS

7: Pad disabled

Trait Implementations

impl Clone for PAD5FNCSEL_A[src]

impl Copy for PAD5FNCSEL_A[src]

impl Debug for PAD5FNCSEL_A[src]

impl From<PAD5FNCSEL_A> for u8[src]

impl PartialEq<PAD5FNCSEL_A> for PAD5FNCSEL_A[src]

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