pub trait RxPin<T: Instance, A>: Pin {
// Required method
fn afio_remap(&self);
}Expand description
RxPin pin trait
Required Methods§
Sourcefn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as RxPin.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl RxPin<UART4, AfioRemapNotApplicable> for PC11
Available on
afio only.impl RxPin<UART5, AfioRemapNotApplicable> for PD2
Available on
afio only.