embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Instance

Trait Instance 

Source
pub trait Instance:
    SealedInstance
    + PeripheralType
    + Gate<MrccPeriphConfig = AdcConfig> {
    type Interrupt: Interrupt;

    const PERF_INT_INCR: fn();
}
Expand description

ADC Instance

Required Associated Constants§

Required Associated Types§

Source

type Interrupt: Interrupt

Interrupt for this ADC instance.

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 ADC0

Source§

const PERF_INT_INCR: fn() = {perf_counters::incr_interrupt_adc0 as fn()}

Source§

type Interrupt = ADC0

Source§

impl Instance for ADC1

Source§

const PERF_INT_INCR: fn() = {perf_counters::incr_interrupt_adc1 as fn()}

Source§

type Interrupt = ADC1

Source§

impl Instance for ADC2

Source§

const PERF_INT_INCR: fn() = {perf_counters::incr_interrupt_adc2 as fn()}

Source§

type Interrupt = ADC2

Source§

impl Instance for ADC3

Source§

const PERF_INT_INCR: fn() = {perf_counters::incr_interrupt_adc3 as fn()}

Source§

type Interrupt = ADC3