![]() |
RTXI 1.3
|
00001 // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! 00002 // This file is autogenerated!!! 00003 // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! 00004 00005 #ifndef ___tMSeries_h___ 00006 #define ___tMSeries_h___ 00007 00008 // includes 00009 #ifndef ___nimdbg_tStatus2_h___ 00010 #include "tStatus2.h" 00011 #endif 00012 00013 #include "osiBus.h" 00014 00015 class tMSeries 00016 { 00017 public: 00018 //--------------------------------------------------------------------------- 00019 // IO Strategies 00020 //--------------------------------------------------------------------------- 00021 class tReg8IODirect32 00022 { 00023 public: 00024 inline void write( 00025 tBusSpaceReference addrSpace, 00026 u32 offset, 00027 u8 value, 00028 nMDBG::tStatus2* statusChain = NULL); 00029 00030 inline u8 read( 00031 tBusSpaceReference addrSpace, 00032 u32 offset, 00033 nMDBG::tStatus2* statusChain = NULL); 00034 }; 00035 00036 class tReg16IODirect32 00037 { 00038 public: 00039 inline void write( 00040 tBusSpaceReference addrSpace, 00041 u32 offset, 00042 u16 value, 00043 nMDBG::tStatus2* statusChain = NULL); 00044 00045 inline u16 read( 00046 tBusSpaceReference addrSpace, 00047 u32 offset, 00048 nMDBG::tStatus2* statusChain = NULL); 00049 }; 00050 00051 class tReg32IODirect32 00052 { 00053 public: 00054 inline void write( 00055 tBusSpaceReference addrSpace, 00056 u32 offset, 00057 u32 value, 00058 nMDBG::tStatus2* statusChain = NULL); 00059 00060 inline u32 read( 00061 tBusSpaceReference addrSpace, 00062 u32 offset, 00063 nMDBG::tStatus2* statusChain = NULL); 00064 }; 00065 00066 //--------------------------------------------------------------------------- 00067 // AI_Command_1 00068 //--------------------------------------------------------------------------- 00069 class tAI_Command_1 : public tReg16IODirect32 00070 { 00071 public: 00072 typedef tReg16IODirect32 tIOStrategy; 00073 typedef tMSeries tRegisterMap; 00074 00075 enum { 00076 kOffset = 0x110, 00077 kId = 0 00078 }; 00079 tAI_Command_1(); 00080 00081 00082 typedef enum { 00083 kRegisterId = 0, 00084 kAI_CONVERT_PulseId = 1, 00085 kAI_LOCALMUX_CLK_PulseId = 3, 00086 kAI_EXTMUX_CLK_PulseId = 4, 00087 kAI_SCAN_IN_PROG_PulseId = 5, 00088 kAI_SC_LoadId = 6, 00089 kAI_SC_ArmId = 7, 00090 kAI_DIV_LoadId = 8, 00091 kAI_DIV_ArmId = 9, 00092 kAI_SI_LoadId = 10, 00093 kAI_SI_ArmId = 11, 00094 kAI_SI2_LoadId = 12, 00095 kAI_SI2_ArmId = 13, 00096 kAI_DisarmId = 14, 00097 kAI_Analog_Trigger_ResetId = 15 00098 } tId; 00099 00100 inline tMSeries* registerMap(void); 00101 00102 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00103 00104 // Register Accessors (Compile-time selectable) 00105 inline tAI_Command_1& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00106 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00107 00108 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00109 00110 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00111 00112 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 00113 00114 // Field Accessors (Compile-time selectable) 00115 inline tAI_Command_1& setAI_CONVERT_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00116 inline u16 getAI_CONVERT_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00117 00118 inline void writeAI_CONVERT_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00119 00120 inline u16 readAI_CONVERT_Pulse(nMDBG::tStatus2* statusChain = NULL); 00121 00122 inline tAI_Command_1& setAI_LOCALMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00123 inline u16 getAI_LOCALMUX_CLK_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00124 00125 inline void writeAI_LOCALMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00126 00127 inline u16 readAI_LOCALMUX_CLK_Pulse(nMDBG::tStatus2* statusChain = NULL); 00128 00129 inline tAI_Command_1& setAI_EXTMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00130 inline u16 getAI_EXTMUX_CLK_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00131 00132 inline void writeAI_EXTMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00133 00134 inline u16 readAI_EXTMUX_CLK_Pulse(nMDBG::tStatus2* statusChain = NULL); 00135 00136 inline tAI_Command_1& setAI_SCAN_IN_PROG_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00137 inline u16 getAI_SCAN_IN_PROG_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00138 00139 inline void writeAI_SCAN_IN_PROG_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00140 00141 inline u16 readAI_SCAN_IN_PROG_Pulse(nMDBG::tStatus2* statusChain = NULL); 00142 00143 inline tAI_Command_1& setAI_SC_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00144 inline u16 getAI_SC_Load(nMDBG::tStatus2* statusChain = NULL) const; 00145 00146 inline void writeAI_SC_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00147 00148 inline u16 readAI_SC_Load(nMDBG::tStatus2* statusChain = NULL); 00149 00150 inline tAI_Command_1& setAI_SC_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00151 inline u16 getAI_SC_Arm(nMDBG::tStatus2* statusChain = NULL) const; 00152 00153 inline void writeAI_SC_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00154 00155 inline u16 readAI_SC_Arm(nMDBG::tStatus2* statusChain = NULL); 00156 00157 inline tAI_Command_1& setAI_DIV_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00158 inline u16 getAI_DIV_Load(nMDBG::tStatus2* statusChain = NULL) const; 00159 00160 inline void writeAI_DIV_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00161 00162 inline u16 readAI_DIV_Load(nMDBG::tStatus2* statusChain = NULL); 00163 00164 inline tAI_Command_1& setAI_DIV_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00165 inline u16 getAI_DIV_Arm(nMDBG::tStatus2* statusChain = NULL) const; 00166 00167 inline void writeAI_DIV_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00168 00169 inline u16 readAI_DIV_Arm(nMDBG::tStatus2* statusChain = NULL); 00170 00171 inline tAI_Command_1& setAI_SI_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00172 inline u16 getAI_SI_Load(nMDBG::tStatus2* statusChain = NULL) const; 00173 00174 inline void writeAI_SI_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00175 00176 inline u16 readAI_SI_Load(nMDBG::tStatus2* statusChain = NULL); 00177 00178 inline tAI_Command_1& setAI_SI_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00179 inline u16 getAI_SI_Arm(nMDBG::tStatus2* statusChain = NULL) const; 00180 00181 inline void writeAI_SI_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00182 00183 inline u16 readAI_SI_Arm(nMDBG::tStatus2* statusChain = NULL); 00184 00185 inline tAI_Command_1& setAI_SI2_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00186 inline u16 getAI_SI2_Load(nMDBG::tStatus2* statusChain = NULL) const; 00187 00188 inline void writeAI_SI2_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00189 00190 inline u16 readAI_SI2_Load(nMDBG::tStatus2* statusChain = NULL); 00191 00192 inline tAI_Command_1& setAI_SI2_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00193 inline u16 getAI_SI2_Arm(nMDBG::tStatus2* statusChain = NULL) const; 00194 00195 inline void writeAI_SI2_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00196 00197 inline u16 readAI_SI2_Arm(nMDBG::tStatus2* statusChain = NULL); 00198 00199 inline tAI_Command_1& setAI_Disarm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00200 inline u16 getAI_Disarm(nMDBG::tStatus2* statusChain = NULL) const; 00201 00202 inline void writeAI_Disarm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00203 00204 inline u16 readAI_Disarm(nMDBG::tStatus2* statusChain = NULL); 00205 00206 inline tAI_Command_1& setAI_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00207 inline u16 getAI_Analog_Trigger_Reset(nMDBG::tStatus2* statusChain = NULL) const; 00208 00209 inline void writeAI_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00210 00211 inline u16 readAI_Analog_Trigger_Reset(nMDBG::tStatus2* statusChain = NULL); 00212 00213 // Run-time selectable Register/Field Accessors 00214 private: 00215 u16 _softCopy; 00216 00217 inline void setRegisterMap(tMSeries* pMSeries); 00218 tMSeries* _MSeries; 00219 00220 friend class tMSeries; 00221 00222 }; 00223 00224 //--------------------------------------------------------------------------- 00225 // AI_Command_2 00226 //--------------------------------------------------------------------------- 00227 class tAI_Command_2 : public tReg16IODirect32 00228 { 00229 public: 00230 typedef tReg16IODirect32 tIOStrategy; 00231 typedef tMSeries tRegisterMap; 00232 00233 enum { 00234 kOffset = 0x108, 00235 kId = 1 00236 }; 00237 tAI_Command_2(); 00238 00239 00240 typedef enum { 00241 kRegisterId = 0, 00242 kAI_START1_PulseId = 1, 00243 kAI_START2_PulseId = 2, 00244 kAI_START_PulseId = 3, 00245 kAI_STOP_PulseId = 4, 00246 kAI_SC_Switch_Load_On_TCId = 5, 00247 kAI_SI_Switch_Load_On_TCId = 8, 00248 kAI_SI_Switch_Load_On_STOPId = 9, 00249 kAI_SI_Switch_Load_On_SC_TCId = 10, 00250 kAI_SC_Save_TraceId = 11, 00251 kAI_START1_DisableId = 12, 00252 kAI_End_On_End_Of_ScanId = 15, 00253 kAI_End_On_SC_TCId = 16 00254 } tId; 00255 00256 inline tMSeries* registerMap(void); 00257 00258 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00259 00260 // Register Accessors (Compile-time selectable) 00261 inline tAI_Command_2& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00262 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00263 00264 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00265 00266 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00267 00268 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 00269 00270 // Field Accessors (Compile-time selectable) 00271 inline tAI_Command_2& setAI_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00272 inline u16 getAI_START1_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00273 00274 inline void writeAI_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00275 00276 inline u16 readAI_START1_Pulse(nMDBG::tStatus2* statusChain = NULL); 00277 00278 inline tAI_Command_2& setAI_START2_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00279 inline u16 getAI_START2_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00280 00281 inline void writeAI_START2_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00282 00283 inline u16 readAI_START2_Pulse(nMDBG::tStatus2* statusChain = NULL); 00284 00285 inline tAI_Command_2& setAI_START_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00286 inline u16 getAI_START_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00287 00288 inline void writeAI_START_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00289 00290 inline u16 readAI_START_Pulse(nMDBG::tStatus2* statusChain = NULL); 00291 00292 inline tAI_Command_2& setAI_STOP_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00293 inline u16 getAI_STOP_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 00294 00295 inline void writeAI_STOP_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00296 00297 inline u16 readAI_STOP_Pulse(nMDBG::tStatus2* statusChain = NULL); 00298 00299 inline tAI_Command_2& setAI_SC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00300 inline u16 getAI_SC_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL) const; 00301 00302 inline void writeAI_SC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00303 00304 inline u16 readAI_SC_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL); 00305 00306 inline tAI_Command_2& setAI_SI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00307 inline u16 getAI_SI_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL) const; 00308 00309 inline void writeAI_SI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00310 00311 inline u16 readAI_SI_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL); 00312 00313 inline tAI_Command_2& setAI_SI_Switch_Load_On_STOP(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00314 inline u16 getAI_SI_Switch_Load_On_STOP(nMDBG::tStatus2* statusChain = NULL) const; 00315 00316 inline void writeAI_SI_Switch_Load_On_STOP(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00317 00318 inline u16 readAI_SI_Switch_Load_On_STOP(nMDBG::tStatus2* statusChain = NULL); 00319 00320 inline tAI_Command_2& setAI_SI_Switch_Load_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00321 inline u16 getAI_SI_Switch_Load_On_SC_TC(nMDBG::tStatus2* statusChain = NULL) const; 00322 00323 inline void writeAI_SI_Switch_Load_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00324 00325 inline u16 readAI_SI_Switch_Load_On_SC_TC(nMDBG::tStatus2* statusChain = NULL); 00326 00327 inline tAI_Command_2& setAI_SC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00328 inline u16 getAI_SC_Save_Trace(nMDBG::tStatus2* statusChain = NULL) const; 00329 00330 inline void writeAI_SC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00331 00332 inline u16 readAI_SC_Save_Trace(nMDBG::tStatus2* statusChain = NULL); 00333 00334 inline tAI_Command_2& setAI_START1_Disable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00335 inline u16 getAI_START1_Disable(nMDBG::tStatus2* statusChain = NULL) const; 00336 00337 inline void writeAI_START1_Disable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00338 00339 inline u16 readAI_START1_Disable(nMDBG::tStatus2* statusChain = NULL); 00340 00341 inline tAI_Command_2& setAI_End_On_End_Of_Scan(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00342 inline u16 getAI_End_On_End_Of_Scan(nMDBG::tStatus2* statusChain = NULL) const; 00343 00344 inline void writeAI_End_On_End_Of_Scan(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00345 00346 inline u16 readAI_End_On_End_Of_Scan(nMDBG::tStatus2* statusChain = NULL); 00347 00348 inline tAI_Command_2& setAI_End_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00349 inline u16 getAI_End_On_SC_TC(nMDBG::tStatus2* statusChain = NULL) const; 00350 00351 inline void writeAI_End_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00352 00353 inline u16 readAI_End_On_SC_TC(nMDBG::tStatus2* statusChain = NULL); 00354 00355 // Run-time selectable Register/Field Accessors 00356 private: 00357 u16 _softCopy; 00358 00359 inline void setRegisterMap(tMSeries* pMSeries); 00360 tMSeries* _MSeries; 00361 00362 friend class tMSeries; 00363 00364 }; 00365 00366 //--------------------------------------------------------------------------- 00367 // AI_Mode_2 00368 //--------------------------------------------------------------------------- 00369 class tAI_Mode_2 : public tReg16IODirect32 00370 { 00371 public: 00372 typedef tReg16IODirect32 tIOStrategy; 00373 typedef tMSeries tRegisterMap; 00374 00375 enum { 00376 kOffset = 0x11a, 00377 kId = 2 00378 }; 00379 tAI_Mode_2(); 00380 00381 00382 typedef enum { 00383 kRegisterId = 0, 00384 kAI_SC_Write_SwitchId = 1, 00385 kAI_SC_Reload_ModeId = 2, 00386 kAI_SC_Initial_Load_SourceId = 3, 00387 kAI_SI_Write_SwitchId = 4, 00388 kAI_SI_Reload_ModeId = 5, 00389 kAI_SI_Initial_Load_SourceId = 6, 00390 kAI_SI2_Reload_ModeId = 7, 00391 kAI_SI2_Initial_Load_SourceId = 8, 00392 kAI_External_MUX_PresentId = 11, 00393 kAI_Pre_TriggerId = 12, 00394 kAI_Start_Stop_Gate_EnableId = 13, 00395 kAI_SC_Gate_EnableId = 14 00396 } tId; 00397 00398 inline tMSeries* registerMap(void); 00399 00400 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00401 00402 // Register Accessors (Compile-time selectable) 00403 inline tAI_Mode_2& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00404 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00405 00406 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00407 00408 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00409 00410 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 00411 00412 // Field Accessors (Compile-time selectable) 00413 inline tAI_Mode_2& setAI_SC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00414 inline u16 getAI_SC_Write_Switch(nMDBG::tStatus2* statusChain = NULL) const; 00415 00416 inline void writeAI_SC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00417 00418 inline u16 readAI_SC_Write_Switch(nMDBG::tStatus2* statusChain = NULL); 00419 00420 typedef enum { 00421 kAI_SC_Reload_ModeNo_Change = 0, 00422 kAI_SC_Reload_ModeSwitch = 1, 00423 } tAI_SC_Reload_Mode; 00424 inline tAI_Mode_2& setAI_SC_Reload_Mode(tAI_SC_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00425 inline tAI_SC_Reload_Mode getAI_SC_Reload_Mode(nMDBG::tStatus2* statusChain = NULL) const; 00426 00427 inline void writeAI_SC_Reload_Mode(tAI_SC_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00428 00429 inline tAI_SC_Reload_Mode readAI_SC_Reload_Mode(nMDBG::tStatus2* statusChain = NULL); 00430 00431 typedef enum { 00432 kAI_SC_Initial_Load_SourceLoad_A = 0, 00433 kAI_SC_Initial_Load_SourceLoad_B = 1, 00434 } tAI_SC_Initial_Load_Source; 00435 inline tAI_Mode_2& setAI_SC_Initial_Load_Source(tAI_SC_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 00436 inline tAI_SC_Initial_Load_Source getAI_SC_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL) const; 00437 00438 inline void writeAI_SC_Initial_Load_Source(tAI_SC_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 00439 00440 inline tAI_SC_Initial_Load_Source readAI_SC_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL); 00441 00442 inline tAI_Mode_2& setAI_SI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00443 inline u16 getAI_SI_Write_Switch(nMDBG::tStatus2* statusChain = NULL) const; 00444 00445 inline void writeAI_SI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00446 00447 inline u16 readAI_SI_Write_Switch(nMDBG::tStatus2* statusChain = NULL); 00448 00449 typedef enum { 00450 kAI_SI_Reload_ModeNo_Change = 0, 00451 kAI_SI_Reload_ModeAlternate_First_Period_Every_STOP = 4, 00452 kAI_SI_Reload_ModeSwitch_Every_STOP = 5, 00453 kAI_SI_Reload_ModeAlternate_First_Period_Every_SCTC = 6, 00454 kAI_SI_Reload_ModeSwitch_Every_SCTC = 7, 00455 } tAI_SI_Reload_Mode; 00456 inline tAI_Mode_2& setAI_SI_Reload_Mode(tAI_SI_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00457 inline tAI_SI_Reload_Mode getAI_SI_Reload_Mode(nMDBG::tStatus2* statusChain = NULL) const; 00458 00459 inline void writeAI_SI_Reload_Mode(tAI_SI_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00460 00461 inline tAI_SI_Reload_Mode readAI_SI_Reload_Mode(nMDBG::tStatus2* statusChain = NULL); 00462 00463 typedef enum { 00464 kAI_SI_Initial_Load_SourceLoad_A = 0, 00465 kAI_SI_Initial_Load_SourceLoad_B = 1, 00466 } tAI_SI_Initial_Load_Source; 00467 inline tAI_Mode_2& setAI_SI_Initial_Load_Source(tAI_SI_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 00468 inline tAI_SI_Initial_Load_Source getAI_SI_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL) const; 00469 00470 inline void writeAI_SI_Initial_Load_Source(tAI_SI_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 00471 00472 inline tAI_SI_Initial_Load_Source readAI_SI_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL); 00473 00474 typedef enum { 00475 kAI_SI2_Reload_ModeNo_Change = 0, 00476 kAI_SI2_Reload_ModeAlternate_First_Period_Every_STOP = 1, 00477 } tAI_SI2_Reload_Mode; 00478 inline tAI_Mode_2& setAI_SI2_Reload_Mode(tAI_SI2_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00479 inline tAI_SI2_Reload_Mode getAI_SI2_Reload_Mode(nMDBG::tStatus2* statusChain = NULL) const; 00480 00481 inline void writeAI_SI2_Reload_Mode(tAI_SI2_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00482 00483 inline tAI_SI2_Reload_Mode readAI_SI2_Reload_Mode(nMDBG::tStatus2* statusChain = NULL); 00484 00485 typedef enum { 00486 kAI_SI2_Initial_Load_SourceLoad_A = 0, 00487 kAI_SI2_Initial_Load_SourceLoad_B = 1, 00488 } tAI_SI2_Initial_Load_Source; 00489 inline tAI_Mode_2& setAI_SI2_Initial_Load_Source(tAI_SI2_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 00490 inline tAI_SI2_Initial_Load_Source getAI_SI2_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL) const; 00491 00492 inline void writeAI_SI2_Initial_Load_Source(tAI_SI2_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 00493 00494 inline tAI_SI2_Initial_Load_Source readAI_SI2_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL); 00495 00496 typedef enum { 00497 kAI_External_MUX_PresentEvery_Convert = 0, 00498 kAI_External_MUX_PresentDIV_TC_Converts = 1, 00499 } tAI_External_MUX_Present; 00500 inline tAI_Mode_2& setAI_External_MUX_Present(tAI_External_MUX_Present fieldValue, nMDBG::tStatus2* statusChain = NULL); 00501 inline tAI_External_MUX_Present getAI_External_MUX_Present(nMDBG::tStatus2* statusChain = NULL) const; 00502 00503 inline void writeAI_External_MUX_Present(tAI_External_MUX_Present fieldValue, nMDBG::tStatus2* statusChain = NULL); 00504 00505 inline tAI_External_MUX_Present readAI_External_MUX_Present(nMDBG::tStatus2* statusChain = NULL); 00506 00507 inline tAI_Mode_2& setAI_Pre_Trigger(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00508 inline tBoolean getAI_Pre_Trigger(nMDBG::tStatus2* statusChain = NULL) const; 00509 00510 inline void writeAI_Pre_Trigger(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00511 00512 inline tBoolean readAI_Pre_Trigger(nMDBG::tStatus2* statusChain = NULL); 00513 00514 inline tAI_Mode_2& setAI_Start_Stop_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00515 inline tBoolean getAI_Start_Stop_Gate_Enable(nMDBG::tStatus2* statusChain = NULL) const; 00516 00517 inline void writeAI_Start_Stop_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00518 00519 inline tBoolean readAI_Start_Stop_Gate_Enable(nMDBG::tStatus2* statusChain = NULL); 00520 00521 inline tAI_Mode_2& setAI_SC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00522 inline tBoolean getAI_SC_Gate_Enable(nMDBG::tStatus2* statusChain = NULL) const; 00523 00524 inline void writeAI_SC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00525 00526 inline tBoolean readAI_SC_Gate_Enable(nMDBG::tStatus2* statusChain = NULL); 00527 00528 // Run-time selectable Register/Field Accessors 00529 private: 00530 u16 _softCopy; 00531 00532 inline void setRegisterMap(tMSeries* pMSeries); 00533 tMSeries* _MSeries; 00534 00535 friend class tMSeries; 00536 00537 }; 00538 00539 //--------------------------------------------------------------------------- 00540 // AI_Mode_3 00541 //--------------------------------------------------------------------------- 00542 class tAI_Mode_3 : public tReg16IODirect32 00543 { 00544 public: 00545 typedef tReg16IODirect32 tIOStrategy; 00546 typedef tMSeries tRegisterMap; 00547 00548 enum { 00549 kOffset = 0x1ae, 00550 kId = 3 00551 }; 00552 tAI_Mode_3(); 00553 00554 00555 typedef enum { 00556 kRegisterId = 0, 00557 kAI_External_Gate_SelectId = 1, 00558 kAI_External_Gate_PolarityId = 2, 00559 kAI_FIFO_ModeId = 3, 00560 kAI_External_Gate_ModeId = 4, 00561 kAI_Delayed_START1Id = 5, 00562 kAI_Delayed_START2Id = 6, 00563 kAI_SI2_Source_SelectId = 7, 00564 kAI_Software_GateId = 9, 00565 kAI_Delay_STARTId = 10, 00566 kAI_Trigger_LengthId = 11 00567 } tId; 00568 00569 inline tMSeries* registerMap(void); 00570 00571 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00572 00573 // Register Accessors (Compile-time selectable) 00574 inline tAI_Mode_3& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00575 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00576 00577 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00578 00579 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00580 00581 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 00582 00583 // Field Accessors (Compile-time selectable) 00584 typedef enum { 00585 kAI_External_Gate_SelectDisabled = 0, 00586 kAI_External_Gate_SelectPFI0 = 1, 00587 kAI_External_Gate_SelectPFI1 = 2, 00588 kAI_External_Gate_SelectPFI2 = 3, 00589 kAI_External_Gate_SelectPFI3 = 4, 00590 kAI_External_Gate_SelectPFI4 = 5, 00591 kAI_External_Gate_SelectPFI5 = 6, 00592 kAI_External_Gate_SelectPFI6 = 7, 00593 kAI_External_Gate_SelectPFI7 = 8, 00594 kAI_External_Gate_SelectPFI8 = 9, 00595 kAI_External_Gate_SelectPFI9 = 10, 00596 kAI_External_Gate_SelectRTSI0 = 11, 00597 kAI_External_Gate_SelectRTSI1 = 12, 00598 kAI_External_Gate_SelectRTSI2 = 13, 00599 kAI_External_Gate_SelectRTSI3 = 14, 00600 kAI_External_Gate_SelectRTSI4 = 15, 00601 kAI_External_Gate_SelectRTSI5 = 16, 00602 kAI_External_Gate_SelectRTSI6 = 17, 00603 kAI_External_Gate_SelectStar_Trigger = 20, 00604 kAI_External_Gate_SelectPFI10 = 21, 00605 kAI_External_Gate_SelectPFI11 = 22, 00606 kAI_External_Gate_SelectPFI12 = 23, 00607 kAI_External_Gate_SelectPFI13 = 24, 00608 kAI_External_Gate_SelectPFI14 = 25, 00609 kAI_External_Gate_SelectPFI15 = 26, 00610 kAI_External_Gate_SelectRTSI7 = 27, 00611 kAI_External_Gate_SelectAnalog_Trigger = 30, 00612 kAI_External_Gate_SelectLow = 31, 00613 } tAI_External_Gate_Select; 00614 inline tAI_Mode_3& setAI_External_Gate_Select(tAI_External_Gate_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00615 inline tAI_External_Gate_Select getAI_External_Gate_Select(nMDBG::tStatus2* statusChain = NULL) const; 00616 00617 inline void writeAI_External_Gate_Select(tAI_External_Gate_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00618 00619 inline tAI_External_Gate_Select readAI_External_Gate_Select(nMDBG::tStatus2* statusChain = NULL); 00620 00621 typedef enum { 00622 kAI_External_Gate_PolarityActive_High = 0, 00623 kAI_External_Gate_PolarityActive_Low = 1, 00624 } tAI_External_Gate_Polarity; 00625 inline tAI_Mode_3& setAI_External_Gate_Polarity(tAI_External_Gate_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 00626 inline tAI_External_Gate_Polarity getAI_External_Gate_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 00627 00628 inline void writeAI_External_Gate_Polarity(tAI_External_Gate_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 00629 00630 inline tAI_External_Gate_Polarity readAI_External_Gate_Polarity(nMDBG::tStatus2* statusChain = NULL); 00631 00632 typedef enum { 00633 kAI_FIFO_ModeNot_Empty = 0, 00634 kAI_FIFO_ModeHalf_Full = 1, 00635 kAI_FIFO_ModeFull = 2, 00636 kAI_FIFO_ModeHalf_Full_Until_Empty = 3, 00637 } tAI_FIFO_Mode; 00638 inline tAI_Mode_3& setAI_FIFO_Mode(tAI_FIFO_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00639 inline tAI_FIFO_Mode getAI_FIFO_Mode(nMDBG::tStatus2* statusChain = NULL) const; 00640 00641 inline void writeAI_FIFO_Mode(tAI_FIFO_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00642 00643 inline tAI_FIFO_Mode readAI_FIFO_Mode(nMDBG::tStatus2* statusChain = NULL); 00644 00645 typedef enum { 00646 kAI_External_Gate_ModeFree_Run = 0, 00647 kAI_External_Gate_ModeHalt_Gating = 1, 00648 } tAI_External_Gate_Mode; 00649 inline tAI_Mode_3& setAI_External_Gate_Mode(tAI_External_Gate_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00650 inline tAI_External_Gate_Mode getAI_External_Gate_Mode(nMDBG::tStatus2* statusChain = NULL) const; 00651 00652 inline void writeAI_External_Gate_Mode(tAI_External_Gate_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 00653 00654 inline tAI_External_Gate_Mode readAI_External_Gate_Mode(nMDBG::tStatus2* statusChain = NULL); 00655 00656 inline tAI_Mode_3& setAI_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00657 inline tBoolean getAI_Delayed_START1(nMDBG::tStatus2* statusChain = NULL) const; 00658 00659 inline void writeAI_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00660 00661 inline tBoolean readAI_Delayed_START1(nMDBG::tStatus2* statusChain = NULL); 00662 00663 inline tAI_Mode_3& setAI_Delayed_START2(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00664 inline tBoolean getAI_Delayed_START2(nMDBG::tStatus2* statusChain = NULL) const; 00665 00666 inline void writeAI_Delayed_START2(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 00667 00668 inline tBoolean readAI_Delayed_START2(nMDBG::tStatus2* statusChain = NULL); 00669 00670 typedef enum { 00671 kAI_SI2_Source_SelectSame_As_SI = 0, 00672 kAI_SI2_Source_SelectINTIMEBASE1 = 1, 00673 } tAI_SI2_Source_Select; 00674 inline tAI_Mode_3& setAI_SI2_Source_Select(tAI_SI2_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00675 inline tAI_SI2_Source_Select getAI_SI2_Source_Select(nMDBG::tStatus2* statusChain = NULL) const; 00676 00677 inline void writeAI_SI2_Source_Select(tAI_SI2_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00678 00679 inline tAI_SI2_Source_Select readAI_SI2_Source_Select(nMDBG::tStatus2* statusChain = NULL); 00680 00681 inline tAI_Mode_3& setAI_Software_Gate(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00682 inline u16 getAI_Software_Gate(nMDBG::tStatus2* statusChain = NULL) const; 00683 00684 inline void writeAI_Software_Gate(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00685 00686 inline u16 readAI_Software_Gate(nMDBG::tStatus2* statusChain = NULL); 00687 00688 inline tAI_Mode_3& setAI_Delay_START(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00689 inline u16 getAI_Delay_START(nMDBG::tStatus2* statusChain = NULL) const; 00690 00691 inline void writeAI_Delay_START(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00692 00693 inline u16 readAI_Delay_START(nMDBG::tStatus2* statusChain = NULL); 00694 00695 inline tAI_Mode_3& setAI_Trigger_Length(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00696 inline u16 getAI_Trigger_Length(nMDBG::tStatus2* statusChain = NULL) const; 00697 00698 inline void writeAI_Trigger_Length(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00699 00700 inline u16 readAI_Trigger_Length(nMDBG::tStatus2* statusChain = NULL); 00701 00702 // Run-time selectable Register/Field Accessors 00703 private: 00704 u16 _softCopy; 00705 00706 inline void setRegisterMap(tMSeries* pMSeries); 00707 tMSeries* _MSeries; 00708 00709 friend class tMSeries; 00710 00711 }; 00712 00713 //--------------------------------------------------------------------------- 00714 // AI_Personal 00715 //--------------------------------------------------------------------------- 00716 class tAI_Personal : public tReg16IODirect32 00717 { 00718 public: 00719 typedef tReg16IODirect32 tIOStrategy; 00720 typedef tMSeries tRegisterMap; 00721 00722 enum { 00723 kOffset = 0x19a, 00724 kId = 4 00725 }; 00726 tAI_Personal(); 00727 00728 00729 typedef enum { 00730 kRegisterId = 0, 00731 kAI_EXTMUX_CLK_Pulse_WidthId = 7, 00732 kAI_CONVERT_Pulse_WidthId = 11 00733 } tId; 00734 00735 inline tMSeries* registerMap(void); 00736 00737 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00738 00739 // Register Accessors (Compile-time selectable) 00740 inline tAI_Personal& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00741 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00742 00743 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00744 00745 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00746 00747 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 00748 00749 // Field Accessors (Compile-time selectable) 00750 typedef enum { 00751 kAI_EXTMUX_CLK_Pulse_Width45_Clock_Periods = 0, 00752 kAI_EXTMUX_CLK_Pulse_WidthEq_LOCALMUX_CLK_Pulse_Width = 1, 00753 } tAI_EXTMUX_CLK_Pulse_Width; 00754 inline tAI_Personal& setAI_EXTMUX_CLK_Pulse_Width(tAI_EXTMUX_CLK_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 00755 inline tAI_EXTMUX_CLK_Pulse_Width getAI_EXTMUX_CLK_Pulse_Width(nMDBG::tStatus2* statusChain = NULL) const; 00756 00757 inline void writeAI_EXTMUX_CLK_Pulse_Width(tAI_EXTMUX_CLK_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 00758 00759 inline tAI_EXTMUX_CLK_Pulse_Width readAI_EXTMUX_CLK_Pulse_Width(nMDBG::tStatus2* statusChain = NULL); 00760 00761 typedef enum { 00762 kAI_CONVERT_Pulse_WidthAbout_2_Clock_Periods = 0, 00763 kAI_CONVERT_Pulse_WidthAbout_1_Clock_Period = 1, 00764 } tAI_CONVERT_Pulse_Width; 00765 inline tAI_Personal& setAI_CONVERT_Pulse_Width(tAI_CONVERT_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 00766 inline tAI_CONVERT_Pulse_Width getAI_CONVERT_Pulse_Width(nMDBG::tStatus2* statusChain = NULL) const; 00767 00768 inline void writeAI_CONVERT_Pulse_Width(tAI_CONVERT_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 00769 00770 inline tAI_CONVERT_Pulse_Width readAI_CONVERT_Pulse_Width(nMDBG::tStatus2* statusChain = NULL); 00771 00772 // Run-time selectable Register/Field Accessors 00773 private: 00774 u16 _softCopy; 00775 00776 inline void setRegisterMap(tMSeries* pMSeries); 00777 tMSeries* _MSeries; 00778 00779 friend class tMSeries; 00780 00781 }; 00782 00783 //--------------------------------------------------------------------------- 00784 // AI_Output_Control 00785 //--------------------------------------------------------------------------- 00786 class tAI_Output_Control : public tReg16IODirect32 00787 { 00788 public: 00789 typedef tReg16IODirect32 tIOStrategy; 00790 typedef tMSeries tRegisterMap; 00791 00792 enum { 00793 kOffset = 0x178, 00794 kId = 5 00795 }; 00796 tAI_Output_Control(); 00797 00798 00799 typedef enum { 00800 kRegisterId = 0, 00801 kAI_CONVERT_Output_SelectId = 1, 00802 kAI_EXTMUX_CLK_Output_SelectId = 6, 00803 kAI_SCAN_IN_PROG_Output_SelectId = 7, 00804 kAI_START_Output_SelectId = 8 00805 } tId; 00806 00807 inline tMSeries* registerMap(void); 00808 00809 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00810 00811 // Register Accessors (Compile-time selectable) 00812 inline tAI_Output_Control& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00813 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00814 00815 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00816 00817 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 00818 00819 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 00820 00821 // Field Accessors (Compile-time selectable) 00822 typedef enum { 00823 kAI_CONVERT_Output_SelectHigh_Z = 0, 00824 kAI_CONVERT_Output_SelectGround = 1, 00825 kAI_CONVERT_Output_SelectActive_Low = 2, 00826 kAI_CONVERT_Output_SelectActive_High = 3, 00827 } tAI_CONVERT_Output_Select; 00828 inline tAI_Output_Control& setAI_CONVERT_Output_Select(tAI_CONVERT_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00829 inline tAI_CONVERT_Output_Select getAI_CONVERT_Output_Select(nMDBG::tStatus2* statusChain = NULL) const; 00830 00831 inline void writeAI_CONVERT_Output_Select(tAI_CONVERT_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00832 00833 inline tAI_CONVERT_Output_Select readAI_CONVERT_Output_Select(nMDBG::tStatus2* statusChain = NULL); 00834 00835 typedef enum { 00836 kAI_EXTMUX_CLK_Output_SelectHigh_Z = 0, 00837 kAI_EXTMUX_CLK_Output_SelectGround = 1, 00838 kAI_EXTMUX_CLK_Output_SelectActive_Low = 2, 00839 kAI_EXTMUX_CLK_Output_SelectActive_High = 3, 00840 } tAI_EXTMUX_CLK_Output_Select; 00841 inline tAI_Output_Control& setAI_EXTMUX_CLK_Output_Select(tAI_EXTMUX_CLK_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00842 inline tAI_EXTMUX_CLK_Output_Select getAI_EXTMUX_CLK_Output_Select(nMDBG::tStatus2* statusChain = NULL) const; 00843 00844 inline void writeAI_EXTMUX_CLK_Output_Select(tAI_EXTMUX_CLK_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00845 00846 inline tAI_EXTMUX_CLK_Output_Select readAI_EXTMUX_CLK_Output_Select(nMDBG::tStatus2* statusChain = NULL); 00847 00848 typedef enum { 00849 kAI_SCAN_IN_PROG_Output_SelectHigh_Z = 0, 00850 kAI_SCAN_IN_PROG_Output_SelectGround = 1, 00851 kAI_SCAN_IN_PROG_Output_SelectActive_Low = 2, 00852 kAI_SCAN_IN_PROG_Output_SelectActive_High = 3, 00853 } tAI_SCAN_IN_PROG_Output_Select; 00854 inline tAI_Output_Control& setAI_SCAN_IN_PROG_Output_Select(tAI_SCAN_IN_PROG_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00855 inline tAI_SCAN_IN_PROG_Output_Select getAI_SCAN_IN_PROG_Output_Select(nMDBG::tStatus2* statusChain = NULL) const; 00856 00857 inline void writeAI_SCAN_IN_PROG_Output_Select(tAI_SCAN_IN_PROG_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00858 00859 inline tAI_SCAN_IN_PROG_Output_Select readAI_SCAN_IN_PROG_Output_Select(nMDBG::tStatus2* statusChain = NULL); 00860 00861 typedef enum { 00862 kAI_START_Output_SelectAD_START = 0, 00863 kAI_START_Output_SelectSCAN_IN_PROG = 1, 00864 } tAI_START_Output_Select; 00865 inline tAI_Output_Control& setAI_START_Output_Select(tAI_START_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00866 inline tAI_START_Output_Select getAI_START_Output_Select(nMDBG::tStatus2* statusChain = NULL) const; 00867 00868 inline void writeAI_START_Output_Select(tAI_START_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 00869 00870 inline tAI_START_Output_Select readAI_START_Output_Select(nMDBG::tStatus2* statusChain = NULL); 00871 00872 // Run-time selectable Register/Field Accessors 00873 private: 00874 u16 _softCopy; 00875 00876 inline void setRegisterMap(tMSeries* pMSeries); 00877 tMSeries* _MSeries; 00878 00879 friend class tMSeries; 00880 00881 }; 00882 00883 //--------------------------------------------------------------------------- 00884 // AI_SC_Load_A 00885 //--------------------------------------------------------------------------- 00886 class tAI_SC_Load_A : public tReg32IODirect32 00887 { 00888 public: 00889 typedef tReg32IODirect32 tIOStrategy; 00890 typedef tMSeries tRegisterMap; 00891 00892 enum { 00893 kOffset = 0x124, 00894 kId = 6 00895 }; 00896 tAI_SC_Load_A(); 00897 00898 00899 typedef enum { 00900 kRegisterId = 0, 00901 kDefaultId = 1 00902 } tId; 00903 00904 inline tMSeries* registerMap(void); 00905 00906 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00907 00908 // Register Accessors (Compile-time selectable) 00909 inline tAI_SC_Load_A& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 00910 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00911 00912 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00913 00914 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 00915 00916 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 00917 00918 // Field Accessors (Compile-time selectable) 00919 inline tAI_SC_Load_A& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00920 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 00921 00922 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00923 00924 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 00925 00926 // Run-time selectable Register/Field Accessors 00927 private: 00928 u32 _softCopy; 00929 00930 inline void setRegisterMap(tMSeries* pMSeries); 00931 tMSeries* _MSeries; 00932 00933 friend class tMSeries; 00934 00935 }; 00936 00937 //--------------------------------------------------------------------------- 00938 // AI_SC_Load_B 00939 //--------------------------------------------------------------------------- 00940 class tAI_SC_Load_B : public tReg32IODirect32 00941 { 00942 public: 00943 typedef tReg32IODirect32 tIOStrategy; 00944 typedef tMSeries tRegisterMap; 00945 00946 enum { 00947 kOffset = 0x128, 00948 kId = 7 00949 }; 00950 tAI_SC_Load_B(); 00951 00952 00953 typedef enum { 00954 kRegisterId = 0, 00955 kDefaultId = 1 00956 } tId; 00957 00958 inline tMSeries* registerMap(void); 00959 00960 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 00961 00962 // Register Accessors (Compile-time selectable) 00963 inline tAI_SC_Load_B& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 00964 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 00965 00966 inline void flush(nMDBG::tStatus2* statusChain = NULL); 00967 00968 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 00969 00970 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 00971 00972 // Field Accessors (Compile-time selectable) 00973 inline tAI_SC_Load_B& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00974 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 00975 00976 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 00977 00978 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 00979 00980 // Run-time selectable Register/Field Accessors 00981 private: 00982 u32 _softCopy; 00983 00984 inline void setRegisterMap(tMSeries* pMSeries); 00985 tMSeries* _MSeries; 00986 00987 friend class tMSeries; 00988 00989 }; 00990 00991 //--------------------------------------------------------------------------- 00992 // AI_SC_Save 00993 //--------------------------------------------------------------------------- 00994 class tAI_SC_Save : public tReg32IODirect32 00995 { 00996 public: 00997 typedef tReg32IODirect32 tIOStrategy; 00998 typedef tMSeries tRegisterMap; 00999 01000 enum { 01001 kOffset = 0x184, 01002 kId = 8 01003 }; 01004 tAI_SC_Save(); 01005 01006 01007 typedef enum { 01008 kRegisterId = 0, 01009 kDefaultId = 1 01010 } tId; 01011 01012 inline tMSeries* registerMap(void); 01013 01014 // Register Accessors (Compile-time selectable) 01015 inline tAI_SC_Save& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01016 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01017 01018 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 01019 01020 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 01021 01022 // Field Accessors (Compile-time selectable) 01023 inline tAI_SC_Save& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01024 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 01025 01026 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 01027 01028 // Run-time selectable Register/Field Accessors 01029 private: 01030 u32 _softCopy; 01031 01032 inline void setRegisterMap(tMSeries* pMSeries); 01033 tMSeries* _MSeries; 01034 01035 friend class tMSeries; 01036 01037 }; 01038 01039 //--------------------------------------------------------------------------- 01040 // AI_SI_Load_A 01041 //--------------------------------------------------------------------------- 01042 class tAI_SI_Load_A : public tReg32IODirect32 01043 { 01044 public: 01045 typedef tReg32IODirect32 tIOStrategy; 01046 typedef tMSeries tRegisterMap; 01047 01048 enum { 01049 kOffset = 0x11c, 01050 kId = 9 01051 }; 01052 tAI_SI_Load_A(); 01053 01054 01055 typedef enum { 01056 kRegisterId = 0, 01057 kDefaultId = 1 01058 } tId; 01059 01060 inline tMSeries* registerMap(void); 01061 01062 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01063 01064 // Register Accessors (Compile-time selectable) 01065 inline tAI_SI_Load_A& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01066 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01067 01068 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01069 01070 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01071 01072 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 01073 01074 // Field Accessors (Compile-time selectable) 01075 inline tAI_SI_Load_A& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01076 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 01077 01078 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01079 01080 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 01081 01082 // Run-time selectable Register/Field Accessors 01083 private: 01084 u32 _softCopy; 01085 01086 inline void setRegisterMap(tMSeries* pMSeries); 01087 tMSeries* _MSeries; 01088 01089 friend class tMSeries; 01090 01091 }; 01092 01093 //--------------------------------------------------------------------------- 01094 // AI_SI_Load_B 01095 //--------------------------------------------------------------------------- 01096 class tAI_SI_Load_B : public tReg32IODirect32 01097 { 01098 public: 01099 typedef tReg32IODirect32 tIOStrategy; 01100 typedef tMSeries tRegisterMap; 01101 01102 enum { 01103 kOffset = 0x120, 01104 kId = 10 01105 }; 01106 tAI_SI_Load_B(); 01107 01108 01109 typedef enum { 01110 kRegisterId = 0, 01111 kDefaultId = 1 01112 } tId; 01113 01114 inline tMSeries* registerMap(void); 01115 01116 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01117 01118 // Register Accessors (Compile-time selectable) 01119 inline tAI_SI_Load_B& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01120 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01121 01122 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01123 01124 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01125 01126 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 01127 01128 // Field Accessors (Compile-time selectable) 01129 inline tAI_SI_Load_B& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01130 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 01131 01132 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01133 01134 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 01135 01136 // Run-time selectable Register/Field Accessors 01137 private: 01138 u32 _softCopy; 01139 01140 inline void setRegisterMap(tMSeries* pMSeries); 01141 tMSeries* _MSeries; 01142 01143 friend class tMSeries; 01144 01145 }; 01146 01147 //--------------------------------------------------------------------------- 01148 // AI_SI_Save 01149 //--------------------------------------------------------------------------- 01150 class tAI_SI_Save : public tReg32IODirect32 01151 { 01152 public: 01153 typedef tReg32IODirect32 tIOStrategy; 01154 typedef tMSeries tRegisterMap; 01155 01156 enum { 01157 kOffset = 0x180, 01158 kId = 11 01159 }; 01160 tAI_SI_Save(); 01161 01162 01163 typedef enum { 01164 kRegisterId = 0, 01165 kDefaultId = 1 01166 } tId; 01167 01168 inline tMSeries* registerMap(void); 01169 01170 // Register Accessors (Compile-time selectable) 01171 inline tAI_SI_Save& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01172 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01173 01174 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 01175 01176 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 01177 01178 // Field Accessors (Compile-time selectable) 01179 inline tAI_SI_Save& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01180 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 01181 01182 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 01183 01184 // Run-time selectable Register/Field Accessors 01185 private: 01186 u32 _softCopy; 01187 01188 inline void setRegisterMap(tMSeries* pMSeries); 01189 tMSeries* _MSeries; 01190 01191 friend class tMSeries; 01192 01193 }; 01194 01195 //--------------------------------------------------------------------------- 01196 // AI_SI2_Load_A 01197 //--------------------------------------------------------------------------- 01198 class tAI_SI2_Load_A : public tReg32IODirect32 01199 { 01200 public: 01201 typedef tReg32IODirect32 tIOStrategy; 01202 typedef tMSeries tRegisterMap; 01203 01204 enum { 01205 kOffset = 0x12c, 01206 kId = 12 01207 }; 01208 tAI_SI2_Load_A(); 01209 01210 01211 typedef enum { 01212 kRegisterId = 0, 01213 kDefaultId = 1 01214 } tId; 01215 01216 inline tMSeries* registerMap(void); 01217 01218 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01219 01220 // Register Accessors (Compile-time selectable) 01221 inline tAI_SI2_Load_A& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01222 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01223 01224 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01225 01226 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01227 01228 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 01229 01230 // Field Accessors (Compile-time selectable) 01231 inline tAI_SI2_Load_A& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01232 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 01233 01234 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01235 01236 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 01237 01238 // Run-time selectable Register/Field Accessors 01239 private: 01240 u32 _softCopy; 01241 01242 inline void setRegisterMap(tMSeries* pMSeries); 01243 tMSeries* _MSeries; 01244 01245 friend class tMSeries; 01246 01247 }; 01248 01249 //--------------------------------------------------------------------------- 01250 // AI_SI2_Load_B 01251 //--------------------------------------------------------------------------- 01252 class tAI_SI2_Load_B : public tReg32IODirect32 01253 { 01254 public: 01255 typedef tReg32IODirect32 tIOStrategy; 01256 typedef tMSeries tRegisterMap; 01257 01258 enum { 01259 kOffset = 0x130, 01260 kId = 13 01261 }; 01262 tAI_SI2_Load_B(); 01263 01264 01265 typedef enum { 01266 kRegisterId = 0, 01267 kDefaultId = 1 01268 } tId; 01269 01270 inline tMSeries* registerMap(void); 01271 01272 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01273 01274 // Register Accessors (Compile-time selectable) 01275 inline tAI_SI2_Load_B& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01276 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01277 01278 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01279 01280 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01281 01282 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 01283 01284 // Field Accessors (Compile-time selectable) 01285 inline tAI_SI2_Load_B& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01286 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 01287 01288 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01289 01290 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 01291 01292 // Run-time selectable Register/Field Accessors 01293 private: 01294 u32 _softCopy; 01295 01296 inline void setRegisterMap(tMSeries* pMSeries); 01297 tMSeries* _MSeries; 01298 01299 friend class tMSeries; 01300 01301 }; 01302 01303 //--------------------------------------------------------------------------- 01304 // AI_START_STOP_Select 01305 //--------------------------------------------------------------------------- 01306 class tAI_START_STOP_Select : public tReg16IODirect32 01307 { 01308 public: 01309 typedef tReg16IODirect32 tIOStrategy; 01310 typedef tMSeries tRegisterMap; 01311 01312 enum { 01313 kOffset = 0x17c, 01314 kId = 14 01315 }; 01316 tAI_START_STOP_Select(); 01317 01318 01319 typedef enum { 01320 kRegisterId = 0, 01321 kAI_START_SelectId = 1, 01322 kAI_START_EdgeId = 2, 01323 kAI_START_SyncId = 3, 01324 kAI_STOP_SelectId = 4, 01325 kAI_STOP_EdgeId = 5, 01326 kAI_STOP_SyncId = 6, 01327 kAI_STOP_PolarityId = 7, 01328 kAI_START_PolarityId = 8 01329 } tId; 01330 01331 inline tMSeries* registerMap(void); 01332 01333 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01334 01335 // Register Accessors (Compile-time selectable) 01336 inline tAI_START_STOP_Select& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 01337 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01338 01339 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01340 01341 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 01342 01343 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 01344 01345 // Field Accessors (Compile-time selectable) 01346 typedef enum { 01347 kAI_START_SelectSI_TC = 0, 01348 kAI_START_SelectPFI0 = 1, 01349 kAI_START_SelectPFI1 = 2, 01350 kAI_START_SelectPFI2 = 3, 01351 kAI_START_SelectPFI3 = 4, 01352 kAI_START_SelectPFI4 = 5, 01353 kAI_START_SelectPFI5 = 6, 01354 kAI_START_SelectPFI6 = 7, 01355 kAI_START_SelectPFI7 = 8, 01356 kAI_START_SelectPFI8 = 9, 01357 kAI_START_SelectPFI9 = 10, 01358 kAI_START_SelectRTSI0 = 11, 01359 kAI_START_SelectRTSI1 = 12, 01360 kAI_START_SelectRTSI2 = 13, 01361 kAI_START_SelectRTSI3 = 14, 01362 kAI_START_SelectRTSI4 = 15, 01363 kAI_START_SelectRTSI5 = 16, 01364 kAI_START_SelectRTSI6 = 17, 01365 kAI_START_SelectPulse = 18, 01366 kAI_START_SelectGPCtr0_Out = 19, 01367 kAI_START_SelectStar_Trigger = 20, 01368 kAI_START_SelectPFI10 = 21, 01369 kAI_START_SelectPFI11 = 22, 01370 kAI_START_SelectPFI12 = 23, 01371 kAI_START_SelectPFI13 = 24, 01372 kAI_START_SelectPFI14 = 25, 01373 kAI_START_SelectPFI15 = 26, 01374 kAI_START_SelectRTSI7 = 27, 01375 kAI_START_SelectGPCtr1_Out = 28, 01376 kAI_START_SelectSCXI_Trig1 = 29, 01377 kAI_START_SelectAnalog_Trigger = 30, 01378 kAI_START_SelectLow = 31, 01379 } tAI_START_Select; 01380 inline tAI_START_STOP_Select& setAI_START_Select(tAI_START_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01381 inline tAI_START_Select getAI_START_Select(nMDBG::tStatus2* statusChain = NULL) const; 01382 01383 inline void writeAI_START_Select(tAI_START_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01384 01385 inline tAI_START_Select readAI_START_Select(nMDBG::tStatus2* statusChain = NULL); 01386 01387 inline tAI_START_STOP_Select& setAI_START_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01388 inline tBoolean getAI_START_Edge(nMDBG::tStatus2* statusChain = NULL) const; 01389 01390 inline void writeAI_START_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01391 01392 inline tBoolean readAI_START_Edge(nMDBG::tStatus2* statusChain = NULL); 01393 01394 inline tAI_START_STOP_Select& setAI_START_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01395 inline tBoolean getAI_START_Sync(nMDBG::tStatus2* statusChain = NULL) const; 01396 01397 inline void writeAI_START_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01398 01399 inline tBoolean readAI_START_Sync(nMDBG::tStatus2* statusChain = NULL); 01400 01401 typedef enum { 01402 kAI_STOP_SelectDIV_TC_Or_Pulse = 0, 01403 kAI_STOP_SelectPFI0 = 1, 01404 kAI_STOP_SelectPFI1 = 2, 01405 kAI_STOP_SelectPFI2 = 3, 01406 kAI_STOP_SelectPFI3 = 4, 01407 kAI_STOP_SelectPFI4 = 5, 01408 kAI_STOP_SelectPFI5 = 6, 01409 kAI_STOP_SelectPFI6 = 7, 01410 kAI_STOP_SelectPFI7 = 8, 01411 kAI_STOP_SelectPFI8 = 9, 01412 kAI_STOP_SelectPFI9 = 10, 01413 kAI_STOP_SelectRTSI0 = 11, 01414 kAI_STOP_SelectRTSI1 = 12, 01415 kAI_STOP_SelectRTSI2 = 13, 01416 kAI_STOP_SelectRTSI3 = 14, 01417 kAI_STOP_SelectRTSI4 = 15, 01418 kAI_STOP_SelectRTSI5 = 16, 01419 kAI_STOP_SelectRTSI6 = 17, 01420 kAI_STOP_SelectSI2TC = 18, 01421 kAI_STOP_SelectIN = 19, 01422 kAI_STOP_SelectStar_Trigger = 20, 01423 kAI_STOP_SelectPFI10 = 21, 01424 kAI_STOP_SelectPFI11 = 22, 01425 kAI_STOP_SelectPFI12 = 23, 01426 kAI_STOP_SelectPFI13 = 24, 01427 kAI_STOP_SelectPFI14 = 25, 01428 kAI_STOP_SelectPFI15 = 26, 01429 kAI_STOP_SelectRTSI7 = 27, 01430 kAI_STOP_SelectAnalog_Trigger = 30, 01431 kAI_STOP_SelectLow = 31, 01432 } tAI_STOP_Select; 01433 inline tAI_START_STOP_Select& setAI_STOP_Select(tAI_STOP_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01434 inline tAI_STOP_Select getAI_STOP_Select(nMDBG::tStatus2* statusChain = NULL) const; 01435 01436 inline void writeAI_STOP_Select(tAI_STOP_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01437 01438 inline tAI_STOP_Select readAI_STOP_Select(nMDBG::tStatus2* statusChain = NULL); 01439 01440 inline tAI_START_STOP_Select& setAI_STOP_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01441 inline tBoolean getAI_STOP_Edge(nMDBG::tStatus2* statusChain = NULL) const; 01442 01443 inline void writeAI_STOP_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01444 01445 inline tBoolean readAI_STOP_Edge(nMDBG::tStatus2* statusChain = NULL); 01446 01447 inline tAI_START_STOP_Select& setAI_STOP_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01448 inline tBoolean getAI_STOP_Sync(nMDBG::tStatus2* statusChain = NULL) const; 01449 01450 inline void writeAI_STOP_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01451 01452 inline tBoolean readAI_STOP_Sync(nMDBG::tStatus2* statusChain = NULL); 01453 01454 typedef enum { 01455 kAI_STOP_PolarityActive_High_Or_Rising_Edge = 0, 01456 kAI_STOP_PolarityActive_Low_Or_Falling_Edge = 1, 01457 kAI_STOP_PolarityActive_High = 0, 01458 kAI_STOP_PolarityActive_Low = 1, 01459 kAI_STOP_PolarityRising_Edge = 0, 01460 kAI_STOP_PolarityFalling_Edge = 1, 01461 } tAI_STOP_Polarity; 01462 inline tAI_START_STOP_Select& setAI_STOP_Polarity(tAI_STOP_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01463 inline tAI_STOP_Polarity getAI_STOP_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 01464 01465 inline void writeAI_STOP_Polarity(tAI_STOP_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01466 01467 inline tAI_STOP_Polarity readAI_STOP_Polarity(nMDBG::tStatus2* statusChain = NULL); 01468 01469 typedef enum { 01470 kAI_START_PolarityActive_High_Or_Rising_Edge = 0, 01471 kAI_START_PolarityActive_Low_Or_Falling_Edge = 1, 01472 kAI_START_PolarityActive_High = 0, 01473 kAI_START_PolarityActive_Low = 1, 01474 kAI_START_PolarityRising_Edge = 0, 01475 kAI_START_PolarityFalling_Edge = 1, 01476 } tAI_START_Polarity; 01477 inline tAI_START_STOP_Select& setAI_START_Polarity(tAI_START_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01478 inline tAI_START_Polarity getAI_START_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 01479 01480 inline void writeAI_START_Polarity(tAI_START_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01481 01482 inline tAI_START_Polarity readAI_START_Polarity(nMDBG::tStatus2* statusChain = NULL); 01483 01484 // Run-time selectable Register/Field Accessors 01485 private: 01486 u16 _softCopy; 01487 01488 inline void setRegisterMap(tMSeries* pMSeries); 01489 tMSeries* _MSeries; 01490 01491 friend class tMSeries; 01492 01493 }; 01494 01495 //--------------------------------------------------------------------------- 01496 // AI_Status_1 01497 //--------------------------------------------------------------------------- 01498 class tAI_Status_1 : public tReg16IODirect32 01499 { 01500 public: 01501 typedef tReg16IODirect32 tIOStrategy; 01502 typedef tMSeries tRegisterMap; 01503 01504 enum { 01505 kOffset = 0x104, 01506 kId = 15 01507 }; 01508 tAI_Status_1(); 01509 01510 01511 typedef enum { 01512 kRegisterId = 0, 01513 kPass_Thru_0_Interrupt_StId = 1, 01514 kAI_FIFO_Request_StId = 2, 01515 kG0_Gate_Interrupt_StId = 3, 01516 kG0_TC_StId = 4, 01517 kAI_STOP_StId = 5, 01518 kAI_START_StId = 6, 01519 kAI_SC_TC_StId = 7, 01520 kAI_START1_StId = 8, 01521 kAI_START2_StId = 9, 01522 kAI_SC_TC_Error_StId = 10, 01523 kAI_Overflow_StId = 11, 01524 kAI_Overrun_StId = 12, 01525 kAI_FIFO_Empty_StId = 13, 01526 kAI_FIFO_Half_Full_StId = 14, 01527 kAI_FIFO_Full_StId = 15, 01528 kInterrupt_Group_A_StatusId = 16 01529 } tId; 01530 01531 inline tMSeries* registerMap(void); 01532 01533 // Register Accessors (Compile-time selectable) 01534 inline tAI_Status_1& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 01535 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01536 01537 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 01538 01539 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 01540 01541 // Field Accessors (Compile-time selectable) 01542 inline tAI_Status_1& setPass_Thru_0_Interrupt_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01543 inline tBoolean getPass_Thru_0_Interrupt_St(nMDBG::tStatus2* statusChain = NULL) const; 01544 01545 inline tBoolean readPass_Thru_0_Interrupt_St(nMDBG::tStatus2* statusChain = NULL); 01546 01547 inline tAI_Status_1& setAI_FIFO_Request_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01548 inline tBoolean getAI_FIFO_Request_St(nMDBG::tStatus2* statusChain = NULL) const; 01549 01550 inline tBoolean readAI_FIFO_Request_St(nMDBG::tStatus2* statusChain = NULL); 01551 01552 inline tAI_Status_1& setG0_Gate_Interrupt_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01553 inline tBoolean getG0_Gate_Interrupt_St(nMDBG::tStatus2* statusChain = NULL) const; 01554 01555 inline tBoolean readG0_Gate_Interrupt_St(nMDBG::tStatus2* statusChain = NULL); 01556 01557 inline tAI_Status_1& setG0_TC_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01558 inline tBoolean getG0_TC_St(nMDBG::tStatus2* statusChain = NULL) const; 01559 01560 inline tBoolean readG0_TC_St(nMDBG::tStatus2* statusChain = NULL); 01561 01562 inline tAI_Status_1& setAI_STOP_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01563 inline tBoolean getAI_STOP_St(nMDBG::tStatus2* statusChain = NULL) const; 01564 01565 inline tBoolean readAI_STOP_St(nMDBG::tStatus2* statusChain = NULL); 01566 01567 inline tAI_Status_1& setAI_START_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01568 inline tBoolean getAI_START_St(nMDBG::tStatus2* statusChain = NULL) const; 01569 01570 inline tBoolean readAI_START_St(nMDBG::tStatus2* statusChain = NULL); 01571 01572 inline tAI_Status_1& setAI_SC_TC_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01573 inline tBoolean getAI_SC_TC_St(nMDBG::tStatus2* statusChain = NULL) const; 01574 01575 inline tBoolean readAI_SC_TC_St(nMDBG::tStatus2* statusChain = NULL); 01576 01577 inline tAI_Status_1& setAI_START1_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01578 inline tBoolean getAI_START1_St(nMDBG::tStatus2* statusChain = NULL) const; 01579 01580 inline tBoolean readAI_START1_St(nMDBG::tStatus2* statusChain = NULL); 01581 01582 inline tAI_Status_1& setAI_START2_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01583 inline tBoolean getAI_START2_St(nMDBG::tStatus2* statusChain = NULL) const; 01584 01585 inline tBoolean readAI_START2_St(nMDBG::tStatus2* statusChain = NULL); 01586 01587 inline tAI_Status_1& setAI_SC_TC_Error_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01588 inline tBoolean getAI_SC_TC_Error_St(nMDBG::tStatus2* statusChain = NULL) const; 01589 01590 inline tBoolean readAI_SC_TC_Error_St(nMDBG::tStatus2* statusChain = NULL); 01591 01592 inline tAI_Status_1& setAI_Overflow_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01593 inline tBoolean getAI_Overflow_St(nMDBG::tStatus2* statusChain = NULL) const; 01594 01595 inline tBoolean readAI_Overflow_St(nMDBG::tStatus2* statusChain = NULL); 01596 01597 inline tAI_Status_1& setAI_Overrun_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01598 inline tBoolean getAI_Overrun_St(nMDBG::tStatus2* statusChain = NULL) const; 01599 01600 inline tBoolean readAI_Overrun_St(nMDBG::tStatus2* statusChain = NULL); 01601 01602 inline tAI_Status_1& setAI_FIFO_Empty_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01603 inline tBoolean getAI_FIFO_Empty_St(nMDBG::tStatus2* statusChain = NULL) const; 01604 01605 inline tBoolean readAI_FIFO_Empty_St(nMDBG::tStatus2* statusChain = NULL); 01606 01607 inline tAI_Status_1& setAI_FIFO_Half_Full_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01608 inline tBoolean getAI_FIFO_Half_Full_St(nMDBG::tStatus2* statusChain = NULL) const; 01609 01610 inline tBoolean readAI_FIFO_Half_Full_St(nMDBG::tStatus2* statusChain = NULL); 01611 01612 inline tAI_Status_1& setAI_FIFO_Full_St(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01613 inline tBoolean getAI_FIFO_Full_St(nMDBG::tStatus2* statusChain = NULL) const; 01614 01615 inline tBoolean readAI_FIFO_Full_St(nMDBG::tStatus2* statusChain = NULL); 01616 01617 inline tAI_Status_1& setInterrupt_Group_A_Status(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01618 inline tBoolean getInterrupt_Group_A_Status(nMDBG::tStatus2* statusChain = NULL) const; 01619 01620 inline tBoolean readInterrupt_Group_A_Status(nMDBG::tStatus2* statusChain = NULL); 01621 01622 // Run-time selectable Register/Field Accessors 01623 private: 01624 u16 _softCopy; 01625 01626 inline void setRegisterMap(tMSeries* pMSeries); 01627 tMSeries* _MSeries; 01628 01629 friend class tMSeries; 01630 01631 }; 01632 01633 //--------------------------------------------------------------------------- 01634 // Analog_Trigger_Etc 01635 //--------------------------------------------------------------------------- 01636 class tAnalog_Trigger_Etc : public tReg16IODirect32 01637 { 01638 public: 01639 typedef tReg16IODirect32 tIOStrategy; 01640 typedef tMSeries tRegisterMap; 01641 01642 enum { 01643 kOffset = 0x17a, 01644 kId = 16 01645 }; 01646 tAnalog_Trigger_Etc(); 01647 01648 01649 typedef enum { 01650 kRegisterId = 0, 01651 kAnalog_Trigger_ModeId = 1, 01652 kAnalog_Trigger_EnableId = 2, 01653 kAnalog_Trigger_ResetId = 4, 01654 kMisc_Counter_TCs_Output_EnableId = 5, 01655 kGPFO_1_Output_SelectId = 6, 01656 kGPFO_0_Output_SelectId = 10, 01657 kGPFO_0_Output_EnableId = 11, 01658 kGPFO_1_Output_EnableId = 12 01659 } tId; 01660 01661 inline tMSeries* registerMap(void); 01662 01663 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01664 01665 // Register Accessors (Compile-time selectable) 01666 inline tAnalog_Trigger_Etc& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 01667 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01668 01669 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01670 01671 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 01672 01673 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 01674 01675 // Field Accessors (Compile-time selectable) 01676 typedef enum { 01677 kAnalog_Trigger_ModeLow_Window = 0, 01678 kAnalog_Trigger_ModeHigh_Window = 1, 01679 kAnalog_Trigger_ModeMiddle_Window = 2, 01680 kAnalog_Trigger_ModeHigh_Hysteresis = 4, 01681 kAnalog_Trigger_ModeLow_Hysteresis = 6, 01682 } tAnalog_Trigger_Mode; 01683 inline tAnalog_Trigger_Etc& setAnalog_Trigger_Mode(tAnalog_Trigger_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 01684 inline tAnalog_Trigger_Mode getAnalog_Trigger_Mode(nMDBG::tStatus2* statusChain = NULL) const; 01685 01686 inline void writeAnalog_Trigger_Mode(tAnalog_Trigger_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 01687 01688 inline tAnalog_Trigger_Mode readAnalog_Trigger_Mode(nMDBG::tStatus2* statusChain = NULL); 01689 01690 typedef enum { 01691 kAnalog_Trigger_EnableDisabled = 0, 01692 kAnalog_Trigger_EnableEnabled = 1, 01693 } tAnalog_Trigger_Enable; 01694 inline tAnalog_Trigger_Etc& setAnalog_Trigger_Enable(tAnalog_Trigger_Enable fieldValue, nMDBG::tStatus2* statusChain = NULL); 01695 inline tAnalog_Trigger_Enable getAnalog_Trigger_Enable(nMDBG::tStatus2* statusChain = NULL) const; 01696 01697 inline void writeAnalog_Trigger_Enable(tAnalog_Trigger_Enable fieldValue, nMDBG::tStatus2* statusChain = NULL); 01698 01699 inline tAnalog_Trigger_Enable readAnalog_Trigger_Enable(nMDBG::tStatus2* statusChain = NULL); 01700 01701 inline tAnalog_Trigger_Etc& setAnalog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01702 inline u16 getAnalog_Trigger_Reset(nMDBG::tStatus2* statusChain = NULL) const; 01703 01704 inline void writeAnalog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01705 01706 inline u16 readAnalog_Trigger_Reset(nMDBG::tStatus2* statusChain = NULL); 01707 01708 inline tAnalog_Trigger_Etc& setMisc_Counter_TCs_Output_Enable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01709 inline u16 getMisc_Counter_TCs_Output_Enable(nMDBG::tStatus2* statusChain = NULL) const; 01710 01711 inline void writeMisc_Counter_TCs_Output_Enable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 01712 01713 inline u16 readMisc_Counter_TCs_Output_Enable(nMDBG::tStatus2* statusChain = NULL); 01714 01715 typedef enum { 01716 kGPFO_1_Output_SelectG_OUT = 0, 01717 kGPFO_1_Output_SelectDIV_TC = 1, 01718 } tGPFO_1_Output_Select; 01719 inline tAnalog_Trigger_Etc& setGPFO_1_Output_Select(tGPFO_1_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01720 inline tGPFO_1_Output_Select getGPFO_1_Output_Select(nMDBG::tStatus2* statusChain = NULL) const; 01721 01722 inline void writeGPFO_1_Output_Select(tGPFO_1_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01723 01724 inline tGPFO_1_Output_Select readGPFO_1_Output_Select(nMDBG::tStatus2* statusChain = NULL); 01725 01726 typedef enum { 01727 kGPFO_0_Output_SelectG_OUT = 0, 01728 kGPFO_0_Output_SelectRTSI0 = 1, 01729 kGPFO_0_Output_SelectRTSI1 = 2, 01730 kGPFO_0_Output_SelectRTSI2 = 3, 01731 kGPFO_0_Output_SelectRTSI3 = 4, 01732 kGPFO_0_Output_SelectRTSI4 = 5, 01733 kGPFO_0_Output_SelectRTSI5 = 6, 01734 kGPFO_0_Output_SelectRTSI6 = 7, 01735 } tGPFO_0_Output_Select; 01736 inline tAnalog_Trigger_Etc& setGPFO_0_Output_Select(tGPFO_0_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01737 inline tGPFO_0_Output_Select getGPFO_0_Output_Select(nMDBG::tStatus2* statusChain = NULL) const; 01738 01739 inline void writeGPFO_0_Output_Select(tGPFO_0_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01740 01741 inline tGPFO_0_Output_Select readGPFO_0_Output_Select(nMDBG::tStatus2* statusChain = NULL); 01742 01743 typedef enum { 01744 kGPFO_0_Output_EnableInput = 0, 01745 kGPFO_0_Output_EnableOutput = 1, 01746 } tGPFO_0_Output_Enable; 01747 inline tAnalog_Trigger_Etc& setGPFO_0_Output_Enable(tGPFO_0_Output_Enable fieldValue, nMDBG::tStatus2* statusChain = NULL); 01748 inline tGPFO_0_Output_Enable getGPFO_0_Output_Enable(nMDBG::tStatus2* statusChain = NULL) const; 01749 01750 inline void writeGPFO_0_Output_Enable(tGPFO_0_Output_Enable fieldValue, nMDBG::tStatus2* statusChain = NULL); 01751 01752 inline tGPFO_0_Output_Enable readGPFO_0_Output_Enable(nMDBG::tStatus2* statusChain = NULL); 01753 01754 typedef enum { 01755 kGPFO_1_Output_EnableInput = 0, 01756 kGPFO_1_Output_EnableOutput = 1, 01757 } tGPFO_1_Output_Enable; 01758 inline tAnalog_Trigger_Etc& setGPFO_1_Output_Enable(tGPFO_1_Output_Enable fieldValue, nMDBG::tStatus2* statusChain = NULL); 01759 inline tGPFO_1_Output_Enable getGPFO_1_Output_Enable(nMDBG::tStatus2* statusChain = NULL) const; 01760 01761 inline void writeGPFO_1_Output_Enable(tGPFO_1_Output_Enable fieldValue, nMDBG::tStatus2* statusChain = NULL); 01762 01763 inline tGPFO_1_Output_Enable readGPFO_1_Output_Enable(nMDBG::tStatus2* statusChain = NULL); 01764 01765 // Run-time selectable Register/Field Accessors 01766 private: 01767 u16 _softCopy; 01768 01769 inline void setRegisterMap(tMSeries* pMSeries); 01770 tMSeries* _MSeries; 01771 01772 friend class tMSeries; 01773 01774 }; 01775 01776 //--------------------------------------------------------------------------- 01777 // AI_Trigger_Select 01778 //--------------------------------------------------------------------------- 01779 class tAI_Trigger_Select : public tReg16IODirect32 01780 { 01781 public: 01782 typedef tReg16IODirect32 tIOStrategy; 01783 typedef tMSeries tRegisterMap; 01784 01785 enum { 01786 kOffset = 0x17e, 01787 kId = 17 01788 }; 01789 tAI_Trigger_Select(); 01790 01791 01792 typedef enum { 01793 kRegisterId = 0, 01794 kAI_START1_SelectId = 1, 01795 kAI_START1_EdgeId = 2, 01796 kAI_START1_SyncId = 3, 01797 kAI_START2_SelectId = 4, 01798 kAI_START2_EdgeId = 5, 01799 kAI_START2_SyncId = 6, 01800 kAI_START2_PolarityId = 7, 01801 kAI_START1_PolarityId = 8 01802 } tId; 01803 01804 inline tMSeries* registerMap(void); 01805 01806 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01807 01808 // Register Accessors (Compile-time selectable) 01809 inline tAI_Trigger_Select& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 01810 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01811 01812 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01813 01814 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 01815 01816 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 01817 01818 // Field Accessors (Compile-time selectable) 01819 typedef enum { 01820 kAI_START1_SelectPulse = 0, 01821 kAI_START1_SelectPFI0 = 1, 01822 kAI_START1_SelectPFI1 = 2, 01823 kAI_START1_SelectPFI2 = 3, 01824 kAI_START1_SelectPFI3 = 4, 01825 kAI_START1_SelectPFI4 = 5, 01826 kAI_START1_SelectPFI5 = 6, 01827 kAI_START1_SelectPFI6 = 7, 01828 kAI_START1_SelectPFI7 = 8, 01829 kAI_START1_SelectPFI8 = 9, 01830 kAI_START1_SelectPFI9 = 10, 01831 kAI_START1_SelectRTSI0 = 11, 01832 kAI_START1_SelectRTSI1 = 12, 01833 kAI_START1_SelectRTSI2 = 13, 01834 kAI_START1_SelectRTSI3 = 14, 01835 kAI_START1_SelectRTSI4 = 15, 01836 kAI_START1_SelectRTSI5 = 16, 01837 kAI_START1_SelectRTSI6 = 17, 01838 kAI_START1_SelectGPCtr0_Out = 18, 01839 kAI_START1_SelectGPCtr1_Out = 19, 01840 kAI_START1_SelectStar_Trigger = 20, 01841 kAI_START1_SelectPFI10 = 21, 01842 kAI_START1_SelectPFI11 = 22, 01843 kAI_START1_SelectPFI12 = 23, 01844 kAI_START1_SelectPFI13 = 24, 01845 kAI_START1_SelectPFI14 = 25, 01846 kAI_START1_SelectPFI15 = 26, 01847 kAI_START1_SelectRTSI7 = 27, 01848 kAI_START1_SelectAnalog_Trigger = 30, 01849 kAI_START1_SelectLow = 31, 01850 } tAI_START1_Select; 01851 inline tAI_Trigger_Select& setAI_START1_Select(tAI_START1_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01852 inline tAI_START1_Select getAI_START1_Select(nMDBG::tStatus2* statusChain = NULL) const; 01853 01854 inline void writeAI_START1_Select(tAI_START1_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01855 01856 inline tAI_START1_Select readAI_START1_Select(nMDBG::tStatus2* statusChain = NULL); 01857 01858 inline tAI_Trigger_Select& setAI_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01859 inline tBoolean getAI_START1_Edge(nMDBG::tStatus2* statusChain = NULL) const; 01860 01861 inline void writeAI_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01862 01863 inline tBoolean readAI_START1_Edge(nMDBG::tStatus2* statusChain = NULL); 01864 01865 inline tAI_Trigger_Select& setAI_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01866 inline tBoolean getAI_START1_Sync(nMDBG::tStatus2* statusChain = NULL) const; 01867 01868 inline void writeAI_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01869 01870 inline tBoolean readAI_START1_Sync(nMDBG::tStatus2* statusChain = NULL); 01871 01872 typedef enum { 01873 kAI_START2_SelectPulse = 0, 01874 kAI_START2_SelectPFI0 = 1, 01875 kAI_START2_SelectPFI1 = 2, 01876 kAI_START2_SelectPFI2 = 3, 01877 kAI_START2_SelectPFI3 = 4, 01878 kAI_START2_SelectPFI4 = 5, 01879 kAI_START2_SelectPFI5 = 6, 01880 kAI_START2_SelectPFI6 = 7, 01881 kAI_START2_SelectPFI7 = 8, 01882 kAI_START2_SelectPFI8 = 9, 01883 kAI_START2_SelectPFI9 = 10, 01884 kAI_START2_SelectRTSI0 = 11, 01885 kAI_START2_SelectRTSI1 = 12, 01886 kAI_START2_SelectRTSI2 = 13, 01887 kAI_START2_SelectRTSI3 = 14, 01888 kAI_START2_SelectRTSI4 = 15, 01889 kAI_START2_SelectRTSI5 = 16, 01890 kAI_START2_SelectRTSI6 = 17, 01891 kAI_START2_SelectStar_Trigger = 20, 01892 kAI_START2_SelectPFI10 = 21, 01893 kAI_START2_SelectPFI11 = 22, 01894 kAI_START2_SelectPFI12 = 23, 01895 kAI_START2_SelectPFI13 = 24, 01896 kAI_START2_SelectPFI14 = 25, 01897 kAI_START2_SelectPFI15 = 26, 01898 kAI_START2_SelectRTSI7 = 27, 01899 kAI_START2_SelectAnalog_Trigger = 30, 01900 kAI_START2_SelectLow = 31, 01901 } tAI_START2_Select; 01902 inline tAI_Trigger_Select& setAI_START2_Select(tAI_START2_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01903 inline tAI_START2_Select getAI_START2_Select(nMDBG::tStatus2* statusChain = NULL) const; 01904 01905 inline void writeAI_START2_Select(tAI_START2_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 01906 01907 inline tAI_START2_Select readAI_START2_Select(nMDBG::tStatus2* statusChain = NULL); 01908 01909 inline tAI_Trigger_Select& setAI_START2_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01910 inline tBoolean getAI_START2_Edge(nMDBG::tStatus2* statusChain = NULL) const; 01911 01912 inline void writeAI_START2_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01913 01914 inline tBoolean readAI_START2_Edge(nMDBG::tStatus2* statusChain = NULL); 01915 01916 inline tAI_Trigger_Select& setAI_START2_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01917 inline tBoolean getAI_START2_Sync(nMDBG::tStatus2* statusChain = NULL) const; 01918 01919 inline void writeAI_START2_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 01920 01921 inline tBoolean readAI_START2_Sync(nMDBG::tStatus2* statusChain = NULL); 01922 01923 typedef enum { 01924 kAI_START2_PolarityActive_High_Or_Rising_Edge = 0, 01925 kAI_START2_PolarityActive_Low_Or_Falling_Edge = 1, 01926 kAI_START2_PolarityActive_High = 0, 01927 kAI_START2_PolarityActive_Low = 1, 01928 kAI_START2_PolarityRising_Edge = 0, 01929 kAI_START2_PolarityFalling_Edge = 1, 01930 } tAI_START2_Polarity; 01931 inline tAI_Trigger_Select& setAI_START2_Polarity(tAI_START2_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01932 inline tAI_START2_Polarity getAI_START2_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 01933 01934 inline void writeAI_START2_Polarity(tAI_START2_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01935 01936 inline tAI_START2_Polarity readAI_START2_Polarity(nMDBG::tStatus2* statusChain = NULL); 01937 01938 typedef enum { 01939 kAI_START1_PolarityActive_High_Or_Rising_Edge = 0, 01940 kAI_START1_PolarityActive_Low_Or_Falling_Edge = 1, 01941 kAI_START1_PolarityActive_High = 0, 01942 kAI_START1_PolarityActive_Low = 1, 01943 kAI_START1_PolarityRising_Edge = 0, 01944 kAI_START1_PolarityFalling_Edge = 1, 01945 } tAI_START1_Polarity; 01946 inline tAI_Trigger_Select& setAI_START1_Polarity(tAI_START1_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01947 inline tAI_START1_Polarity getAI_START1_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 01948 01949 inline void writeAI_START1_Polarity(tAI_START1_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 01950 01951 inline tAI_START1_Polarity readAI_START1_Polarity(nMDBG::tStatus2* statusChain = NULL); 01952 01953 // Run-time selectable Register/Field Accessors 01954 private: 01955 u16 _softCopy; 01956 01957 inline void setRegisterMap(tMSeries* pMSeries); 01958 tMSeries* _MSeries; 01959 01960 friend class tMSeries; 01961 01962 }; 01963 01964 //--------------------------------------------------------------------------- 01965 // AO_BC_Load_A 01966 //--------------------------------------------------------------------------- 01967 class tAO_BC_Load_A : public tReg32IODirect32 01968 { 01969 public: 01970 typedef tReg32IODirect32 tIOStrategy; 01971 typedef tMSeries tRegisterMap; 01972 01973 enum { 01974 kOffset = 0x158, 01975 kId = 18 01976 }; 01977 tAO_BC_Load_A(); 01978 01979 01980 typedef enum { 01981 kRegisterId = 0, 01982 kDefaultId = 1 01983 } tId; 01984 01985 inline tMSeries* registerMap(void); 01986 01987 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 01988 01989 // Register Accessors (Compile-time selectable) 01990 inline tAO_BC_Load_A& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01991 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 01992 01993 inline void flush(nMDBG::tStatus2* statusChain = NULL); 01994 01995 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 01996 01997 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 01998 01999 // Field Accessors (Compile-time selectable) 02000 inline tAO_BC_Load_A& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02001 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 02002 02003 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02004 02005 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 02006 02007 // Run-time selectable Register/Field Accessors 02008 private: 02009 u32 _softCopy; 02010 02011 inline void setRegisterMap(tMSeries* pMSeries); 02012 tMSeries* _MSeries; 02013 02014 friend class tMSeries; 02015 02016 }; 02017 02018 //--------------------------------------------------------------------------- 02019 // AO_BC_Load_B 02020 //--------------------------------------------------------------------------- 02021 class tAO_BC_Load_B : public tReg32IODirect32 02022 { 02023 public: 02024 typedef tReg32IODirect32 tIOStrategy; 02025 typedef tMSeries tRegisterMap; 02026 02027 enum { 02028 kOffset = 0x15c, 02029 kId = 19 02030 }; 02031 tAO_BC_Load_B(); 02032 02033 02034 typedef enum { 02035 kRegisterId = 0, 02036 kDefaultId = 1 02037 } tId; 02038 02039 inline tMSeries* registerMap(void); 02040 02041 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 02042 02043 // Register Accessors (Compile-time selectable) 02044 inline tAO_BC_Load_B& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 02045 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02046 02047 inline void flush(nMDBG::tStatus2* statusChain = NULL); 02048 02049 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 02050 02051 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 02052 02053 // Field Accessors (Compile-time selectable) 02054 inline tAO_BC_Load_B& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02055 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 02056 02057 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02058 02059 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 02060 02061 // Run-time selectable Register/Field Accessors 02062 private: 02063 u32 _softCopy; 02064 02065 inline void setRegisterMap(tMSeries* pMSeries); 02066 tMSeries* _MSeries; 02067 02068 friend class tMSeries; 02069 02070 }; 02071 02072 //--------------------------------------------------------------------------- 02073 // AO_BC_Save 02074 //--------------------------------------------------------------------------- 02075 class tAO_BC_Save : public tReg32IODirect32 02076 { 02077 public: 02078 typedef tReg32IODirect32 tIOStrategy; 02079 typedef tMSeries tRegisterMap; 02080 02081 enum { 02082 kOffset = 0x124, 02083 kId = 20 02084 }; 02085 tAO_BC_Save(); 02086 02087 02088 typedef enum { 02089 kRegisterId = 0, 02090 kDefaultId = 1 02091 } tId; 02092 02093 inline tMSeries* registerMap(void); 02094 02095 // Register Accessors (Compile-time selectable) 02096 inline tAO_BC_Save& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 02097 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02098 02099 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 02100 02101 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 02102 02103 // Field Accessors (Compile-time selectable) 02104 inline tAO_BC_Save& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02105 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 02106 02107 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 02108 02109 // Run-time selectable Register/Field Accessors 02110 private: 02111 u32 _softCopy; 02112 02113 inline void setRegisterMap(tMSeries* pMSeries); 02114 tMSeries* _MSeries; 02115 02116 friend class tMSeries; 02117 02118 }; 02119 02120 //--------------------------------------------------------------------------- 02121 // AO_Command_2 02122 //--------------------------------------------------------------------------- 02123 class tAO_Command_2 : public tReg16IODirect32 02124 { 02125 public: 02126 typedef tReg16IODirect32 tIOStrategy; 02127 typedef tMSeries tRegisterMap; 02128 02129 enum { 02130 kOffset = 0x10a, 02131 kId = 21 02132 }; 02133 tAO_Command_2(); 02134 02135 02136 typedef enum { 02137 kRegisterId = 0, 02138 kAO_START1_PulseId = 1, 02139 kAO_Mute_AId = 3, 02140 kAO_Mute_BId = 4, 02141 kAO_BC_Switch_Load_On_TCId = 5, 02142 kAO_UC_Switch_Load_On_TCId = 6, 02143 kAO_UC_Switch_Load_On_BC_TCId = 7, 02144 kAO_UI_Switch_Load_On_TCId = 8, 02145 kAO_UI_Switch_Load_On_StopId = 9, 02146 kAO_UI_Switch_Load_On_BC_TCId = 10, 02147 kAO_BC_Save_TraceId = 11, 02148 kAO_BC_Gate_EnableId = 12, 02149 kAO_UC_Save_TraceId = 13, 02150 kAO_Start_Stop_Gate_EnableId = 14, 02151 kAO_End_On_UC_TCId = 15, 02152 kAO_End_On_BC_TCId = 16 02153 } tId; 02154 02155 inline tMSeries* registerMap(void); 02156 02157 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 02158 02159 // Register Accessors (Compile-time selectable) 02160 inline tAO_Command_2& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02161 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02162 02163 inline void flush(nMDBG::tStatus2* statusChain = NULL); 02164 02165 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02166 02167 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 02168 02169 // Field Accessors (Compile-time selectable) 02170 inline tAO_Command_2& setAO_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02171 inline u16 getAO_START1_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 02172 02173 inline void writeAO_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02174 02175 inline u16 readAO_START1_Pulse(nMDBG::tStatus2* statusChain = NULL); 02176 02177 inline tAO_Command_2& setAO_Mute_A(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02178 inline u16 getAO_Mute_A(nMDBG::tStatus2* statusChain = NULL) const; 02179 02180 inline void writeAO_Mute_A(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02181 02182 inline u16 readAO_Mute_A(nMDBG::tStatus2* statusChain = NULL); 02183 02184 inline tAO_Command_2& setAO_Mute_B(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02185 inline u16 getAO_Mute_B(nMDBG::tStatus2* statusChain = NULL) const; 02186 02187 inline void writeAO_Mute_B(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02188 02189 inline u16 readAO_Mute_B(nMDBG::tStatus2* statusChain = NULL); 02190 02191 inline tAO_Command_2& setAO_BC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02192 inline u16 getAO_BC_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL) const; 02193 02194 inline void writeAO_BC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02195 02196 inline u16 readAO_BC_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL); 02197 02198 inline tAO_Command_2& setAO_UC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02199 inline u16 getAO_UC_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL) const; 02200 02201 inline void writeAO_UC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02202 02203 inline u16 readAO_UC_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL); 02204 02205 inline tAO_Command_2& setAO_UC_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02206 inline u16 getAO_UC_Switch_Load_On_BC_TC(nMDBG::tStatus2* statusChain = NULL) const; 02207 02208 inline void writeAO_UC_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02209 02210 inline u16 readAO_UC_Switch_Load_On_BC_TC(nMDBG::tStatus2* statusChain = NULL); 02211 02212 inline tAO_Command_2& setAO_UI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02213 inline u16 getAO_UI_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL) const; 02214 02215 inline void writeAO_UI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02216 02217 inline u16 readAO_UI_Switch_Load_On_TC(nMDBG::tStatus2* statusChain = NULL); 02218 02219 inline tAO_Command_2& setAO_UI_Switch_Load_On_Stop(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02220 inline u16 getAO_UI_Switch_Load_On_Stop(nMDBG::tStatus2* statusChain = NULL) const; 02221 02222 inline void writeAO_UI_Switch_Load_On_Stop(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02223 02224 inline u16 readAO_UI_Switch_Load_On_Stop(nMDBG::tStatus2* statusChain = NULL); 02225 02226 inline tAO_Command_2& setAO_UI_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02227 inline u16 getAO_UI_Switch_Load_On_BC_TC(nMDBG::tStatus2* statusChain = NULL) const; 02228 02229 inline void writeAO_UI_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02230 02231 inline u16 readAO_UI_Switch_Load_On_BC_TC(nMDBG::tStatus2* statusChain = NULL); 02232 02233 inline tAO_Command_2& setAO_BC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02234 inline u16 getAO_BC_Save_Trace(nMDBG::tStatus2* statusChain = NULL) const; 02235 02236 inline void writeAO_BC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02237 02238 inline u16 readAO_BC_Save_Trace(nMDBG::tStatus2* statusChain = NULL); 02239 02240 inline tAO_Command_2& setAO_BC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02241 inline tBoolean getAO_BC_Gate_Enable(nMDBG::tStatus2* statusChain = NULL) const; 02242 02243 inline void writeAO_BC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02244 02245 inline tBoolean readAO_BC_Gate_Enable(nMDBG::tStatus2* statusChain = NULL); 02246 02247 inline tAO_Command_2& setAO_UC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02248 inline u16 getAO_UC_Save_Trace(nMDBG::tStatus2* statusChain = NULL) const; 02249 02250 inline void writeAO_UC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02251 02252 inline u16 readAO_UC_Save_Trace(nMDBG::tStatus2* statusChain = NULL); 02253 02254 inline tAO_Command_2& setAO_Start_Stop_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02255 inline u16 getAO_Start_Stop_Gate_Enable(nMDBG::tStatus2* statusChain = NULL) const; 02256 02257 inline void writeAO_Start_Stop_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02258 02259 inline u16 readAO_Start_Stop_Gate_Enable(nMDBG::tStatus2* statusChain = NULL); 02260 02261 inline tAO_Command_2& setAO_End_On_UC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02262 inline u16 getAO_End_On_UC_TC(nMDBG::tStatus2* statusChain = NULL) const; 02263 02264 inline void writeAO_End_On_UC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02265 02266 inline u16 readAO_End_On_UC_TC(nMDBG::tStatus2* statusChain = NULL); 02267 02268 inline tAO_Command_2& setAO_End_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02269 inline u16 getAO_End_On_BC_TC(nMDBG::tStatus2* statusChain = NULL) const; 02270 02271 inline void writeAO_End_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02272 02273 inline u16 readAO_End_On_BC_TC(nMDBG::tStatus2* statusChain = NULL); 02274 02275 // Run-time selectable Register/Field Accessors 02276 private: 02277 u16 _softCopy; 02278 02279 inline void setRegisterMap(tMSeries* pMSeries); 02280 tMSeries* _MSeries; 02281 02282 friend class tMSeries; 02283 02284 }; 02285 02286 //--------------------------------------------------------------------------- 02287 // AO_Command_1 02288 //--------------------------------------------------------------------------- 02289 class tAO_Command_1 : public tReg16IODirect32 02290 { 02291 public: 02292 typedef tReg16IODirect32 tIOStrategy; 02293 typedef tMSeries tRegisterMap; 02294 02295 enum { 02296 kOffset = 0x112, 02297 kId = 22 02298 }; 02299 tAO_Command_1(); 02300 02301 02302 typedef enum { 02303 kRegisterId = 0, 02304 kAO_UPDATE_PulseId = 1, 02305 kAO_DAC0_Update_ModeId = 3, 02306 kAO_DAC1_Update_ModeId = 5, 02307 kAO_BC_LoadId = 6, 02308 kAO_BC_ArmId = 7, 02309 kAO_UC_LoadId = 8, 02310 kAO_UC_ArmId = 9, 02311 kAO_UI_LoadId = 10, 02312 kAO_UI_ArmId = 11, 02313 kAO_DisarmId = 14, 02314 kAO_START_PulseId = 15, 02315 kAO_Analog_Trigger_ResetId = 16 02316 } tId; 02317 02318 inline tMSeries* registerMap(void); 02319 02320 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 02321 02322 // Register Accessors (Compile-time selectable) 02323 inline tAO_Command_1& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02324 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02325 02326 inline void flush(nMDBG::tStatus2* statusChain = NULL); 02327 02328 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02329 02330 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 02331 02332 // Field Accessors (Compile-time selectable) 02333 inline tAO_Command_1& setAO_UPDATE_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02334 inline u16 getAO_UPDATE_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 02335 02336 inline void writeAO_UPDATE_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02337 02338 inline u16 readAO_UPDATE_Pulse(nMDBG::tStatus2* statusChain = NULL); 02339 02340 typedef enum { 02341 kAO_DAC0_Update_ModeImmediate = 0, 02342 kAO_DAC0_Update_ModeTimed = 1, 02343 } tAO_DAC0_Update_Mode; 02344 inline tAO_Command_1& setAO_DAC0_Update_Mode(tAO_DAC0_Update_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02345 inline tAO_DAC0_Update_Mode getAO_DAC0_Update_Mode(nMDBG::tStatus2* statusChain = NULL) const; 02346 02347 inline void writeAO_DAC0_Update_Mode(tAO_DAC0_Update_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02348 02349 inline tAO_DAC0_Update_Mode readAO_DAC0_Update_Mode(nMDBG::tStatus2* statusChain = NULL); 02350 02351 typedef enum { 02352 kAO_DAC1_Update_ModeImmediate = 0, 02353 kAO_DAC1_Update_ModeTimed = 1, 02354 } tAO_DAC1_Update_Mode; 02355 inline tAO_Command_1& setAO_DAC1_Update_Mode(tAO_DAC1_Update_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02356 inline tAO_DAC1_Update_Mode getAO_DAC1_Update_Mode(nMDBG::tStatus2* statusChain = NULL) const; 02357 02358 inline void writeAO_DAC1_Update_Mode(tAO_DAC1_Update_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02359 02360 inline tAO_DAC1_Update_Mode readAO_DAC1_Update_Mode(nMDBG::tStatus2* statusChain = NULL); 02361 02362 inline tAO_Command_1& setAO_BC_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02363 inline u16 getAO_BC_Load(nMDBG::tStatus2* statusChain = NULL) const; 02364 02365 inline void writeAO_BC_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02366 02367 inline u16 readAO_BC_Load(nMDBG::tStatus2* statusChain = NULL); 02368 02369 inline tAO_Command_1& setAO_BC_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02370 inline u16 getAO_BC_Arm(nMDBG::tStatus2* statusChain = NULL) const; 02371 02372 inline void writeAO_BC_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02373 02374 inline u16 readAO_BC_Arm(nMDBG::tStatus2* statusChain = NULL); 02375 02376 inline tAO_Command_1& setAO_UC_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02377 inline u16 getAO_UC_Load(nMDBG::tStatus2* statusChain = NULL) const; 02378 02379 inline void writeAO_UC_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02380 02381 inline u16 readAO_UC_Load(nMDBG::tStatus2* statusChain = NULL); 02382 02383 inline tAO_Command_1& setAO_UC_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02384 inline u16 getAO_UC_Arm(nMDBG::tStatus2* statusChain = NULL) const; 02385 02386 inline void writeAO_UC_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02387 02388 inline u16 readAO_UC_Arm(nMDBG::tStatus2* statusChain = NULL); 02389 02390 inline tAO_Command_1& setAO_UI_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02391 inline u16 getAO_UI_Load(nMDBG::tStatus2* statusChain = NULL) const; 02392 02393 inline void writeAO_UI_Load(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02394 02395 inline u16 readAO_UI_Load(nMDBG::tStatus2* statusChain = NULL); 02396 02397 inline tAO_Command_1& setAO_UI_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02398 inline u16 getAO_UI_Arm(nMDBG::tStatus2* statusChain = NULL) const; 02399 02400 inline void writeAO_UI_Arm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02401 02402 inline u16 readAO_UI_Arm(nMDBG::tStatus2* statusChain = NULL); 02403 02404 inline tAO_Command_1& setAO_Disarm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02405 inline u16 getAO_Disarm(nMDBG::tStatus2* statusChain = NULL) const; 02406 02407 inline void writeAO_Disarm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02408 02409 inline u16 readAO_Disarm(nMDBG::tStatus2* statusChain = NULL); 02410 02411 inline tAO_Command_1& setAO_START_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02412 inline u16 getAO_START_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 02413 02414 inline void writeAO_START_Pulse(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02415 02416 inline u16 readAO_START_Pulse(nMDBG::tStatus2* statusChain = NULL); 02417 02418 inline tAO_Command_1& setAO_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02419 inline u16 getAO_Analog_Trigger_Reset(nMDBG::tStatus2* statusChain = NULL) const; 02420 02421 inline void writeAO_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02422 02423 inline u16 readAO_Analog_Trigger_Reset(nMDBG::tStatus2* statusChain = NULL); 02424 02425 // Run-time selectable Register/Field Accessors 02426 private: 02427 u16 _softCopy; 02428 02429 inline void setRegisterMap(tMSeries* pMSeries); 02430 tMSeries* _MSeries; 02431 02432 friend class tMSeries; 02433 02434 }; 02435 02436 //--------------------------------------------------------------------------- 02437 // AO_Mode_1 02438 //--------------------------------------------------------------------------- 02439 class tAO_Mode_1 : public tReg16IODirect32 02440 { 02441 public: 02442 typedef tReg16IODirect32 tIOStrategy; 02443 typedef tMSeries tRegisterMap; 02444 02445 enum { 02446 kOffset = 0x14c, 02447 kId = 23 02448 }; 02449 tAO_Mode_1(); 02450 02451 02452 typedef enum { 02453 kRegisterId = 0, 02454 kAO_Trigger_OnceId = 1, 02455 kAO_ContinuousId = 2, 02456 kAO_UC_Switch_Load_Every_TCId = 3, 02457 kAO_UI_Source_PolarityId = 4, 02458 kAO_UPDATE_Source_PolarityId = 5, 02459 kAO_Multiple_ChannelsId = 6, 02460 kAO_UI_Source_SelectId = 7, 02461 kAO_UPDATE_Source_SelectId = 8 02462 } tId; 02463 02464 inline tMSeries* registerMap(void); 02465 02466 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 02467 02468 // Register Accessors (Compile-time selectable) 02469 inline tAO_Mode_1& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02470 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02471 02472 inline void flush(nMDBG::tStatus2* statusChain = NULL); 02473 02474 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02475 02476 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 02477 02478 // Field Accessors (Compile-time selectable) 02479 inline tAO_Mode_1& setAO_Trigger_Once(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02480 inline tBoolean getAO_Trigger_Once(nMDBG::tStatus2* statusChain = NULL) const; 02481 02482 inline void writeAO_Trigger_Once(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02483 02484 inline tBoolean readAO_Trigger_Once(nMDBG::tStatus2* statusChain = NULL); 02485 02486 typedef enum { 02487 kAO_ContinuousStop_On_BC_TC = 0, 02488 kAO_ContinuousIgnore_BC_TC = 1, 02489 } tAO_Continuous; 02490 inline tAO_Mode_1& setAO_Continuous(tAO_Continuous fieldValue, nMDBG::tStatus2* statusChain = NULL); 02491 inline tAO_Continuous getAO_Continuous(nMDBG::tStatus2* statusChain = NULL) const; 02492 02493 inline void writeAO_Continuous(tAO_Continuous fieldValue, nMDBG::tStatus2* statusChain = NULL); 02494 02495 inline tAO_Continuous readAO_Continuous(nMDBG::tStatus2* statusChain = NULL); 02496 02497 inline tAO_Mode_1& setAO_UC_Switch_Load_Every_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02498 inline u16 getAO_UC_Switch_Load_Every_TC(nMDBG::tStatus2* statusChain = NULL) const; 02499 02500 inline void writeAO_UC_Switch_Load_Every_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02501 02502 inline u16 readAO_UC_Switch_Load_Every_TC(nMDBG::tStatus2* statusChain = NULL); 02503 02504 typedef enum { 02505 kAO_UI_Source_PolarityRising_Edge = 0, 02506 kAO_UI_Source_PolarityFalling_Edge = 1, 02507 } tAO_UI_Source_Polarity; 02508 inline tAO_Mode_1& setAO_UI_Source_Polarity(tAO_UI_Source_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 02509 inline tAO_UI_Source_Polarity getAO_UI_Source_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 02510 02511 inline void writeAO_UI_Source_Polarity(tAO_UI_Source_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 02512 02513 inline tAO_UI_Source_Polarity readAO_UI_Source_Polarity(nMDBG::tStatus2* statusChain = NULL); 02514 02515 typedef enum { 02516 kAO_UPDATE_Source_PolarityRising_Edge = 0, 02517 kAO_UPDATE_Source_PolarityFalling_Edge = 1, 02518 } tAO_UPDATE_Source_Polarity; 02519 inline tAO_Mode_1& setAO_UPDATE_Source_Polarity(tAO_UPDATE_Source_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 02520 inline tAO_UPDATE_Source_Polarity getAO_UPDATE_Source_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 02521 02522 inline void writeAO_UPDATE_Source_Polarity(tAO_UPDATE_Source_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 02523 02524 inline tAO_UPDATE_Source_Polarity readAO_UPDATE_Source_Polarity(nMDBG::tStatus2* statusChain = NULL); 02525 02526 inline tAO_Mode_1& setAO_Multiple_Channels(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02527 inline tBoolean getAO_Multiple_Channels(nMDBG::tStatus2* statusChain = NULL) const; 02528 02529 inline void writeAO_Multiple_Channels(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02530 02531 inline tBoolean readAO_Multiple_Channels(nMDBG::tStatus2* statusChain = NULL); 02532 02533 typedef enum { 02534 kAO_UI_Source_SelectGround = 0, 02535 kAO_UI_Source_SelectPFI0 = 1, 02536 kAO_UI_Source_SelectPFI1 = 2, 02537 kAO_UI_Source_SelectPFI2 = 3, 02538 kAO_UI_Source_SelectPFI3 = 4, 02539 kAO_UI_Source_SelectPFI4 = 5, 02540 kAO_UI_Source_SelectPFI5 = 6, 02541 kAO_UI_Source_SelectPFI6 = 7, 02542 kAO_UI_Source_SelectPFI7 = 8, 02543 kAO_UI_Source_SelectPFI8 = 9, 02544 kAO_UI_Source_SelectPFI9 = 10, 02545 kAO_UI_Source_SelectRTSI0 = 11, 02546 kAO_UI_Source_SelectRTSI1 = 12, 02547 kAO_UI_Source_SelectRTSI2 = 13, 02548 kAO_UI_Source_SelectRTSI3 = 14, 02549 kAO_UI_Source_SelectRTSI4 = 15, 02550 kAO_UI_Source_SelectRTSI5 = 16, 02551 kAO_UI_Source_SelectRTSI6 = 17, 02552 kAO_UI_Source_SelectIN_TIMEBASE2 = 19, 02553 kAO_UI_Source_SelectStar_Trigger = 20, 02554 kAO_UI_Source_SelectPFI10 = 21, 02555 kAO_UI_Source_SelectPFI11 = 22, 02556 kAO_UI_Source_SelectPFI12 = 23, 02557 kAO_UI_Source_SelectPFI13 = 24, 02558 kAO_UI_Source_SelectPFI14 = 25, 02559 kAO_UI_Source_SelectPFI15 = 26, 02560 kAO_UI_Source_SelectRTSI7 = 27, 02561 kAO_UI_Source_SelectAO_IN_TIMEBASE1 = 28, 02562 kAO_UI_Source_SelectPXI_Clk10 = 29, 02563 kAO_UI_Source_SelectAnalog_Trigger = 30, 02564 kAO_UI_Source_SelectLow = 31, 02565 } tAO_UI_Source_Select; 02566 inline tAO_Mode_1& setAO_UI_Source_Select(tAO_UI_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02567 inline tAO_UI_Source_Select getAO_UI_Source_Select(nMDBG::tStatus2* statusChain = NULL) const; 02568 02569 inline void writeAO_UI_Source_Select(tAO_UI_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02570 02571 inline tAO_UI_Source_Select readAO_UI_Source_Select(nMDBG::tStatus2* statusChain = NULL); 02572 02573 typedef enum { 02574 kAO_UPDATE_Source_SelectUI_TC = 0, 02575 kAO_UPDATE_Source_SelectPFI0 = 1, 02576 kAO_UPDATE_Source_SelectPFI1 = 2, 02577 kAO_UPDATE_Source_SelectPFI2 = 3, 02578 kAO_UPDATE_Source_SelectPFI3 = 4, 02579 kAO_UPDATE_Source_SelectPFI4 = 5, 02580 kAO_UPDATE_Source_SelectPFI5 = 6, 02581 kAO_UPDATE_Source_SelectPFI6 = 7, 02582 kAO_UPDATE_Source_SelectPFI7 = 8, 02583 kAO_UPDATE_Source_SelectPFI8 = 9, 02584 kAO_UPDATE_Source_SelectPFI9 = 10, 02585 kAO_UPDATE_Source_SelectRTSI0 = 11, 02586 kAO_UPDATE_Source_SelectRTSI1 = 12, 02587 kAO_UPDATE_Source_SelectRTSI2 = 13, 02588 kAO_UPDATE_Source_SelectRTSI3 = 14, 02589 kAO_UPDATE_Source_SelectRTSI4 = 15, 02590 kAO_UPDATE_Source_SelectRTSI5 = 16, 02591 kAO_UPDATE_Source_SelectRTSI6 = 17, 02592 kAO_UPDATE_Source_SelectGPCTR0_Out = 18, 02593 kAO_UPDATE_Source_SelectGPCTR1_Out = 19, 02594 kAO_UPDATE_Source_SelectStar_Trigger = 20, 02595 kAO_UPDATE_Source_SelectPFI10 = 21, 02596 kAO_UPDATE_Source_SelectPFI11 = 22, 02597 kAO_UPDATE_Source_SelectPFI12 = 23, 02598 kAO_UPDATE_Source_SelectPFI13 = 24, 02599 kAO_UPDATE_Source_SelectPFI14 = 25, 02600 kAO_UPDATE_Source_SelectPFI15 = 26, 02601 kAO_UPDATE_Source_SelectRTSI7 = 27, 02602 kAO_UPDATE_Source_SelectAnalog_Trigger = 30, 02603 kAO_UPDATE_Source_SelectLow = 31, 02604 } tAO_UPDATE_Source_Select; 02605 inline tAO_Mode_1& setAO_UPDATE_Source_Select(tAO_UPDATE_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02606 inline tAO_UPDATE_Source_Select getAO_UPDATE_Source_Select(nMDBG::tStatus2* statusChain = NULL) const; 02607 02608 inline void writeAO_UPDATE_Source_Select(tAO_UPDATE_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02609 02610 inline tAO_UPDATE_Source_Select readAO_UPDATE_Source_Select(nMDBG::tStatus2* statusChain = NULL); 02611 02612 // Run-time selectable Register/Field Accessors 02613 private: 02614 u16 _softCopy; 02615 02616 inline void setRegisterMap(tMSeries* pMSeries); 02617 tMSeries* _MSeries; 02618 02619 friend class tMSeries; 02620 02621 }; 02622 02623 //--------------------------------------------------------------------------- 02624 // AO_Mode_2 02625 //--------------------------------------------------------------------------- 02626 class tAO_Mode_2 : public tReg16IODirect32 02627 { 02628 public: 02629 typedef tReg16IODirect32 tIOStrategy; 02630 typedef tMSeries tRegisterMap; 02631 02632 enum { 02633 kOffset = 0x14e, 02634 kId = 24 02635 }; 02636 tAO_Mode_2(); 02637 02638 02639 typedef enum { 02640 kRegisterId = 0, 02641 kAO_BC_Write_SwitchId = 1, 02642 kAO_BC_Reload_ModeId = 2, 02643 kAO_BC_Initial_Load_SourceId = 3, 02644 kAO_UI_Write_SwitchId = 4, 02645 kAO_UI_Reload_ModeId = 5, 02646 kAO_UI_Initial_Load_SourceId = 6, 02647 kAO_UC_Write_SwitchId = 9, 02648 kAO_UC_Initial_Load_SourceId = 10, 02649 kAO_START1_DisableId = 11, 02650 kAO_FIFO_Retransmit_EnableId = 12, 02651 kAO_FIFO_ModeId = 13 02652 } tId; 02653 02654 inline tMSeries* registerMap(void); 02655 02656 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 02657 02658 // Register Accessors (Compile-time selectable) 02659 inline tAO_Mode_2& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02660 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02661 02662 inline void flush(nMDBG::tStatus2* statusChain = NULL); 02663 02664 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02665 02666 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 02667 02668 // Field Accessors (Compile-time selectable) 02669 inline tAO_Mode_2& setAO_BC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02670 inline u16 getAO_BC_Write_Switch(nMDBG::tStatus2* statusChain = NULL) const; 02671 02672 inline void writeAO_BC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02673 02674 inline u16 readAO_BC_Write_Switch(nMDBG::tStatus2* statusChain = NULL); 02675 02676 inline tAO_Mode_2& setAO_BC_Reload_Mode(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02677 inline u16 getAO_BC_Reload_Mode(nMDBG::tStatus2* statusChain = NULL) const; 02678 02679 inline void writeAO_BC_Reload_Mode(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02680 02681 inline u16 readAO_BC_Reload_Mode(nMDBG::tStatus2* statusChain = NULL); 02682 02683 typedef enum { 02684 kAO_BC_Initial_Load_SourceReg_A = 0, 02685 kAO_BC_Initial_Load_SourceReg_B = 1, 02686 } tAO_BC_Initial_Load_Source; 02687 inline tAO_Mode_2& setAO_BC_Initial_Load_Source(tAO_BC_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 02688 inline tAO_BC_Initial_Load_Source getAO_BC_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL) const; 02689 02690 inline void writeAO_BC_Initial_Load_Source(tAO_BC_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 02691 02692 inline tAO_BC_Initial_Load_Source readAO_BC_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL); 02693 02694 inline tAO_Mode_2& setAO_UI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02695 inline u16 getAO_UI_Write_Switch(nMDBG::tStatus2* statusChain = NULL) const; 02696 02697 inline void writeAO_UI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02698 02699 inline u16 readAO_UI_Write_Switch(nMDBG::tStatus2* statusChain = NULL); 02700 02701 typedef enum { 02702 kAO_UI_Reload_ModeNo_Change = 0, 02703 kAO_UI_Reload_ModeAlternate_On_STOP = 4, 02704 kAO_UI_Reload_ModeSwitch_On_STOP = 5, 02705 kAO_UI_Reload_ModeAlternate_On_BC_TC = 6, 02706 kAO_UI_Reload_ModeSwitch_On_BC_TC = 7, 02707 } tAO_UI_Reload_Mode; 02708 inline tAO_Mode_2& setAO_UI_Reload_Mode(tAO_UI_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02709 inline tAO_UI_Reload_Mode getAO_UI_Reload_Mode(nMDBG::tStatus2* statusChain = NULL) const; 02710 02711 inline void writeAO_UI_Reload_Mode(tAO_UI_Reload_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02712 02713 inline tAO_UI_Reload_Mode readAO_UI_Reload_Mode(nMDBG::tStatus2* statusChain = NULL); 02714 02715 typedef enum { 02716 kAO_UI_Initial_Load_SourceReg_A = 0, 02717 kAO_UI_Initial_Load_SourceReg_B = 1, 02718 } tAO_UI_Initial_Load_Source; 02719 inline tAO_Mode_2& setAO_UI_Initial_Load_Source(tAO_UI_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 02720 inline tAO_UI_Initial_Load_Source getAO_UI_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL) const; 02721 02722 inline void writeAO_UI_Initial_Load_Source(tAO_UI_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 02723 02724 inline tAO_UI_Initial_Load_Source readAO_UI_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL); 02725 02726 inline tAO_Mode_2& setAO_UC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02727 inline u16 getAO_UC_Write_Switch(nMDBG::tStatus2* statusChain = NULL) const; 02728 02729 inline void writeAO_UC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02730 02731 inline u16 readAO_UC_Write_Switch(nMDBG::tStatus2* statusChain = NULL); 02732 02733 typedef enum { 02734 kAO_UC_Initial_Load_SourceReg_A = 0, 02735 kAO_UC_Initial_Load_SourceReg_B = 1, 02736 } tAO_UC_Initial_Load_Source; 02737 inline tAO_Mode_2& setAO_UC_Initial_Load_Source(tAO_UC_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 02738 inline tAO_UC_Initial_Load_Source getAO_UC_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL) const; 02739 02740 inline void writeAO_UC_Initial_Load_Source(tAO_UC_Initial_Load_Source fieldValue, nMDBG::tStatus2* statusChain = NULL); 02741 02742 inline tAO_UC_Initial_Load_Source readAO_UC_Initial_Load_Source(nMDBG::tStatus2* statusChain = NULL); 02743 02744 inline tAO_Mode_2& setAO_START1_Disable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02745 inline u16 getAO_START1_Disable(nMDBG::tStatus2* statusChain = NULL) const; 02746 02747 inline void writeAO_START1_Disable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02748 02749 inline u16 readAO_START1_Disable(nMDBG::tStatus2* statusChain = NULL); 02750 02751 inline tAO_Mode_2& setAO_FIFO_Retransmit_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02752 inline tBoolean getAO_FIFO_Retransmit_Enable(nMDBG::tStatus2* statusChain = NULL) const; 02753 02754 inline void writeAO_FIFO_Retransmit_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02755 02756 inline tBoolean readAO_FIFO_Retransmit_Enable(nMDBG::tStatus2* statusChain = NULL); 02757 02758 typedef enum { 02759 kAO_FIFO_ModeEmpty = 0, 02760 kAO_FIFO_ModeLess_Than_Half_Full = 1, 02761 kAO_FIFO_ModeLess_Than_Full = 2, 02762 kAO_FIFO_ModeLess_Than_Half_Full_to_Full = 3, 02763 } tAO_FIFO_Mode; 02764 inline tAO_Mode_2& setAO_FIFO_Mode(tAO_FIFO_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02765 inline tAO_FIFO_Mode getAO_FIFO_Mode(nMDBG::tStatus2* statusChain = NULL) const; 02766 02767 inline void writeAO_FIFO_Mode(tAO_FIFO_Mode fieldValue, nMDBG::tStatus2* statusChain = NULL); 02768 02769 inline tAO_FIFO_Mode readAO_FIFO_Mode(nMDBG::tStatus2* statusChain = NULL); 02770 02771 // Run-time selectable Register/Field Accessors 02772 private: 02773 u16 _softCopy; 02774 02775 inline void setRegisterMap(tMSeries* pMSeries); 02776 tMSeries* _MSeries; 02777 02778 friend class tMSeries; 02779 02780 }; 02781 02782 //--------------------------------------------------------------------------- 02783 // AO_Output_Control 02784 //--------------------------------------------------------------------------- 02785 class tAO_Output_Control : public tReg16IODirect32 02786 { 02787 public: 02788 typedef tReg16IODirect32 tIOStrategy; 02789 typedef tMSeries tRegisterMap; 02790 02791 enum { 02792 kOffset = 0x1ac, 02793 kId = 25 02794 }; 02795 tAO_Output_Control(); 02796 02797 02798 typedef enum { 02799 kRegisterId = 0, 02800 kAO_UPDATE_Output_SelectId = 1, 02801 kAO_External_Gate_PolarityId = 3, 02802 kAO_Number_Of_ChannelsId = 5, 02803 kAO_External_Gate_SelectId = 6, 02804 kAO_External_Gate_EnableId = 7 02805 } tId; 02806 02807 inline tMSeries* registerMap(void); 02808 02809 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 02810 02811 // Register Accessors (Compile-time selectable) 02812 inline tAO_Output_Control& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02813 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02814 02815 inline void flush(nMDBG::tStatus2* statusChain = NULL); 02816 02817 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02818 02819 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 02820 02821 // Field Accessors (Compile-time selectable) 02822 typedef enum { 02823 kAO_UPDATE_Output_SelectHigh_Z = 0, 02824 kAO_UPDATE_Output_SelectGround = 1, 02825 kAO_UPDATE_Output_SelectActive_Low = 2, 02826 kAO_UPDATE_Output_SelectActive_High = 3, 02827 } tAO_UPDATE_Output_Select; 02828 inline tAO_Output_Control& setAO_UPDATE_Output_Select(tAO_UPDATE_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02829 inline tAO_UPDATE_Output_Select getAO_UPDATE_Output_Select(nMDBG::tStatus2* statusChain = NULL) const; 02830 02831 inline void writeAO_UPDATE_Output_Select(tAO_UPDATE_Output_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02832 02833 inline tAO_UPDATE_Output_Select readAO_UPDATE_Output_Select(nMDBG::tStatus2* statusChain = NULL); 02834 02835 typedef enum { 02836 kAO_External_Gate_PolarityActive_High = 0, 02837 kAO_External_Gate_PolarityActive_Low = 1, 02838 } tAO_External_Gate_Polarity; 02839 inline tAO_Output_Control& setAO_External_Gate_Polarity(tAO_External_Gate_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 02840 inline tAO_External_Gate_Polarity getAO_External_Gate_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 02841 02842 inline void writeAO_External_Gate_Polarity(tAO_External_Gate_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 02843 02844 inline tAO_External_Gate_Polarity readAO_External_Gate_Polarity(nMDBG::tStatus2* statusChain = NULL); 02845 02846 inline tAO_Output_Control& setAO_Number_Of_Channels(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02847 inline u16 getAO_Number_Of_Channels(nMDBG::tStatus2* statusChain = NULL) const; 02848 02849 inline void writeAO_Number_Of_Channels(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02850 02851 inline u16 readAO_Number_Of_Channels(nMDBG::tStatus2* statusChain = NULL); 02852 02853 typedef enum { 02854 kAO_External_Gate_SelectDisabled = 0, 02855 kAO_External_Gate_SelectPFI0 = 1, 02856 kAO_External_Gate_SelectPFI1 = 2, 02857 kAO_External_Gate_SelectPFI2 = 3, 02858 kAO_External_Gate_SelectPFI3 = 4, 02859 kAO_External_Gate_SelectPFI4 = 5, 02860 kAO_External_Gate_SelectPFI5 = 6, 02861 kAO_External_Gate_SelectPFI6 = 7, 02862 kAO_External_Gate_SelectPFI7 = 8, 02863 kAO_External_Gate_SelectPFI8 = 9, 02864 kAO_External_Gate_SelectPFI9 = 10, 02865 kAO_External_Gate_SelectRTSI0 = 11, 02866 kAO_External_Gate_SelectRTSI1 = 12, 02867 kAO_External_Gate_SelectRTSI2 = 13, 02868 kAO_External_Gate_SelectRTSI3 = 14, 02869 kAO_External_Gate_SelectRTSI4 = 15, 02870 kAO_External_Gate_SelectRTSI5 = 16, 02871 kAO_External_Gate_SelectRTSI6 = 17, 02872 kAO_External_Gate_SelectStar_Trigger = 20, 02873 kAO_External_Gate_SelectPFI10 = 21, 02874 kAO_External_Gate_SelectPFI11 = 22, 02875 kAO_External_Gate_SelectPFI12 = 23, 02876 kAO_External_Gate_SelectPFI13 = 24, 02877 kAO_External_Gate_SelectPFI14 = 25, 02878 kAO_External_Gate_SelectPFI15 = 26, 02879 kAO_External_Gate_SelectRTSI7 = 27, 02880 kAO_External_Gate_SelectAnalog_Trigger = 30, 02881 kAO_External_Gate_SelectLow = 31, 02882 } tAO_External_Gate_Select; 02883 inline tAO_Output_Control& setAO_External_Gate_Select(tAO_External_Gate_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02884 inline tAO_External_Gate_Select getAO_External_Gate_Select(nMDBG::tStatus2* statusChain = NULL) const; 02885 02886 inline void writeAO_External_Gate_Select(tAO_External_Gate_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 02887 02888 inline tAO_External_Gate_Select readAO_External_Gate_Select(nMDBG::tStatus2* statusChain = NULL); 02889 02890 inline tAO_Output_Control& setAO_External_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02891 inline u16 getAO_External_Gate_Enable(nMDBG::tStatus2* statusChain = NULL) const; 02892 02893 inline void writeAO_External_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02894 02895 inline u16 readAO_External_Gate_Enable(nMDBG::tStatus2* statusChain = NULL); 02896 02897 // Run-time selectable Register/Field Accessors 02898 private: 02899 u16 _softCopy; 02900 02901 inline void setRegisterMap(tMSeries* pMSeries); 02902 tMSeries* _MSeries; 02903 02904 friend class tMSeries; 02905 02906 }; 02907 02908 //--------------------------------------------------------------------------- 02909 // AO_Mode_3 02910 //--------------------------------------------------------------------------- 02911 class tAO_Mode_3 : public tReg16IODirect32 02912 { 02913 public: 02914 typedef tReg16IODirect32 tIOStrategy; 02915 typedef tMSeries tRegisterMap; 02916 02917 enum { 02918 kOffset = 0x18c, 02919 kId = 26 02920 }; 02921 tAO_Mode_3(); 02922 02923 02924 typedef enum { 02925 kRegisterId = 0, 02926 kAO_Last_Gate_DisableId = 1, 02927 kAO_Software_GateId = 2, 02928 kAO_Not_An_UPDATEId = 3, 02929 kAO_Stop_On_BC_TC_ErrorId = 4, 02930 kAO_Stop_On_BC_TC_Trigger_ErrorId = 5, 02931 kAO_Stop_On_Overrun_ErrorId = 6, 02932 kAO_Trigger_LengthId = 12, 02933 kAO_UC_Switch_Load_Every_BC_TCId = 13 02934 } tId; 02935 02936 inline tMSeries* registerMap(void); 02937 02938 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 02939 02940 // Register Accessors (Compile-time selectable) 02941 inline tAO_Mode_3& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02942 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 02943 02944 inline void flush(nMDBG::tStatus2* statusChain = NULL); 02945 02946 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 02947 02948 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 02949 02950 // Field Accessors (Compile-time selectable) 02951 inline tAO_Mode_3& setAO_Last_Gate_Disable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02952 inline u16 getAO_Last_Gate_Disable(nMDBG::tStatus2* statusChain = NULL) const; 02953 02954 inline void writeAO_Last_Gate_Disable(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02955 02956 inline u16 readAO_Last_Gate_Disable(nMDBG::tStatus2* statusChain = NULL); 02957 02958 inline tAO_Mode_3& setAO_Software_Gate(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02959 inline u16 getAO_Software_Gate(nMDBG::tStatus2* statusChain = NULL) const; 02960 02961 inline void writeAO_Software_Gate(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02962 02963 inline u16 readAO_Software_Gate(nMDBG::tStatus2* statusChain = NULL); 02964 02965 inline tAO_Mode_3& setAO_Not_An_UPDATE(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02966 inline u16 getAO_Not_An_UPDATE(nMDBG::tStatus2* statusChain = NULL) const; 02967 02968 inline void writeAO_Not_An_UPDATE(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 02969 02970 inline u16 readAO_Not_An_UPDATE(nMDBG::tStatus2* statusChain = NULL); 02971 02972 inline tAO_Mode_3& setAO_Stop_On_BC_TC_Error(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02973 inline tBoolean getAO_Stop_On_BC_TC_Error(nMDBG::tStatus2* statusChain = NULL) const; 02974 02975 inline void writeAO_Stop_On_BC_TC_Error(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02976 02977 inline tBoolean readAO_Stop_On_BC_TC_Error(nMDBG::tStatus2* statusChain = NULL); 02978 02979 inline tAO_Mode_3& setAO_Stop_On_BC_TC_Trigger_Error(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02980 inline tBoolean getAO_Stop_On_BC_TC_Trigger_Error(nMDBG::tStatus2* statusChain = NULL) const; 02981 02982 inline void writeAO_Stop_On_BC_TC_Trigger_Error(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02983 02984 inline tBoolean readAO_Stop_On_BC_TC_Trigger_Error(nMDBG::tStatus2* statusChain = NULL); 02985 02986 inline tAO_Mode_3& setAO_Stop_On_Overrun_Error(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02987 inline tBoolean getAO_Stop_On_Overrun_Error(nMDBG::tStatus2* statusChain = NULL) const; 02988 02989 inline void writeAO_Stop_On_Overrun_Error(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 02990 02991 inline tBoolean readAO_Stop_On_Overrun_Error(nMDBG::tStatus2* statusChain = NULL); 02992 02993 typedef enum { 02994 kAO_Trigger_LengthDA_START1 = 0, 02995 kAO_Trigger_LengthDA_ST1ED = 1, 02996 } tAO_Trigger_Length; 02997 inline tAO_Mode_3& setAO_Trigger_Length(tAO_Trigger_Length fieldValue, nMDBG::tStatus2* statusChain = NULL); 02998 inline tAO_Trigger_Length getAO_Trigger_Length(nMDBG::tStatus2* statusChain = NULL) const; 02999 03000 inline void writeAO_Trigger_Length(tAO_Trigger_Length fieldValue, nMDBG::tStatus2* statusChain = NULL); 03001 03002 inline tAO_Trigger_Length readAO_Trigger_Length(nMDBG::tStatus2* statusChain = NULL); 03003 03004 inline tAO_Mode_3& setAO_UC_Switch_Load_Every_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03005 inline u16 getAO_UC_Switch_Load_Every_BC_TC(nMDBG::tStatus2* statusChain = NULL) const; 03006 03007 inline void writeAO_UC_Switch_Load_Every_BC_TC(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03008 03009 inline u16 readAO_UC_Switch_Load_Every_BC_TC(nMDBG::tStatus2* statusChain = NULL); 03010 03011 // Run-time selectable Register/Field Accessors 03012 private: 03013 u16 _softCopy; 03014 03015 inline void setRegisterMap(tMSeries* pMSeries); 03016 tMSeries* _MSeries; 03017 03018 friend class tMSeries; 03019 03020 }; 03021 03022 //--------------------------------------------------------------------------- 03023 // AO_Personal 03024 //--------------------------------------------------------------------------- 03025 class tAO_Personal : public tReg16IODirect32 03026 { 03027 public: 03028 typedef tReg16IODirect32 tIOStrategy; 03029 typedef tMSeries tRegisterMap; 03030 03031 enum { 03032 kOffset = 0x19c, 03033 kId = 27 03034 }; 03035 tAO_Personal(); 03036 03037 03038 typedef enum { 03039 kRegisterId = 0, 03040 kAO_Interval_Buffer_ModeId = 4, 03041 kAO_BC_Source_SelectId = 5, 03042 kAO_UPDATE_Pulse_WidthId = 6, 03043 kAO_UPDATE_Pulse_TimebaseId = 7, 03044 kAO_UPDATE_Original_PulseId = 8, 03045 kAO_FIFO_EnableId = 11, 03046 kAO_TMRDACWR_Pulse_WidthId = 13, 03047 kAO_Number_Of_DAC_PackagesId = 15, 03048 kAO_Multiple_DACS_Per_PackageId = 16 03049 } tId; 03050 03051 inline tMSeries* registerMap(void); 03052 03053 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03054 03055 // Register Accessors (Compile-time selectable) 03056 inline tAO_Personal& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03057 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03058 03059 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03060 03061 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03062 03063 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 03064 03065 // Field Accessors (Compile-time selectable) 03066 inline tAO_Personal& setAO_Interval_Buffer_Mode(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03067 inline tBoolean getAO_Interval_Buffer_Mode(nMDBG::tStatus2* statusChain = NULL) const; 03068 03069 inline void writeAO_Interval_Buffer_Mode(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03070 03071 inline tBoolean readAO_Interval_Buffer_Mode(nMDBG::tStatus2* statusChain = NULL); 03072 03073 typedef enum { 03074 kAO_BC_Source_SelectUPDATE = 0, 03075 kAO_BC_Source_SelectUC_TC = 1, 03076 } tAO_BC_Source_Select; 03077 inline tAO_Personal& setAO_BC_Source_Select(tAO_BC_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 03078 inline tAO_BC_Source_Select getAO_BC_Source_Select(nMDBG::tStatus2* statusChain = NULL) const; 03079 03080 inline void writeAO_BC_Source_Select(tAO_BC_Source_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 03081 03082 inline tAO_BC_Source_Select readAO_BC_Source_Select(nMDBG::tStatus2* statusChain = NULL); 03083 03084 typedef enum { 03085 kAO_UPDATE_Pulse_WidthAbout_1_TIMEBASE_Periods = 0, 03086 kAO_UPDATE_Pulse_WidthAbout_3_TIMEBASE_Periods = 1, 03087 } tAO_UPDATE_Pulse_Width; 03088 inline tAO_Personal& setAO_UPDATE_Pulse_Width(tAO_UPDATE_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 03089 inline tAO_UPDATE_Pulse_Width getAO_UPDATE_Pulse_Width(nMDBG::tStatus2* statusChain = NULL) const; 03090 03091 inline void writeAO_UPDATE_Pulse_Width(tAO_UPDATE_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 03092 03093 inline tAO_UPDATE_Pulse_Width readAO_UPDATE_Pulse_Width(nMDBG::tStatus2* statusChain = NULL); 03094 03095 typedef enum { 03096 kAO_UPDATE_Pulse_TimebaseSelect_By_PulseWidth = 0, 03097 kAO_UPDATE_Pulse_TimebaseSelect_By_OriginalPulse = 1, 03098 } tAO_UPDATE_Pulse_Timebase; 03099 inline tAO_Personal& setAO_UPDATE_Pulse_Timebase(tAO_UPDATE_Pulse_Timebase fieldValue, nMDBG::tStatus2* statusChain = NULL); 03100 inline tAO_UPDATE_Pulse_Timebase getAO_UPDATE_Pulse_Timebase(nMDBG::tStatus2* statusChain = NULL) const; 03101 03102 inline void writeAO_UPDATE_Pulse_Timebase(tAO_UPDATE_Pulse_Timebase fieldValue, nMDBG::tStatus2* statusChain = NULL); 03103 03104 inline tAO_UPDATE_Pulse_Timebase readAO_UPDATE_Pulse_Timebase(nMDBG::tStatus2* statusChain = NULL); 03105 03106 typedef enum { 03107 kAO_UPDATE_Original_PulseMax_Of_UPDATE_Pulsewidth = 0, 03108 kAO_UPDATE_Original_PulseEqual_To_UPDATE_Pulsewidth = 1, 03109 } tAO_UPDATE_Original_Pulse; 03110 inline tAO_Personal& setAO_UPDATE_Original_Pulse(tAO_UPDATE_Original_Pulse fieldValue, nMDBG::tStatus2* statusChain = NULL); 03111 inline tAO_UPDATE_Original_Pulse getAO_UPDATE_Original_Pulse(nMDBG::tStatus2* statusChain = NULL) const; 03112 03113 inline void writeAO_UPDATE_Original_Pulse(tAO_UPDATE_Original_Pulse fieldValue, nMDBG::tStatus2* statusChain = NULL); 03114 03115 inline tAO_UPDATE_Original_Pulse readAO_UPDATE_Original_Pulse(nMDBG::tStatus2* statusChain = NULL); 03116 03117 inline tAO_Personal& setAO_FIFO_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03118 inline tBoolean getAO_FIFO_Enable(nMDBG::tStatus2* statusChain = NULL) const; 03119 03120 inline void writeAO_FIFO_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03121 03122 inline tBoolean readAO_FIFO_Enable(nMDBG::tStatus2* statusChain = NULL); 03123 03124 typedef enum { 03125 kAO_TMRDACWR_Pulse_WidthAbout_3_TIMEBASE_Periods = 0, 03126 kAO_TMRDACWR_Pulse_WidthAbout_2_TIMEBASE_Periods = 1, 03127 } tAO_TMRDACWR_Pulse_Width; 03128 inline tAO_Personal& setAO_TMRDACWR_Pulse_Width(tAO_TMRDACWR_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 03129 inline tAO_TMRDACWR_Pulse_Width getAO_TMRDACWR_Pulse_Width(nMDBG::tStatus2* statusChain = NULL) const; 03130 03131 inline void writeAO_TMRDACWR_Pulse_Width(tAO_TMRDACWR_Pulse_Width fieldValue, nMDBG::tStatus2* statusChain = NULL); 03132 03133 inline tAO_TMRDACWR_Pulse_Width readAO_TMRDACWR_Pulse_Width(nMDBG::tStatus2* statusChain = NULL); 03134 03135 typedef enum { 03136 kAO_Number_Of_DAC_PackagesDual_DAC_mode = 0, 03137 kAO_Number_Of_DAC_PackagesSingle_DAC_mode = 1, 03138 } tAO_Number_Of_DAC_Packages; 03139 inline tAO_Personal& setAO_Number_Of_DAC_Packages(tAO_Number_Of_DAC_Packages fieldValue, nMDBG::tStatus2* statusChain = NULL); 03140 inline tAO_Number_Of_DAC_Packages getAO_Number_Of_DAC_Packages(nMDBG::tStatus2* statusChain = NULL) const; 03141 03142 inline void writeAO_Number_Of_DAC_Packages(tAO_Number_Of_DAC_Packages fieldValue, nMDBG::tStatus2* statusChain = NULL); 03143 03144 inline tAO_Number_Of_DAC_Packages readAO_Number_Of_DAC_Packages(nMDBG::tStatus2* statusChain = NULL); 03145 03146 inline tAO_Personal& setAO_Multiple_DACS_Per_Package(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03147 inline tBoolean getAO_Multiple_DACS_Per_Package(nMDBG::tStatus2* statusChain = NULL) const; 03148 03149 inline void writeAO_Multiple_DACS_Per_Package(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03150 03151 inline tBoolean readAO_Multiple_DACS_Per_Package(nMDBG::tStatus2* statusChain = NULL); 03152 03153 // Run-time selectable Register/Field Accessors 03154 private: 03155 u16 _softCopy; 03156 03157 inline void setRegisterMap(tMSeries* pMSeries); 03158 tMSeries* _MSeries; 03159 03160 friend class tMSeries; 03161 03162 }; 03163 03164 //--------------------------------------------------------------------------- 03165 // AO_START_Select 03166 //--------------------------------------------------------------------------- 03167 class tAO_START_Select : public tReg16IODirect32 03168 { 03169 public: 03170 typedef tReg16IODirect32 tIOStrategy; 03171 typedef tMSeries tRegisterMap; 03172 03173 enum { 03174 kOffset = 0x184, 03175 kId = 28 03176 }; 03177 tAO_START_Select(); 03178 03179 03180 typedef enum { 03181 kRegisterId = 0, 03182 kDefaultId = 1, 03183 kAO_START_EdgeId = 2, 03184 kAO_START_SyncId = 3, 03185 kAO_AOFREQ_EnableId = 5, 03186 kAO_START_PolarityId = 6 03187 } tId; 03188 03189 inline tMSeries* registerMap(void); 03190 03191 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03192 03193 // Register Accessors (Compile-time selectable) 03194 inline tAO_START_Select& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03195 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03196 03197 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03198 03199 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03200 03201 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 03202 03203 // Field Accessors (Compile-time selectable) 03204 typedef enum { 03205 kPulse = 0, 03206 kPFI0 = 1, 03207 kPFI1 = 2, 03208 kPFI2 = 3, 03209 kPFI3 = 4, 03210 kPFI4 = 5, 03211 kPFI5 = 6, 03212 kPFI6 = 7, 03213 kPFI7 = 8, 03214 kPFI8 = 9, 03215 kPFI9 = 10, 03216 kRTSI0 = 11, 03217 kRTSI1 = 12, 03218 kRTSI2 = 13, 03219 kRTSI3 = 14, 03220 kRTSI4 = 15, 03221 kRTSI5 = 16, 03222 kRTSI6 = 17, 03223 kLow = 31, 03224 } tDefault; 03225 inline tAO_START_Select& set(tDefault fieldValue, nMDBG::tStatus2* statusChain = NULL); 03226 inline tDefault get(nMDBG::tStatus2* statusChain = NULL) const; 03227 03228 inline void write(tDefault fieldValue, nMDBG::tStatus2* statusChain = NULL); 03229 03230 inline tDefault read(nMDBG::tStatus2* statusChain = NULL); 03231 03232 inline tAO_START_Select& setAO_START_Edge(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03233 inline u16 getAO_START_Edge(nMDBG::tStatus2* statusChain = NULL) const; 03234 03235 inline void writeAO_START_Edge(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03236 03237 inline u16 readAO_START_Edge(nMDBG::tStatus2* statusChain = NULL); 03238 03239 inline tAO_START_Select& setAO_START_Sync(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03240 inline u16 getAO_START_Sync(nMDBG::tStatus2* statusChain = NULL) const; 03241 03242 inline void writeAO_START_Sync(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03243 03244 inline u16 readAO_START_Sync(nMDBG::tStatus2* statusChain = NULL); 03245 03246 inline tAO_START_Select& setAO_AOFREQ_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03247 inline tBoolean getAO_AOFREQ_Enable(nMDBG::tStatus2* statusChain = NULL) const; 03248 03249 inline void writeAO_AOFREQ_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03250 03251 inline tBoolean readAO_AOFREQ_Enable(nMDBG::tStatus2* statusChain = NULL); 03252 03253 typedef enum { 03254 kAO_START_PolarityActive_High_Or_Rising_Edge = 0, 03255 kAO_START_PolarityActive_Low_Or_Falling_Edge = 1, 03256 kAO_START_PolarityActive_High = 0, 03257 kAO_START_PolarityActive_Low = 1, 03258 kAO_START_PolarityRising_Edge = 0, 03259 kAO_START_PolarityFalling_Edge = 1, 03260 } tAO_START_Polarity; 03261 inline tAO_START_Select& setAO_START_Polarity(tAO_START_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 03262 inline tAO_START_Polarity getAO_START_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 03263 03264 inline void writeAO_START_Polarity(tAO_START_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 03265 03266 inline tAO_START_Polarity readAO_START_Polarity(nMDBG::tStatus2* statusChain = NULL); 03267 03268 // Run-time selectable Register/Field Accessors 03269 private: 03270 u16 _softCopy; 03271 03272 inline void setRegisterMap(tMSeries* pMSeries); 03273 tMSeries* _MSeries; 03274 03275 friend class tMSeries; 03276 03277 }; 03278 03279 //--------------------------------------------------------------------------- 03280 // AO_Status_2 03281 //--------------------------------------------------------------------------- 03282 class tAO_Status_2 : public tReg16IODirect32 03283 { 03284 public: 03285 typedef tReg16IODirect32 tIOStrategy; 03286 typedef tMSeries tRegisterMap; 03287 03288 enum { 03289 kOffset = 0x10c, 03290 kId = 29 03291 }; 03292 tAO_Status_2(); 03293 03294 03295 typedef enum { 03296 kRegisterId = 0, 03297 kAO_BC_Armed_StId = 1, 03298 kAO_BC_Save_StId = 3, 03299 kAO_BC_Q_StId = 4, 03300 kAO_BC_TC_Trigger_Error_StId = 5, 03301 kAO_UI_Armed_StId = 6, 03302 kAO_UI_Next_Load_Source_StId = 7, 03303 kAO_UC_Save_StId = 8, 03304 kAO_UI_Count_Enabled_StId = 9, 03305 kAO_UI_Q_StId = 10, 03306 kAO_UC_Armed_StId = 15 03307 } tId; 03308 03309 inline tMSeries* registerMap(void); 03310 03311 // Register Accessors (Compile-time selectable) 03312 inline tAO_Status_2& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03313 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03314 03315 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 03316 03317 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 03318 03319 // Field Accessors (Compile-time selectable) 03320 inline tAO_Status_2& setAO_BC_Armed_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03321 inline u16 getAO_BC_Armed_St(nMDBG::tStatus2* statusChain = NULL) const; 03322 03323 inline u16 readAO_BC_Armed_St(nMDBG::tStatus2* statusChain = NULL); 03324 03325 inline tAO_Status_2& setAO_BC_Save_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03326 inline u16 getAO_BC_Save_St(nMDBG::tStatus2* statusChain = NULL) const; 03327 03328 inline u16 readAO_BC_Save_St(nMDBG::tStatus2* statusChain = NULL); 03329 03330 inline tAO_Status_2& setAO_BC_Q_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03331 inline u16 getAO_BC_Q_St(nMDBG::tStatus2* statusChain = NULL) const; 03332 03333 inline u16 readAO_BC_Q_St(nMDBG::tStatus2* statusChain = NULL); 03334 03335 inline tAO_Status_2& setAO_BC_TC_Trigger_Error_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03336 inline u16 getAO_BC_TC_Trigger_Error_St(nMDBG::tStatus2* statusChain = NULL) const; 03337 03338 inline u16 readAO_BC_TC_Trigger_Error_St(nMDBG::tStatus2* statusChain = NULL); 03339 03340 inline tAO_Status_2& setAO_UI_Armed_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03341 inline u16 getAO_UI_Armed_St(nMDBG::tStatus2* statusChain = NULL) const; 03342 03343 inline u16 readAO_UI_Armed_St(nMDBG::tStatus2* statusChain = NULL); 03344 03345 inline tAO_Status_2& setAO_UI_Next_Load_Source_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03346 inline u16 getAO_UI_Next_Load_Source_St(nMDBG::tStatus2* statusChain = NULL) const; 03347 03348 inline u16 readAO_UI_Next_Load_Source_St(nMDBG::tStatus2* statusChain = NULL); 03349 03350 inline tAO_Status_2& setAO_UC_Save_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03351 inline u16 getAO_UC_Save_St(nMDBG::tStatus2* statusChain = NULL) const; 03352 03353 inline u16 readAO_UC_Save_St(nMDBG::tStatus2* statusChain = NULL); 03354 03355 inline tAO_Status_2& setAO_UI_Count_Enabled_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03356 inline u16 getAO_UI_Count_Enabled_St(nMDBG::tStatus2* statusChain = NULL) const; 03357 03358 inline u16 readAO_UI_Count_Enabled_St(nMDBG::tStatus2* statusChain = NULL); 03359 03360 inline tAO_Status_2& setAO_UI_Q_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03361 inline u16 getAO_UI_Q_St(nMDBG::tStatus2* statusChain = NULL) const; 03362 03363 inline u16 readAO_UI_Q_St(nMDBG::tStatus2* statusChain = NULL); 03364 03365 inline tAO_Status_2& setAO_UC_Armed_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03366 inline u16 getAO_UC_Armed_St(nMDBG::tStatus2* statusChain = NULL) const; 03367 03368 inline u16 readAO_UC_Armed_St(nMDBG::tStatus2* statusChain = NULL); 03369 03370 // Run-time selectable Register/Field Accessors 03371 private: 03372 u16 _softCopy; 03373 03374 inline void setRegisterMap(tMSeries* pMSeries); 03375 tMSeries* _MSeries; 03376 03377 friend class tMSeries; 03378 03379 }; 03380 03381 //--------------------------------------------------------------------------- 03382 // AO_Status_1 03383 //--------------------------------------------------------------------------- 03384 class tAO_Status_1 : public tReg16IODirect32 03385 { 03386 public: 03387 typedef tReg16IODirect32 tIOStrategy; 03388 typedef tMSeries tRegisterMap; 03389 03390 enum { 03391 kOffset = 0x106, 03392 kId = 30 03393 }; 03394 tAO_Status_1(); 03395 03396 03397 typedef enum { 03398 kRegisterId = 0, 03399 kPass_Thru_1_Interrupt_StId = 1, 03400 kAO_FIFO_Request_StId = 2, 03401 kG1_Gate_Interrupt_StId = 3, 03402 kG1_TC_StId = 4, 03403 kAO_UPDATE_StId = 6, 03404 kAO_UC_TC_StId = 7, 03405 kAO_BC_TC_StId = 8, 03406 kAO_START1_StId = 9, 03407 kAO_Overrun_StId = 10, 03408 kAO_START_StId = 11, 03409 kAO_BC_TC_Error_StId = 12, 03410 kAO_FIFO_Empty_StId = 13, 03411 kAO_FIFO_Half_Full_StId = 14, 03412 kAO_FIFO_Full_StId = 15, 03413 kInterrupt_Group_B_StatusId = 16 03414 } tId; 03415 03416 inline tMSeries* registerMap(void); 03417 03418 // Register Accessors (Compile-time selectable) 03419 inline tAO_Status_1& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03420 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03421 03422 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 03423 03424 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 03425 03426 // Field Accessors (Compile-time selectable) 03427 inline tAO_Status_1& setPass_Thru_1_Interrupt_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03428 inline u16 getPass_Thru_1_Interrupt_St(nMDBG::tStatus2* statusChain = NULL) const; 03429 03430 inline u16 readPass_Thru_1_Interrupt_St(nMDBG::tStatus2* statusChain = NULL); 03431 03432 inline tAO_Status_1& setAO_FIFO_Request_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03433 inline u16 getAO_FIFO_Request_St(nMDBG::tStatus2* statusChain = NULL) const; 03434 03435 inline u16 readAO_FIFO_Request_St(nMDBG::tStatus2* statusChain = NULL); 03436 03437 inline tAO_Status_1& setG1_Gate_Interrupt_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03438 inline u16 getG1_Gate_Interrupt_St(nMDBG::tStatus2* statusChain = NULL) const; 03439 03440 inline u16 readG1_Gate_Interrupt_St(nMDBG::tStatus2* statusChain = NULL); 03441 03442 inline tAO_Status_1& setG1_TC_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03443 inline u16 getG1_TC_St(nMDBG::tStatus2* statusChain = NULL) const; 03444 03445 inline u16 readG1_TC_St(nMDBG::tStatus2* statusChain = NULL); 03446 03447 inline tAO_Status_1& setAO_UPDATE_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03448 inline u16 getAO_UPDATE_St(nMDBG::tStatus2* statusChain = NULL) const; 03449 03450 inline u16 readAO_UPDATE_St(nMDBG::tStatus2* statusChain = NULL); 03451 03452 inline tAO_Status_1& setAO_UC_TC_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03453 inline u16 getAO_UC_TC_St(nMDBG::tStatus2* statusChain = NULL) const; 03454 03455 inline u16 readAO_UC_TC_St(nMDBG::tStatus2* statusChain = NULL); 03456 03457 inline tAO_Status_1& setAO_BC_TC_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03458 inline u16 getAO_BC_TC_St(nMDBG::tStatus2* statusChain = NULL) const; 03459 03460 inline u16 readAO_BC_TC_St(nMDBG::tStatus2* statusChain = NULL); 03461 03462 inline tAO_Status_1& setAO_START1_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03463 inline u16 getAO_START1_St(nMDBG::tStatus2* statusChain = NULL) const; 03464 03465 inline u16 readAO_START1_St(nMDBG::tStatus2* statusChain = NULL); 03466 03467 inline tAO_Status_1& setAO_Overrun_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03468 inline u16 getAO_Overrun_St(nMDBG::tStatus2* statusChain = NULL) const; 03469 03470 inline u16 readAO_Overrun_St(nMDBG::tStatus2* statusChain = NULL); 03471 03472 inline tAO_Status_1& setAO_START_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03473 inline u16 getAO_START_St(nMDBG::tStatus2* statusChain = NULL) const; 03474 03475 inline u16 readAO_START_St(nMDBG::tStatus2* statusChain = NULL); 03476 03477 inline tAO_Status_1& setAO_BC_TC_Error_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03478 inline u16 getAO_BC_TC_Error_St(nMDBG::tStatus2* statusChain = NULL) const; 03479 03480 inline u16 readAO_BC_TC_Error_St(nMDBG::tStatus2* statusChain = NULL); 03481 03482 inline tAO_Status_1& setAO_FIFO_Empty_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03483 inline u16 getAO_FIFO_Empty_St(nMDBG::tStatus2* statusChain = NULL) const; 03484 03485 inline u16 readAO_FIFO_Empty_St(nMDBG::tStatus2* statusChain = NULL); 03486 03487 inline tAO_Status_1& setAO_FIFO_Half_Full_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03488 inline u16 getAO_FIFO_Half_Full_St(nMDBG::tStatus2* statusChain = NULL) const; 03489 03490 inline u16 readAO_FIFO_Half_Full_St(nMDBG::tStatus2* statusChain = NULL); 03491 03492 inline tAO_Status_1& setAO_FIFO_Full_St(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03493 inline u16 getAO_FIFO_Full_St(nMDBG::tStatus2* statusChain = NULL) const; 03494 03495 inline u16 readAO_FIFO_Full_St(nMDBG::tStatus2* statusChain = NULL); 03496 03497 inline tAO_Status_1& setInterrupt_Group_B_Status(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03498 inline u16 getInterrupt_Group_B_Status(nMDBG::tStatus2* statusChain = NULL) const; 03499 03500 inline u16 readInterrupt_Group_B_Status(nMDBG::tStatus2* statusChain = NULL); 03501 03502 // Run-time selectable Register/Field Accessors 03503 private: 03504 u16 _softCopy; 03505 03506 inline void setRegisterMap(tMSeries* pMSeries); 03507 tMSeries* _MSeries; 03508 03509 friend class tMSeries; 03510 03511 }; 03512 03513 //--------------------------------------------------------------------------- 03514 // AO_Trigger_Select 03515 //--------------------------------------------------------------------------- 03516 class tAO_Trigger_Select : public tReg16IODirect32 03517 { 03518 public: 03519 typedef tReg16IODirect32 tIOStrategy; 03520 typedef tMSeries tRegisterMap; 03521 03522 enum { 03523 kOffset = 0x186, 03524 kId = 31 03525 }; 03526 tAO_Trigger_Select(); 03527 03528 03529 typedef enum { 03530 kRegisterId = 0, 03531 kAO_START1_SelectId = 1, 03532 kAO_START1_EdgeId = 2, 03533 kAO_START1_SyncId = 3, 03534 kAO_START1_PolarityId = 6, 03535 kAO_Delayed_START1Id = 7 03536 } tId; 03537 03538 inline tMSeries* registerMap(void); 03539 03540 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03541 03542 // Register Accessors (Compile-time selectable) 03543 inline tAO_Trigger_Select& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03544 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03545 03546 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03547 03548 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03549 03550 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 03551 03552 // Field Accessors (Compile-time selectable) 03553 typedef enum { 03554 kAO_START1_SelectPulse = 0, 03555 kAO_START1_SelectPFI0 = 1, 03556 kAO_START1_SelectPFI1 = 2, 03557 kAO_START1_SelectPFI2 = 3, 03558 kAO_START1_SelectPFI3 = 4, 03559 kAO_START1_SelectPFI4 = 5, 03560 kAO_START1_SelectPFI5 = 6, 03561 kAO_START1_SelectPFI6 = 7, 03562 kAO_START1_SelectPFI7 = 8, 03563 kAO_START1_SelectPFI8 = 9, 03564 kAO_START1_SelectPFI9 = 10, 03565 kAO_START1_SelectRTSI0 = 11, 03566 kAO_START1_SelectRTSI1 = 12, 03567 kAO_START1_SelectRTSI2 = 13, 03568 kAO_START1_SelectRTSI3 = 14, 03569 kAO_START1_SelectRTSI4 = 15, 03570 kAO_START1_SelectRTSI5 = 16, 03571 kAO_START1_SelectRTSI6 = 17, 03572 kAO_START1_SelectAI_START_2 = 18, 03573 kAO_START1_SelectAI_START_1 = 19, 03574 kAO_START1_SelectStar_Trigger = 20, 03575 kAO_START1_SelectPFI10 = 21, 03576 kAO_START1_SelectPFI11 = 22, 03577 kAO_START1_SelectPFI12 = 23, 03578 kAO_START1_SelectPFI13 = 24, 03579 kAO_START1_SelectPFI14 = 25, 03580 kAO_START1_SelectPFI15 = 26, 03581 kAO_START1_SelectRTSI7 = 27, 03582 kAO_START1_SelectAnalog_Trigger = 30, 03583 kAO_START1_SelectLow = 31, 03584 } tAO_START1_Select; 03585 inline tAO_Trigger_Select& setAO_START1_Select(tAO_START1_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 03586 inline tAO_START1_Select getAO_START1_Select(nMDBG::tStatus2* statusChain = NULL) const; 03587 03588 inline void writeAO_START1_Select(tAO_START1_Select fieldValue, nMDBG::tStatus2* statusChain = NULL); 03589 03590 inline tAO_START1_Select readAO_START1_Select(nMDBG::tStatus2* statusChain = NULL); 03591 03592 inline tAO_Trigger_Select& setAO_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03593 inline tBoolean getAO_START1_Edge(nMDBG::tStatus2* statusChain = NULL) const; 03594 03595 inline void writeAO_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03596 03597 inline tBoolean readAO_START1_Edge(nMDBG::tStatus2* statusChain = NULL); 03598 03599 inline tAO_Trigger_Select& setAO_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03600 inline tBoolean getAO_START1_Sync(nMDBG::tStatus2* statusChain = NULL) const; 03601 03602 inline void writeAO_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03603 03604 inline tBoolean readAO_START1_Sync(nMDBG::tStatus2* statusChain = NULL); 03605 03606 typedef enum { 03607 kAO_START1_PolarityActive_High = 0, 03608 kAO_START1_PolarityRising_Edge = 0, 03609 kAO_START1_PolarityActive_Low = 1, 03610 kAO_START1_PolarityFalling_Edge = 1, 03611 } tAO_START1_Polarity; 03612 inline tAO_Trigger_Select& setAO_START1_Polarity(tAO_START1_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 03613 inline tAO_START1_Polarity getAO_START1_Polarity(nMDBG::tStatus2* statusChain = NULL) const; 03614 03615 inline void writeAO_START1_Polarity(tAO_START1_Polarity fieldValue, nMDBG::tStatus2* statusChain = NULL); 03616 03617 inline tAO_START1_Polarity readAO_START1_Polarity(nMDBG::tStatus2* statusChain = NULL); 03618 03619 inline tAO_Trigger_Select& setAO_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03620 inline tBoolean getAO_Delayed_START1(nMDBG::tStatus2* statusChain = NULL) const; 03621 03622 inline void writeAO_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03623 03624 inline tBoolean readAO_Delayed_START1(nMDBG::tStatus2* statusChain = NULL); 03625 03626 // Run-time selectable Register/Field Accessors 03627 private: 03628 u16 _softCopy; 03629 03630 inline void setRegisterMap(tMSeries* pMSeries); 03631 tMSeries* _MSeries; 03632 03633 friend class tMSeries; 03634 03635 }; 03636 03637 //--------------------------------------------------------------------------- 03638 // AO_UC_Load_A 03639 //--------------------------------------------------------------------------- 03640 class tAO_UC_Load_A : public tReg32IODirect32 03641 { 03642 public: 03643 typedef tReg32IODirect32 tIOStrategy; 03644 typedef tMSeries tRegisterMap; 03645 03646 enum { 03647 kOffset = 0x160, 03648 kId = 32 03649 }; 03650 tAO_UC_Load_A(); 03651 03652 03653 typedef enum { 03654 kRegisterId = 0, 03655 kDefaultId = 1 03656 } tId; 03657 03658 inline tMSeries* registerMap(void); 03659 03660 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03661 03662 // Register Accessors (Compile-time selectable) 03663 inline tAO_UC_Load_A& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03664 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03665 03666 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03667 03668 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03669 03670 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 03671 03672 // Field Accessors (Compile-time selectable) 03673 inline tAO_UC_Load_A& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03674 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 03675 03676 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03677 03678 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 03679 03680 // Run-time selectable Register/Field Accessors 03681 private: 03682 u32 _softCopy; 03683 03684 inline void setRegisterMap(tMSeries* pMSeries); 03685 tMSeries* _MSeries; 03686 03687 friend class tMSeries; 03688 03689 }; 03690 03691 //--------------------------------------------------------------------------- 03692 // AO_UC_Load_B 03693 //--------------------------------------------------------------------------- 03694 class tAO_UC_Load_B : public tReg32IODirect32 03695 { 03696 public: 03697 typedef tReg32IODirect32 tIOStrategy; 03698 typedef tMSeries tRegisterMap; 03699 03700 enum { 03701 kOffset = 0x164, 03702 kId = 33 03703 }; 03704 tAO_UC_Load_B(); 03705 03706 03707 typedef enum { 03708 kRegisterId = 0, 03709 kDefaultId = 1 03710 } tId; 03711 03712 inline tMSeries* registerMap(void); 03713 03714 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03715 03716 // Register Accessors (Compile-time selectable) 03717 inline tAO_UC_Load_B& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03718 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03719 03720 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03721 03722 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03723 03724 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 03725 03726 // Field Accessors (Compile-time selectable) 03727 inline tAO_UC_Load_B& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03728 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 03729 03730 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03731 03732 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 03733 03734 // Run-time selectable Register/Field Accessors 03735 private: 03736 u32 _softCopy; 03737 03738 inline void setRegisterMap(tMSeries* pMSeries); 03739 tMSeries* _MSeries; 03740 03741 friend class tMSeries; 03742 03743 }; 03744 03745 //--------------------------------------------------------------------------- 03746 // AO_UC_Save 03747 //--------------------------------------------------------------------------- 03748 class tAO_UC_Save : public tReg32IODirect32 03749 { 03750 public: 03751 typedef tReg32IODirect32 tIOStrategy; 03752 typedef tMSeries tRegisterMap; 03753 03754 enum { 03755 kOffset = 0x128, 03756 kId = 34 03757 }; 03758 tAO_UC_Save(); 03759 03760 03761 typedef enum { 03762 kRegisterId = 0, 03763 kDefaultId = 1 03764 } tId; 03765 03766 inline tMSeries* registerMap(void); 03767 03768 // Register Accessors (Compile-time selectable) 03769 inline tAO_UC_Save& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03770 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03771 03772 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 03773 03774 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 03775 03776 // Field Accessors (Compile-time selectable) 03777 inline tAO_UC_Save& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03778 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 03779 03780 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 03781 03782 // Run-time selectable Register/Field Accessors 03783 private: 03784 u32 _softCopy; 03785 03786 inline void setRegisterMap(tMSeries* pMSeries); 03787 tMSeries* _MSeries; 03788 03789 friend class tMSeries; 03790 03791 }; 03792 03793 //--------------------------------------------------------------------------- 03794 // AO_UI_Load_A 03795 //--------------------------------------------------------------------------- 03796 class tAO_UI_Load_A : public tReg32IODirect32 03797 { 03798 public: 03799 typedef tReg32IODirect32 tIOStrategy; 03800 typedef tMSeries tRegisterMap; 03801 03802 enum { 03803 kOffset = 0x150, 03804 kId = 35 03805 }; 03806 tAO_UI_Load_A(); 03807 03808 03809 typedef enum { 03810 kRegisterId = 0, 03811 kDefaultId = 1 03812 } tId; 03813 03814 inline tMSeries* registerMap(void); 03815 03816 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03817 03818 // Register Accessors (Compile-time selectable) 03819 inline tAO_UI_Load_A& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03820 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03821 03822 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03823 03824 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03825 03826 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 03827 03828 // Field Accessors (Compile-time selectable) 03829 inline tAO_UI_Load_A& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03830 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 03831 03832 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03833 03834 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 03835 03836 // Run-time selectable Register/Field Accessors 03837 private: 03838 u32 _softCopy; 03839 03840 inline void setRegisterMap(tMSeries* pMSeries); 03841 tMSeries* _MSeries; 03842 03843 friend class tMSeries; 03844 03845 }; 03846 03847 //--------------------------------------------------------------------------- 03848 // AO_UI_Load_B 03849 //--------------------------------------------------------------------------- 03850 class tAO_UI_Load_B : public tReg32IODirect32 03851 { 03852 public: 03853 typedef tReg32IODirect32 tIOStrategy; 03854 typedef tMSeries tRegisterMap; 03855 03856 enum { 03857 kOffset = 0x154, 03858 kId = 36 03859 }; 03860 tAO_UI_Load_B(); 03861 03862 03863 typedef enum { 03864 kRegisterId = 0, 03865 kDefaultId = 1 03866 } tId; 03867 03868 inline tMSeries* registerMap(void); 03869 03870 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03871 03872 // Register Accessors (Compile-time selectable) 03873 inline tAO_UI_Load_B& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03874 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03875 03876 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03877 03878 inline void writeRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03879 03880 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 03881 03882 // Field Accessors (Compile-time selectable) 03883 inline tAO_UI_Load_B& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03884 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 03885 03886 inline void write(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03887 03888 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 03889 03890 // Run-time selectable Register/Field Accessors 03891 private: 03892 u32 _softCopy; 03893 03894 inline void setRegisterMap(tMSeries* pMSeries); 03895 tMSeries* _MSeries; 03896 03897 friend class tMSeries; 03898 03899 }; 03900 03901 //--------------------------------------------------------------------------- 03902 // AO_UI_Save 03903 //--------------------------------------------------------------------------- 03904 class tAO_UI_Save : public tReg32IODirect32 03905 { 03906 public: 03907 typedef tReg32IODirect32 tIOStrategy; 03908 typedef tMSeries tRegisterMap; 03909 03910 enum { 03911 kOffset = 0x120, 03912 kId = 37 03913 }; 03914 tAO_UI_Save(); 03915 03916 03917 typedef enum { 03918 kRegisterId = 0, 03919 kDefaultId = 1 03920 } tId; 03921 03922 inline tMSeries* registerMap(void); 03923 03924 // Register Accessors (Compile-time selectable) 03925 inline tAO_UI_Save& setRegister(u32 value, nMDBG::tStatus2* statusChain = NULL); 03926 inline u32 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03927 03928 inline void refresh(nMDBG::tStatus2* statusChain = NULL); 03929 03930 inline u32 readRegister(nMDBG::tStatus2* statusChain = NULL); 03931 03932 // Field Accessors (Compile-time selectable) 03933 inline tAO_UI_Save& set(u32 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03934 inline u32 get(nMDBG::tStatus2* statusChain = NULL) const; 03935 03936 inline u32 read(nMDBG::tStatus2* statusChain = NULL); 03937 03938 // Run-time selectable Register/Field Accessors 03939 private: 03940 u32 _softCopy; 03941 03942 inline void setRegisterMap(tMSeries* pMSeries); 03943 tMSeries* _MSeries; 03944 03945 friend class tMSeries; 03946 03947 }; 03948 03949 //--------------------------------------------------------------------------- 03950 // Clock_and_FOUT 03951 //--------------------------------------------------------------------------- 03952 class tClock_and_FOUT : public tReg16IODirect32 03953 { 03954 public: 03955 typedef tReg16IODirect32 tIOStrategy; 03956 typedef tMSeries tRegisterMap; 03957 03958 enum { 03959 kOffset = 0x170, 03960 kId = 38 03961 }; 03962 tClock_and_FOUT(); 03963 03964 03965 typedef enum { 03966 kRegisterId = 0, 03967 kFOUT_DividerId = 1, 03968 kClock_To_BoardId = 6, 03969 kClock_To_Board_Divide_By_2Id = 7, 03970 kSlow_Internal_TimebaseId = 9, 03971 kDIO_Serial_Out_Divide_By_2Id = 11, 03972 kFOUT_Timebase_SelectId = 12, 03973 kFOUT_EnableId = 13 03974 } tId; 03975 03976 inline tMSeries* registerMap(void); 03977 03978 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 03979 03980 // Register Accessors (Compile-time selectable) 03981 inline tClock_and_FOUT& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03982 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 03983 03984 inline void flush(nMDBG::tStatus2* statusChain = NULL); 03985 03986 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 03987 03988 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 03989 03990 // Field Accessors (Compile-time selectable) 03991 inline tClock_and_FOUT& setFOUT_Divider(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03992 inline u16 getFOUT_Divider(nMDBG::tStatus2* statusChain = NULL) const; 03993 03994 inline void writeFOUT_Divider(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 03995 03996 inline u16 readFOUT_Divider(nMDBG::tStatus2* statusChain = NULL); 03997 03998 inline tClock_and_FOUT& setClock_To_Board(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 03999 inline tBoolean getClock_To_Board(nMDBG::tStatus2* statusChain = NULL) const; 04000 04001 inline void writeClock_To_Board(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 04002 04003 inline tBoolean readClock_To_Board(nMDBG::tStatus2* statusChain = NULL); 04004 04005 inline tClock_and_FOUT& setClock_To_Board_Divide_By_2(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 04006 inline tBoolean getClock_To_Board_Divide_By_2(nMDBG::tStatus2* statusChain = NULL) const; 04007 04008 inline void writeClock_To_Board_Divide_By_2(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 04009 04010 inline tBoolean readClock_To_Board_Divide_By_2(nMDBG::tStatus2* statusChain = NULL); 04011 04012 inline tClock_and_FOUT& setSlow_Internal_Timebase(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 04013 inline tBoolean getSlow_Internal_Timebase(nMDBG::tStatus2* statusChain = NULL) const; 04014 04015 inline void writeSlow_Internal_Timebase(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 04016 04017 inline tBoolean readSlow_Internal_Timebase(nMDBG::tStatus2* statusChain = NULL); 04018 04019 inline tClock_and_FOUT& setDIO_Serial_Out_Divide_By_2(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04020 inline u16 getDIO_Serial_Out_Divide_By_2(nMDBG::tStatus2* statusChain = NULL) const; 04021 04022 inline void writeDIO_Serial_Out_Divide_By_2(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04023 04024 inline u16 readDIO_Serial_Out_Divide_By_2(nMDBG::tStatus2* statusChain = NULL); 04025 04026 inline tClock_and_FOUT& setFOUT_Timebase_Select(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04027 inline u16 getFOUT_Timebase_Select(nMDBG::tStatus2* statusChain = NULL) const; 04028 04029 inline void writeFOUT_Timebase_Select(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04030 04031 inline u16 readFOUT_Timebase_Select(nMDBG::tStatus2* statusChain = NULL); 04032 04033 inline tClock_and_FOUT& setFOUT_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 04034 inline tBoolean getFOUT_Enable(nMDBG::tStatus2* statusChain = NULL) const; 04035 04036 inline void writeFOUT_Enable(tBoolean fieldValue, nMDBG::tStatus2* statusChain = NULL); 04037 04038 inline tBoolean readFOUT_Enable(nMDBG::tStatus2* statusChain = NULL); 04039 04040 // Run-time selectable Register/Field Accessors 04041 private: 04042 u16 _softCopy; 04043 04044 inline void setRegisterMap(tMSeries* pMSeries); 04045 tMSeries* _MSeries; 04046 04047 friend class tMSeries; 04048 04049 }; 04050 04051 //--------------------------------------------------------------------------- 04052 // Interrupt_A_Ack 04053 //--------------------------------------------------------------------------- 04054 class tInterrupt_A_Ack : public tReg16IODirect32 04055 { 04056 public: 04057 typedef tReg16IODirect32 tIOStrategy; 04058 typedef tMSeries tRegisterMap; 04059 04060 enum { 04061 kOffset = 0x104, 04062 kId = 39 04063 }; 04064 tInterrupt_A_Ack(); 04065 04066 04067 typedef enum { 04068 kRegisterId = 0, 04069 kG0_Gate_Error_ConfirmId = 6, 04070 kG0_TC_Error_ConfirmId = 7, 04071 kAI_SC_TC_Error_ConfirmId = 8, 04072 kAI_SC_TC_Interrupt_AckId = 9, 04073 kAI_START1_Interrupt_AckId = 10, 04074 kAI_START2_Interrupt_AckId = 11, 04075 kAI_START_Interrupt_AckId = 12, 04076 kAI_STOP_Interrupt_AckId = 13, 04077 kAI_Error_Interrupt_AckId = 14, 04078 kG0_TC_Interrupt_AckId = 15, 04079 kG0_Gate_Interrupt_AckId = 16 04080 } tId; 04081 04082 inline tMSeries* registerMap(void); 04083 04084 inline void flushBus(nMDBG::tStatus2* statusChain = NULL); 04085 04086 // Register Accessors (Compile-time selectable) 04087 inline tInterrupt_A_Ack& setRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 04088 inline u16 getRegister(nMDBG::tStatus2* statusChain = NULL) const; 04089 04090 inline void flush(nMDBG::tStatus2* statusChain = NULL); 04091 04092 inline void writeRegister(u16 value, nMDBG::tStatus2* statusChain = NULL); 04093 04094 inline u16 readRegister(nMDBG::tStatus2* statusChain = NULL); 04095 04096 // Field Accessors (Compile-time selectable) 04097 inline tInterrupt_A_Ack& setG0_Gate_Error_Confirm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04098 inline u16 getG0_Gate_Error_Confirm(nMDBG::tStatus2* statusChain = NULL) const; 04099 04100 inline void writeG0_Gate_Error_Confirm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04101 04102 inline u16 readG0_Gate_Error_Confirm(nMDBG::tStatus2* statusChain = NULL); 04103 04104 inline tInterrupt_A_Ack& setG0_TC_Error_Confirm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04105 inline u16 getG0_TC_Error_Confirm(nMDBG::tStatus2* statusChain = NULL) const; 04106 04107 inline void writeG0_TC_Error_Confirm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04108 04109 inline u16 readG0_TC_Error_Confirm(nMDBG::tStatus2* statusChain = NULL); 04110 04111 inline tInterrupt_A_Ack& setAI_SC_TC_Error_Confirm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04112 inline u16 getAI_SC_TC_Error_Confirm(nMDBG::tStatus2* statusChain = NULL) const; 04113 04114 inline void writeAI_SC_TC_Error_Confirm(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04115 04116 inline u16 readAI_SC_TC_Error_Confirm(nMDBG::tStatus2* statusChain = NULL); 04117 04118 inline tInterrupt_A_Ack& setAI_SC_TC_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04119 inline u16 getAI_SC_TC_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL) const; 04120 04121 inline void writeAI_SC_TC_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04122 04123 inline u16 readAI_SC_TC_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL); 04124 04125 inline tInterrupt_A_Ack& setAI_START1_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04126 inline u16 getAI_START1_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL) const; 04127 04128 inline void writeAI_START1_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04129 04130 inline u16 readAI_START1_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL); 04131 04132 inline tInterrupt_A_Ack& setAI_START2_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04133 inline u16 getAI_START2_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL) const; 04134 04135 inline void writeAI_START2_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04136 04137 inline u16 readAI_START2_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL); 04138 04139 inline tInterrupt_A_Ack& setAI_START_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04140 inline u16 getAI_START_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL) const; 04141 04142 inline void writeAI_START_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04143 04144 inline u16 readAI_START_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL); 04145 04146 inline tInterrupt_A_Ack& setAI_STOP_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04147 inline u16 getAI_STOP_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL) const; 04148 04149 inline void writeAI_STOP_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04150 04151 inline u16 readAI_STOP_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL); 04152 04153 inline tInterrupt_A_Ack& setAI_Error_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04154 inline u16 getAI_Error_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL) const; 04155 04156 inline void writeAI_Error_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04157 04158 inline u16 readAI_Error_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL); 04159 04160 inline tInterrupt_A_Ack& setG0_TC_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04161 inline u16 getG0_TC_Interrupt_Ack(nMDBG::tStatus2* statusChain = NULL) const; 04162 04163 inline void writeG0_TC_Interrupt_Ack(u16 fieldValue, nMDBG::tStatus2* statusChain = NULL); 04164 04165 inline u16 readG0_TC_Interrupt_Ack(