2 * (c) 2008-2012 Adam Lackorznynski <adam@os.inf.tu-dresden.de>
3 * Alexander Warg <alexander.warg@os.inf.tu-dresden.de>
4 * economic rights: Technische Universität Dresden (Germany)
6 * This file is part of TUD:OS and distributed under the terms of the
7 * GNU General Public License 2.
8 * Please see the COPYING-GPL-2 file for details.
10 #ifndef __L4_CXX_UART_SA1000_H__
11 #define __L4_CXX_UART_SA1000_H__
13 #include "uart_base.h"
17 class Uart_sa1000 : public Uart
20 bool startup(Io_register_block const *);
22 bool change_mode(Transfer_mode m, Baud_rate r);
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;