embassy-stm32

Crates

git

Versions

stm32h747xg-cm4

Flavors

Skip to main content

Instance

Trait Instance 

Source
pub trait Instance:
    SealedInstance
    + PeripheralType
    + 'static
    + Send {
    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§

Source§

impl Instance for DFSDM1

Source§

type Transceivers = TcvCnt8

Source§

type Filters = FltCnt4