embassy-stm32

Crates

git

Versions

stm32h747ig-cm7

Flavors

Skip to main content

NextChannel

Trait NextChannel 

Source
pub trait NextChannel<C: TransceiverCount>: TransceiverMarker {
    type Next: TransceiverMarker;
}
Expand description

Per-instance “successor” transceiver.

C is the instance’s transceiver-capability (<T as Instance>::Transceivers), so the modulo-N wrap depends on the instance shape, not on the marker itself.

Required Associated Types§

Source

type Next: TransceiverMarker

Marker of the next transceiver, modulo the capability’s max count.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§