embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

TxPin

Trait TxPin 

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

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

Required Associated Constants§

Source

const MUX: Mux

Required Methods§

Source

fn as_tx(&self)

convert the pin to appropriate function for Lpuart Tx 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 TxPin<LPUART0> for P0_21

Source§

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

Source§

impl TxPin<LPUART0> for P2_1

Source§

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

Source§

impl TxPin<LPUART1> for P1_9

Source§

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

Source§

impl TxPin<LPUART1> for P2_13

Source§

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

Source§

impl TxPin<LPUART1> for P3_9

Source§

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

Source§

impl TxPin<LPUART1> for P3_21

Source§

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

Source§

impl TxPin<LPUART2> for P1_5

Source§

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

Source§

impl TxPin<LPUART2> for P1_13

Source§

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

Source§

impl TxPin<LPUART2> for P2_2

Source§

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

Source§

impl TxPin<LPUART2> for P2_10

Source§

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

Source§

impl TxPin<LPUART2> for P3_15

Source§

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

Source§

impl TxPin<LPUART3> for P3_1

Source§

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

Source§

impl TxPin<LPUART3> for P3_12

Source§

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

Source§

impl TxPin<LPUART3> for P4_5

Source§

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

Source§

impl TxPin<LPUART4> for P2_7

Source§

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

Source§

impl TxPin<LPUART4> for P3_19

Source§

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

Source§

impl TxPin<LPUART4> for P3_27

Source§

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

Source§

impl TxPin<LPUART4> for P4_3

Source§

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