00001 /* src_experimental/drivers/tty/io_duart.h 00002 CubeOS Version 0.4.90 experimental 00003 Copyright (C) 1999,2000 Holger Kenn 00004 00005 CubeOS is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or any later version. 00009 00010 CubeOS is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 */ 00016 #ifndef _IO_DUART_H 00017 #define _IO_DUART_H 00018 00019 #include <ttyio.h> 00020 00021 void DUART_setDIMR(unsigned char bit); 00022 void DUART_clearDIMR(unsigned char bit); 00023 void DUART_setOPCR(unsigned char bit); 00024 void DUART_clearOPCR(unsigned char bit); 00025 void DUART_int(void); 00026 void _DUART_duart_bugfix(void); 00027 char TTY_kinchar(void); 00028 char TTY_rdioget(void); 00029 void TTY_koutchar(char byte); 00030 void TTY_rdioput(char byte); 00031 void RSM_rdio_flush(); 00032 void RSM_rdio_enable_rx(); 00033 void RSM_rdio_disable_rx(); 00034 void DUART_duart(struct TTY_tty_dev *a,struct TTY_tty_dev *b); 00035 #endif 00036