00001 /* src_experimental/drivers/fastbin/fastbin.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 _FASTBIN_H 00017 #define _FASTBIN_H 00018 00023 #define FBTYPE_EMPTY 0 00024 #define FBTYPE_DUART 1 00025 #define FBTYPE_TPU 2 00026 #define FBTYPE_TTL 3 00027 #define FBTYPE_CPU 4 00028 #define FBTYPE_RCJ 5 00029 00030 #define FBCPU_PCS1 1 00031 00032 #define setDUARTOPR(i) writebyte(DUART_OPRSET,1<<i) 00033 #define clearDUARTOPR(i) writebyte(DUART_OPRRST,1<<i) 00034 00035 00036 int FBIN_init(); 00037 int FBIN_make(int nr,char type,char id); 00038 int FBIN_set(int nr,char v); 00039 00040 #endif
1.2.14 written by Dimitri van Heesch,
 © 1997-2002