[][src]Enum ambiq_apollo3_pac::gpio::padregk::PAD40FNCSELR

pub enum PAD40FNCSELR {
    UART0RX,
    UART1RX,
    TRIG0,
    GPIO40,
    M4SDAWIR3,
    M4MISO,
    _Reserved(u8),
}

Possible values of the field PAD40FNCSEL

Variants

UART0RX

Configure as the UART0 RX input signal value.

UART1RX

Configure as the UART1 RX input signal value.

TRIG0

Configure as the ADC Trigger 0 signal value.

GPIO40

Configure as GPIO40 value.

M4SDAWIR3

Configure as the IOMSTR4 I2C SDA or SPI WIR3 signal value.

M4MISO

Configure as the IOMSTR4 SPI MISO input signal value.

_Reserved(u8)

Reserved

Methods

impl PAD40FNCSELR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_uart0rx(&self) -> bool[src]

Checks if the value of the field is UART0RX

pub fn is_uart1rx(&self) -> bool[src]

Checks if the value of the field is UART1RX

pub fn is_trig0(&self) -> bool[src]

Checks if the value of the field is TRIG0

pub fn is_gpio40(&self) -> bool[src]

Checks if the value of the field is GPIO40

pub fn is_m4sdawir3(&self) -> bool[src]

Checks if the value of the field is M4SDAWIR3

pub fn is_m4miso(&self) -> bool[src]

Checks if the value of the field is M4MISO

Trait Implementations

impl Copy for PAD40FNCSELR[src]

impl Debug for PAD40FNCSELR[src]

impl PartialEq<PAD40FNCSELR> for PAD40FNCSELR[src]

impl Clone for PAD40FNCSELR[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self