19 class Uart_pl011 :
public Uart
23 Uart_pl011(
unsigned freq) : _freq(freq) {}
24 bool startup(Io_register_block
const *)
override;
25 void shutdown()
override;
26 bool change_mode(Transfer_mode m, Baud_rate r)
override;
27 bool enable_rx_irq(
bool enable)
override;
28 int get_char(
bool blocking =
true)
const override;
29 int char_avail()
const override;
31 void wait_tx_done()
const;
32 inline void out_char(
char c)
const;
33 int write(
char const *s,
unsigned long count,
34 bool blocking =
true)
const override;
37 void set_rate(Baud_rate r);
L4 low-level kernel interface.