pub trait UartDevice:
Deref<Target = RegisterBlock>
+ SubsystemReset
+ Sealed
+ 'static {
const ID: usize;
// Required methods
fn tx_dreq() -> u8
where Self: Sized;
fn rx_dreq() -> u8
where Self: Sized;
}Expand description
Trait to handle both underlying devices (UART0 & UART1)
Required Associated Constants§
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.