blob: 16d69bbd5ca4bf62e4092a693dff5d45847706dd [file] [log] [blame]
wdenkf5300ab2003-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 Zundel792a09e2009-05-13 10:54:10 +02006 * (C) Copyright 2002 Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
wdenkf5300ab2003-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
kevin.morfitt@fearnside-systems.co.ukac678042009-11-17 18:30:34 +090027#include <asm/arch/s3c24x0_cpu.h>
wdenkf5300ab2003-09-12 15:35:15 +000028
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_ */