pub trait TxPin<T: Instance, A>: Pin {
// Required method
fn afio_remap(&self);
}Expand description
TxPin pin trait
Required Methods§
Sourcefn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TxPin
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§
impl TxPin<UART4, AfioRemapNotApplicable> for PC10
Available on
afio only.impl TxPin<UART5, AfioRemapNotApplicable> for PC12
Available on
afio only.