Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

/projects/cubeos/src_current/net/rsm.h

Go to the documentation of this file.
00001 /*  src_experimental/net/rsm.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 /* Radio State Machine */
00017 
00018 #ifndef _RSM_H
00019 #define _RSM_H
00020 #define RSM_FRAMELEN 0x48
00021 
00022 void RSM_process(unsigned char c);
00023 int RSM_getframe(unsigned char * buffer);
00024 int RSM_send_frame(unsigned char * buffer);
00025 int RSM_init_rx();
00026 int RSM_init_tx();
00027 int RSM_deinitrx();
00028 int RSM_deinittx();
00029 
00030 extern int RSM_good;
00031 extern int _RSM_bad;
00032 extern int _RSM_ugly;
00033 extern int _RSM_bytes;
00034 
00035 extern int _RSM_uglycount;
00036 extern unsigned char _RSM_enabled;
00037 
00038 #endif

Generated on Thu Feb 20 15:38:46 2003 for cubeOS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002