blob: 9f0a5b9b46a31327d72ccfe491af922022202003 [file] [log] [blame]
wdenk708521a2003-09-12 15:35:15 +00001/*
2 * (C) Copyright 2003
3 * Martin Krause, TQ-Systems GmbH, <martin.krause@tqs.de>
4 *
5 * Based on cpu/arm920t/serial.c, by Gary Jennejohn
Detlev Zundelf1b3f2b2009-05-13 10:54:10 +02006 * (C) Copyright 2002 Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
wdenk708521a2003-09-12 15:35:15 +00007 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 *
22 */
23
24#ifndef _RS485_H_
25#define _RS485_H_
26
27#include <s3c2400.h>
28
29int rs485_init (void);
30int rs485_getc (void);
31void rs485_putc (const char c);
32int rs485_tstc (void);
33void rs485_puts (const char *s);
34void trab_rs485_enable_tx(void);
35void trab_rs485_enable_rx(void);
36
37#endif /* _RS485_H_ */