Main Page | Namespace List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

codes.h

Go to the documentation of this file.
00001 /*  Implémentation Linux de la bibliotheque XADLL de Sidena
00002  *  Copyright (C) 2005 ENSTAR
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  *
00018  *  You can contact us:
00019  *    Association ENSTAR
00020  *    Ecole Nationale Superieure de Techniques Avancees
00021  *    32 boulevard Victor
00022  *    75739 Paris Cedex 15
00023  *    FRANCE
00024  *
00025  *    enstar@ensta.fr
00026  */
00027 
00028 /** @file    codes.h
00029  *  @brief   Liste des codes de fonctions XA
00030  *  @author  Francois Fevotte <francois.fevotte@ensta.org>
00031  *  $Revision: 90 $
00032  *  $Date: 2006-04-01 17:06:36 +0200 (Sat, 01 Apr 2006) $
00033  */
00034 
00035 /* $Id: codes.h 90 2006-04-01 15:06:36Z antoine $ */
00036 
00037 /* Codes de fonctions */
00038 #define F1           1
00039 #define F2           2
00040 #define F3           3
00041 #define F4           4
00042 #define F5           5
00043 #define F6           6
00044 #define F7           7
00045 #define F8           8
00046 #define F9           9
00047 #define F10         10
00048 #define F11         11
00049 #define F12         12
00050 #define F13         13
00051 #define F14         14
00052 #define WRB         20
00053 #define SETBIT      21
00054 #define WRI         30
00055 #define WRI1        31
00056 #define WRI2        32
00057 #define WRL         40
00058 #define WRL1        41
00059 #define WRL2        42
00060 #define WRL3        43
00061 #define WRCB        50
00062 #define DELAY       60
00063 #define BLINK       61
00064 #define LCDSET      80
00065 #define LCDSTR      81
00066 #define WRSTR       81
00067 #define LCDSTRPOS   82
00068 #define RDB        100
00069 #define RDI        101
00070 #define RDW        101
00071 #define RDBW       102
00072 #define RDL        103
00073 #define RDLL       107
00074 #define RDCB       120
00075 #define RDCW       121
00076 #define RDCI       121
00077 #define RDCL       123
00078 #define RDCLL      127
00079 #define SET629     140
00080 #define OPEN       200
00081 #define CLOSE      201
00082 #define ADRPACK    202
00083 #define SETADR     203
00084 #define LEDON      204
00085 #define LEDOFF     205
00086 #define RDVER      206
00087 #define RSTMOD     207
00088 #define ADRIP      202
00089 #define I2CWR1     210
00090 #define I2CWR2     211
00091 #define I2CWR3     212
00092 #define I2CWR4     213
00093 #define I2CWR5     214
00094 #define I2CRD      220
00095 
00096 /* Codes d'erreur */
00097 #define ERR_SERIAL_OPEN    7  //!< Erreur d'ouverture / configuration du port série
00098 #define ERR_ALREADY_OPEN   8  //!< Le port série a déjà été ouvert
00099 #define ERR_BAD_ARG       12  //!< Mauvais argument

Project hosted on SourceForge.net
Documentation generated on Mon Apr 2 14:52:55 2007 for libXA by doxygen 1.4.4