embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Instance

Trait Instance 

Source
pub trait Instance:
    SealedInstance
    + PeripheralType
    + 'static
    + Send
    + Gate<MrccPeriphConfig = LpuartConfig> {
    type Interrupt: Interrupt;
    type TxDmaRequest: DmaRequest;
    type RxDmaRequest: DmaRequest;

    const CLOCK_INSTANCE: LpuartInstance;
}
Expand description

Trait for LPUART peripheral instances

Required Associated Constants§

Required Associated Types§

Source

type Interrupt: Interrupt

Source

type TxDmaRequest: DmaRequest

Type-safe DMA request source for TX

Source

type RxDmaRequest: DmaRequest

Type-safe DMA request source for RX

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 Instance for LPUART0

Source§

const CLOCK_INSTANCE: LpuartInstance = crate::clocks::periph_helpers::LpuartInstance::Lpuart0

Source§

type Interrupt = LPUART0

Source§

type TxDmaRequest = Lpuart0TxRequest

Source§

type RxDmaRequest = Lpuart0RxRequest

Source§

impl Instance for LPUART1

Source§

const CLOCK_INSTANCE: LpuartInstance = crate::clocks::periph_helpers::LpuartInstance::Lpuart1

Source§

type Interrupt = LPUART1

Source§

type TxDmaRequest = Lpuart1TxRequest

Source§

type RxDmaRequest = Lpuart1RxRequest

Source§

impl Instance for LPUART2

Source§

const CLOCK_INSTANCE: LpuartInstance = crate::clocks::periph_helpers::LpuartInstance::Lpuart2

Source§

type Interrupt = LPUART2

Source§

type TxDmaRequest = Lpuart2TxRequest

Source§

type RxDmaRequest = Lpuart2RxRequest

Source§

impl Instance for LPUART3

Source§

const CLOCK_INSTANCE: LpuartInstance = crate::clocks::periph_helpers::LpuartInstance::Lpuart3

Source§

type Interrupt = LPUART3

Source§

type TxDmaRequest = Lpuart3TxRequest

Source§

type RxDmaRequest = Lpuart3RxRequest

Source§

impl Instance for LPUART4

Source§

const CLOCK_INSTANCE: LpuartInstance = crate::clocks::periph_helpers::LpuartInstance::Lpuart4

Source§

type Interrupt = LPUART4

Source§

type TxDmaRequest = Lpuart4TxRequest

Source§

type RxDmaRequest = Lpuart4RxRequest

Source§

impl Instance for LPUART5

Source§

const CLOCK_INSTANCE: LpuartInstance = crate::clocks::periph_helpers::LpuartInstance::Lpuart5

Source§

type Interrupt = LPUART5

Source§

type TxDmaRequest = Lpuart5TxRequest

Source§

type RxDmaRequest = Lpuart5RxRequest