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

#[repr(u8)]
pub enum PAD6FNCSEL_A {
    M0SDA,
    M0MISO,
    UACTS,
    GPIO6,
    SLMISO,
    SLSDA,
    DIS,
}

Pad 6 function select

Value on reset: 3

Variants

M0SDA

0: Configure as the IOMSTR0 I2C SDA signal

M0MISO

1: Configure as the IOMSTR0 SPI MISO signal

UACTS

2: Configure as the UART CTS signal

GPIO6

3: Configure as GPIO6

SLMISO

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

SLSDA

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

DIS

7: Pad disabled

Trait Implementations

impl Clone for PAD6FNCSEL_A[src]

impl Copy for PAD6FNCSEL_A[src]

impl Debug for PAD6FNCSEL_A[src]

impl From<PAD6FNCSEL_A> for u8[src]

impl PartialEq<PAD6FNCSEL_A> for PAD6FNCSEL_A[src]

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