pub trait BaudrateArduinoExt {
    // Required method
    fn into_baudrate<CLOCK>(self) -> Baudrate<CLOCK>
       where CLOCK: 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§

source

fn into_baudrate<CLOCK>(self) -> Baudrate<CLOCK>
where CLOCK: Clock,

Calculate baudrate parameters from this number (with Arduino errata).

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BaudrateArduinoExt for u32

source§

fn into_baudrate<CLOCK>(self) -> Baudrate<CLOCK>
where CLOCK: Clock,

Implementors§