embassy-stm32

Crates

git

Versions

stm32l4p5re

Flavors

Skip to main content

Instance

Trait Instance 

Source
pub trait Instance:
    SealedInstance
    + PeripheralType
    + 'static {
    type Transceivers: TransceiverCount;
    type Filters: FilterCount;

    // Required method
    fn instance_state() -> &'static InstanceState;
}
Expand description

A DFSDM peripheral instance.

Required Associated Types§

Source

type Transceivers: TransceiverCount

Number of transceivers on this instance.

Source

type Filters: FilterCount

Number of filters on this instance.

Required Methods§

Source

fn instance_state() -> &'static InstanceState

Shared instance-level state.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§