embassy-mspm0

Crates

git

Versions

mspm0g1107rge

Flavors

Trait TxPin

Source
pub trait TxPin<T: Instance>: Pin {
    // Required method
    fn pf_num(&self) -> u8;
}
Expand description

UART TX pin trait

Required Methods§

Source

fn pf_num(&self) -> u8

Get the PF number needed to use this pin as TX.

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§