2 * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
5 * This file is part of TUD:OS and distributed under the terms of the
6 * GNU General Public License 2.
7 * Please see the COPYING-GPL-2 file for details.
9 #ifndef L4_CXX_UART_OMAP35X_H__
10 #define L4_CXX_UART_OMAP35X_H__
12 #include "uart_base.h"
16 class Uart_omap35x : public Uart
19 bool startup(Io_register_block const *);
21 bool change_mode(Transfer_mode m, Baud_rate r);
22 bool enable_rx_irq(bool);
23 int get_char(bool blocking = true) const;
24 int char_avail() const;
25 inline void out_char(char c) const;
26 int write(char const *s, unsigned long count) const;