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