Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/QNX4/Board.hpp

Go to the documentation of this file.
00001 #ifndef __J2K__QNX__Board_HPP__
00002 #define __J2K__QNX__Board_HPP__
00003 
00004 #include <j2k/Fred/QNX/System.hpp>
00005 #include <j2k/Fred/QNX/BoardDef.hpp>
00006 
00007 class Board {
00008 
00009 public:
00010   Board();
00011   virtual ~Board();
00012   void Write( int port, int val);
00013   void Write( int val );
00014   int  Read( int port );
00015   int  Read();
00016   void Switch( int switch_id = SWITCH_1, int direction = TRACK_OUTSIDE );
00017   void SwitchNormal();
00018 
00019 /*
00020 void  write(     int baseaddr, int port, int val );
00021 int   read(      int baseaddr, int port );
00022 void  write_bit( int baseaddr, int bit, int val);
00023 int   read_bit(  int baseaddr, int bit );
00024 void  enable(    int baseaddr, int enable_offset, int enable_value );
00025 void  disable(   int baseaddr, int enable_offset );
00026 */
00027 
00028 private:
00029   // In16 and Out16 Stuff
00030   static const int input_base_addr;
00031   static const int output_base_addr;
00032   static const int enable_addr;
00033   static const int SwitchTable[8];
00034 };
00035 
00036 #endif

Generated on Sun Oct 14 18:46:40 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001