embassy-stm32

Crates

git

Versions

stm32f101t4

Flavors

TimerPin

Trait TimerPin 

Source
pub trait TimerPin<T: GeneralInstance4Channel, M: TimerChannel, A>: Pin {
    // Required method
    fn afio_remap(&self);
}
Expand description

TimerPin pin trait

Required Methods§

Source

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin

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§