pub trait BaudPeriph {
// Required method
fn baud(clock_cfg: &Clocks) -> u32;
}Expand description
Uart only. Important: This assumes we use the default UART clock.
Required Methods§
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 BaudPeriph for LPUART1
Available on neither crate feature
f nor crate feature g0 nor crate feature c0 nor crate feature wl nor crate feature l.impl BaudPeriph for USART1
impl BaudPeriph for USART2
Available on neither crate feature
wb nor crate feature wl.impl BaudPeriph for USART3
Available on neither crate feature
f401 nor crate feature f410 nor crate feature f411 nor crate feature f412 nor crate feature f413 nor crate feature l4x1 nor crate feature g0 nor crate feature c0 nor crate feature wb nor crate feature wl.