13class Uart_tegra_tcu :
public Uart
17 Uart_tegra_tcu(
unsigned long) {}
18 bool startup(Io_register_block
const *tx_mbox)
override;
19 void set_rx_mbox(Io_register_block
const *rx_mbox);
21 bool change_mode(Transfer_mode m, Baud_rate r)
override;
23 void wait_tx_done()
const {}
24 inline void out_char(
char c)
const;
25 int write(
char const *s,
unsigned long count,
26 bool blocking =
true)
const override;
29 int get_char(
bool blocking =
true)
const override;
32 mutable unsigned _current_rx_val = 0u;
33 Io_register_block
const *_rx_mbox =
nullptr;
virtual void shutdown()=0
Terminate the UART driver.
virtual int char_avail() const =0
Check if there is at least one character available for reading from the UART.
L4 low-level kernel interface.