18 class Uart_sh :
public Uart
22 explicit Uart_sh(
unsigned ) {}
23 bool startup(Io_register_block
const *)
override;
24 void shutdown()
override;
25 bool enable_rx_irq(
bool enable =
true)
override;
26 bool change_mode(Transfer_mode m, Baud_rate r)
override;
27 void irq_ack()
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;
L4 low-level kernel interface.