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 #include "uart_dummy.h"
13 bool Uart_dummy::startup(unsigned long /*base*/)
16 void Uart_dummy::shutdown()
19 bool Uart_dummy::enable_rx_irq(bool /*enable*/)
21 bool Uart_dummy::enable_tx_irq(bool /*enable*/) { return false; }
22 bool Uart_dummy::change_mode(Transfer_mode, Baud_rate)
25 int Uart_dummy::get_char(bool /*blocking*/) const
28 int Uart_dummy::char_avail() const
31 void Uart_dummy::out_char(char c) const
34 int Uart_dummy::write(char const *s, unsigned long count) const
35 { (void)s; (void)count; return 0; }