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".
Implementors§
impl TxPin<UART4, AfioRemapNotApplicable> for PC10
Available on
afio only.impl TxPin<UART5, AfioRemapNotApplicable> for PC12
Available on
afio only.