embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

RxPin

Trait RxPin 

Source
pub trait RxPin<T: Instance>:
    Into<AnyPin>
    + Sealed
    + PeripheralType {
    const MUX: Mux;

    // Required method
    fn as_rx(&self);
}

Required Associated Constants§

Source

const MUX: Mux

Required Methods§

Source

fn as_rx(&self)

convert the pin to appropriate function for Lpuart Rx usage

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl RxPin<LPUART0> for P0_2

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX2

Source§

impl RxPin<LPUART0> for P0_20

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART0> for P2_0

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX2

Source§

impl RxPin<LPUART1> for P1_8

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX2

Source§

impl RxPin<LPUART1> for P2_12

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART1> for P3_8

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART1> for P3_20

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART2> for P1_4

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART2> for P1_12

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART2> for P2_3

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART2> for P2_11

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART2> for P3_14

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX2

Source§

impl RxPin<LPUART3> for P3_0

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART3> for P3_13

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART3> for P4_2

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART4> for P2_6

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART4> for P3_18

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX2

Source§

impl RxPin<LPUART4> for P3_28

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3

Source§

impl RxPin<LPUART4> for P4_4

Source§

const MUX: Mux = crate::pac::port::vals::Mux::MUX3