embassy-stm32

Crates

git

Versions

stm32l4p5re

Flavors

Skip to main content

TriggerSource

Trait TriggerSource 

Source
pub trait TriggerSource<T: Instance, M: FilterMarker> {
    // Required method
    fn jextsel(&self) -> u8;
}
Expand description

A trigger source that can drive filter M on instance T.

Implemented by build.rs for each (instance, filter, source) combination the TRM allows: identity (jextsel == signal number) on 5-bit parts, the remapped value on 3-bit parts.

Required Methods§

Source

fn jextsel(&self) -> u8

JEXTSEL register value for this (instance, filter, source) combination.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§