Trait Instance

Source
pub trait Instance {
Show 13 methods // Required methods fn register_block() -> &'static RegisterBlock; fn uart_number() -> usize; fn tx_signal() -> OutputSignal; fn rx_signal() -> InputSignal; fn cts_signal() -> InputSignal; fn rts_signal() -> OutputSignal; fn enable_peripheral(); // Provided methods fn disable_tx_interrupts() { ... } fn disable_rx_interrupts() { ... } fn get_tx_fifo_count() -> u16 { ... } fn get_rx_fifo_count() -> u16 { ... } fn is_tx_idle() -> bool { ... } fn is_rx_idle() -> bool { ... }
}
Expand description

UART peripheral instance

Required Methods§

Provided 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.

Implementors§