Trait esp_ward::_esp_hal_uart_Instance

pub trait _esp_hal_uart_Instance {
Show 14 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(); fn reset_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§

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()

fn reset_peripheral()

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

§

impl Instance for UART0

§

impl Instance for UART1