pub trait BusClocks {
// Required method
fn clock(clocks: &Clocks) -> Hertz;
}Expand description
Supplies the clock frequency feeding a given USART.
USART0 can be reclocked away from its bus (see
Usart0Sel), USART1 always runs off APB1.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".