pub trait DelayUs<UXX> {
// Required method
fn delay_us(&mut self, us: UXX);
}
Expand description
Microsecond delay
UXX
denotes the range type of the delay time. UXX
can be u8
, u16
, etc. A single type can
implement this trait for different types of UXX
.