File indexing completed on 2025-01-18 09:14:50
0001 #ifndef KERNEL_VPCONSTANTS_H
0002 #define KERNEL_VPCONSTANTS_H 1
0003 namespace VP {
0004
0005 static const unsigned int NModules = 52;
0006 static const unsigned int NSensorsPerModule = 4;
0007 static const unsigned int NSensors = NModules * NSensorsPerModule;
0008 static const unsigned int NChipsPerSensor = 3;
0009 static const unsigned int NRows = 256;
0010 static const unsigned int NColumns = 256;
0011 static const unsigned int NSensorColumns = NColumns * NChipsPerSensor;
0012 static const unsigned int NPixelsPerSensor = NSensorColumns * NRows;
0013
0014 static const double Pitch = 0.055;
0015
0016 enum UserFlags {
0017 LEFT = 0,
0018 RIGHT = 1<<0,
0019 MAIN = 1<<1,
0020 SIDE = 1<<2,
0021 SUPPORT = 1<<3,
0022 MODULE = 1<<4,
0023 LADDER = 1<<5,
0024 SENSOR = 1<<6
0025 };
0026
0027 }
0028
0029 #endif