embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Instance

Trait Instance 

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

    const CLOCK_INSTANCE: CTimerInstance;
    const PERF_INT_INCR: fn();
    const PERF_INT_WAKE_INCR: fn();
}
Expand description

CTimer Instance

Required Associated Constants§

Required Associated Types§

Source

type Interrupt: Interrupt

Interrupt for this I2C 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 CTIMER0

Source§

const CLOCK_INSTANCE: CTimerInstance = crate::clocks::periph_helpers::CTimerInstance::CTimer0

Source§

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

Source§

const PERF_INT_WAKE_INCR: fn() = {perf_counters::incr_interrupt_ctimer0_wake as fn()}

Source§

type Interrupt = CTIMER0

Source§

impl Instance for CTIMER1

Source§

const CLOCK_INSTANCE: CTimerInstance = crate::clocks::periph_helpers::CTimerInstance::CTimer1

Source§

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

Source§

const PERF_INT_WAKE_INCR: fn() = {perf_counters::incr_interrupt_ctimer1_wake as fn()}

Source§

type Interrupt = CTIMER1

Source§

impl Instance for CTIMER2

Source§

const CLOCK_INSTANCE: CTimerInstance = crate::clocks::periph_helpers::CTimerInstance::CTimer2

Source§

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

Source§

const PERF_INT_WAKE_INCR: fn() = {perf_counters::incr_interrupt_ctimer2_wake as fn()}

Source§

type Interrupt = CTIMER2

Source§

impl Instance for CTIMER3

Source§

const CLOCK_INSTANCE: CTimerInstance = crate::clocks::periph_helpers::CTimerInstance::CTimer3

Source§

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

Source§

const PERF_INT_WAKE_INCR: fn() = {perf_counters::incr_interrupt_ctimer3_wake as fn()}

Source§

type Interrupt = CTIMER3

Source§

impl Instance for CTIMER4

Source§

const CLOCK_INSTANCE: CTimerInstance = crate::clocks::periph_helpers::CTimerInstance::CTimer4

Source§

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

Source§

const PERF_INT_WAKE_INCR: fn() = {perf_counters::incr_interrupt_ctimer4_wake as fn()}

Source§

type Interrupt = CTIMER4