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

#[repr(u8)]
pub enum PAD2FNCSEL_A {
    SLWIR3,
    SLMOSI,
    CLKOUT,
    GPIO2,
    M0MOSI,
    M1MOSI,
    M0WIR3,
    M1WIR3,
}

Pad 2 function select

Value on reset: 3

Variants

SLWIR3

0: Configure as the IOSLAVE SPI 3-wire MOSI/MISO signal

SLMOSI

1: Configure as the IOSLAVE SPI MOSI signal

CLKOUT

2: Configure as the CLKOUT signal

GPIO2

3: Configure as GPIO2

M0MOSI

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

M1MOSI

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

M0WIR3

6: Configure as the IOSLAVE SPI 3-wire MOSI/MISO loopback signal from IOMSTR0

M1WIR3

7: Configure as the IOSLAVE SPI 3-wire MOSI/MISO loopback signal from IOMSTR1

Trait Implementations

impl Clone for PAD2FNCSEL_A[src]

impl Copy for PAD2FNCSEL_A[src]

impl Debug for PAD2FNCSEL_A[src]

impl From<PAD2FNCSEL_A> for u8[src]

impl PartialEq<PAD2FNCSEL_A> for PAD2FNCSEL_A[src]

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