pub trait BaudrateArduinoExt {
// Required method
fn into_baudrate<CLOCK: Clock>(self) -> Baudrate<CLOCK>;
}Expand description
Same as BaudrateExt but accounts for an errata of certain Arduino boards:
The affected boards where this trait should be used instead are:
- Duemilanove
- Uno
- Mega 2560
Required Methods§
Sourcefn into_baudrate<CLOCK: Clock>(self) -> Baudrate<CLOCK>
fn into_baudrate<CLOCK: Clock>(self) -> Baudrate<CLOCK>
Calculate baudrate parameters from this number (with Arduino errata).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".