13class Uart_lpuart :
public Uart
17 Uart_lpuart(
unsigned freq = 0) : _freq(freq) {}
18 bool startup(Io_register_block
const *)
override;
20 bool change_mode(Transfer_mode m, Baud_rate r)
override;
22 void wait_tx_done()
const {}
23 inline void out_char(
char c)
const;
24 int write(
char const *s,
unsigned long count,
25 bool blocking =
true)
const override;
27 bool enable_rx_irq(
bool enable =
true)
override;
29 int get_char(
bool blocking =
true)
const override;
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.