pub trait TXD2Pin<T: Instance, A>: Pin {
// Required method
fn afio_remap(&self);
}
Expand description
TXD2Pin pin trait
Required Methods§
Sourcefn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TXD2Pin
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.