pub trait TimerPin<T: GeneralInstance4Channel, M: TimerChannel, A>: Pin {
// Required method
fn afio_remap(&self);
}
Expand description
TimerPin pin trait
Required Methods§
Sourcefn afio_remap(&self)
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.