/***************************************** * tvmev.h 09/08/1990 * * * * Definitions for tvm742/743 * * * * 1/3/01 : BAS0 e BAS1 spostate di +400 * * * *****************************************/ #define VEC 64 #define NTVM 2 #define PIT1 0x000 #define PIT2 0x100 #define PIT3 0x200 #define PIT4 0x300 #define BAS0 0xff0400 #define BAS1 0xff0800 LOCAL ULONG p0[NTVM] = {BAS0, BAS1}; LOCAL UTINY out_val[NTVM][8] = { {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff} }; /* for semplicity, out_val is defined for any module */ LOCAL int tvm_typ[NTVM][2] = { {743, 5}, /* 5 Volt outputs */ {742, 5} /* 5 Volt inputs */ }; /* event name for the three modules : */ LOCAL char *TVM_event[NTVM] = { "TVM743_5V", "TVM742_5V" }; LOCAL int ev_id[NTVM]; LOCAL int deblev[5] = {0, 0, 0, 0, 0}; PIT *v[NTVM][4] = { {BAS0 + PIT1, BAS0 + PIT2, BAS0 + PIT3, BAS0 + PIT4}, {BAS1 + PIT1, BAS1 + PIT2, BAS1 + PIT3, BAS1 + PIT4} };