RTXI 1.3
plugins/ni_device/tMSeries_auto.cpp
Go to the documentation of this file.
00001 // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00002 // This file is autogenerated!!!
00003 // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00004 
00005 #ifndef ___tMSeries_ipp___
00006 #define ___tMSeries_ipp___
00007 
00008 #ifndef ___tMSeries_h___
00009 #include "tMSeries.h"
00010 #endif
00011 
00012 #include "trace.h"
00013 inline void tMSeries::tReg8IODirect32::write(
00014    tBusSpaceReference addrSpace,
00015    u32 offset,
00016    u8 value,
00017    nMDBG::tStatus2* s)
00018 {
00019    if (s && s->isFatal()) return;
00020    addrSpace.write8(offset, u8(value));
00021 }
00022 inline u8 tMSeries::tReg8IODirect32::read(
00023    tBusSpaceReference addrSpace,
00024    u32 offset,
00025    nMDBG::tStatus2* s)
00026 {
00027    u8 value;   if (s && s->isFatal()) return ~0;
00028    value = (u8)addrSpace.read8(offset);
00029    return value;
00030 }
00031 
00032 inline void tMSeries::tReg16IODirect32::write(
00033    tBusSpaceReference addrSpace,
00034    u32 offset,
00035    u16 value,
00036    nMDBG::tStatus2* s)
00037 {
00038    if (s && s->isFatal()) return;
00039    addrSpace.write16(offset, u16(value));
00040 }
00041 
00042 inline u16 tMSeries::tReg16IODirect32::read(
00043    tBusSpaceReference addrSpace,
00044    u32 offset,
00045    nMDBG::tStatus2* s)
00046 {
00047    u16 value;   if (s && s->isFatal()) return ~0;
00048    value = (u16)addrSpace.read16(offset);
00049    return value;
00050 }
00051 
00052 inline void tMSeries::tReg32IODirect32::write(
00053    tBusSpaceReference addrSpace,
00054    u32 offset,
00055    u32 value,
00056    nMDBG::tStatus2* s)
00057 {
00058    if (s && s->isFatal()) return;
00059    addrSpace.write32(offset, value);
00060 }
00061 
00062 inline u32 tMSeries::tReg32IODirect32::read(
00063    tBusSpaceReference addrSpace,
00064    u32 offset,
00065    nMDBG::tStatus2* s)
00066 {
00067    u32 value;   if (s && s->isFatal()) return ~0;
00068    value = addrSpace.read32(offset);
00069    return value;
00070 }
00071 
00072 inline tBusSpaceReference tMSeries::getBusSpaceReference(void) const
00073 {
00074    return _addrSpace;
00075 }
00076 
00077 inline void tMSeries::setAddressOffset(u32 value, nMDBG::tStatus2* s)
00078 {
00079    _addressOffset = value;
00080 }
00081 inline u32  tMSeries::getAddressOffset(nMDBG::tStatus2* s)
00082 {
00083    return _addressOffset;
00084 }
00085 inline void tMSeries::flushBus(nMDBG::tStatus2* s)
00086 {
00087 
00088 }
00089 
00090 inline tMSeries::tAI_Command_1::tAI_Command_1()
00091 {
00092    _softCopy = 0;
00093 }
00094 
00095 inline tMSeries* tMSeries::tAI_Command_1::registerMap(void)
00096 {
00097    return _MSeries;
00098 }
00099 
00100 inline void tMSeries::tAI_Command_1::flushBus(nMDBG::tStatus2* s)
00101 {
00102    _MSeries->flushBus(s);
00103 }
00104 
00105 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
00106 {
00107    if (s && s->isFatal()) return *this;
00108    _softCopy = fieldValue;
00109    return *this;
00110 }
00111 
00112 inline u16 tMSeries::tAI_Command_1::getRegister(nMDBG::tStatus2*) const
00113 {
00114    return _softCopy;
00115 }
00116 
00117 inline void tMSeries::tAI_Command_1::flush(nMDBG::tStatus2* s)
00118 {
00119    if (s && s->isFatal()) return;
00120    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
00121    _softCopy &= (u16)(0xffff0000);
00122 }
00123 
00124 inline void tMSeries::tAI_Command_1::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
00125 {
00126    if (s && s->isFatal()) return;
00127    _softCopy = fieldValue;
00128    flush(s);
00129 }
00130 
00131 inline u16 tMSeries::tAI_Command_1::readRegister(nMDBG::tStatus2*) 
00132 {
00133    return _softCopy;
00134 }
00135 
00136 
00137 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_CONVERT_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00138 {
00139    if (s && s->isFatal()) return *this;
00140    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
00141    setRegister(newValue, s);
00142    return *this;
00143 }
00144 
00145 inline u16 tMSeries::tAI_Command_1::getAI_CONVERT_Pulse(nMDBG::tStatus2*) const
00146 {
00147    return (u16)((_softCopy & ~0xfffe) >> 0x0);
00148 }
00149 
00150 inline void tMSeries::tAI_Command_1::writeAI_CONVERT_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00151 {
00152    setAI_CONVERT_Pulse(fieldValue, s);
00153    flush(s);
00154 }
00155 inline u16 tMSeries::tAI_Command_1::readAI_CONVERT_Pulse(nMDBG::tStatus2* s)
00156 {
00157    return getAI_CONVERT_Pulse(s);
00158 }
00159 
00160 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_LOCALMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00161 {
00162    if (s && s->isFatal()) return *this;
00163    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
00164    setRegister(newValue, s);
00165    return *this;
00166 }
00167 
00168 inline u16 tMSeries::tAI_Command_1::getAI_LOCALMUX_CLK_Pulse(nMDBG::tStatus2*) const
00169 {
00170    return (u16)((_softCopy & ~0xfffb) >> 0x2);
00171 }
00172 
00173 inline void tMSeries::tAI_Command_1::writeAI_LOCALMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00174 {
00175    setAI_LOCALMUX_CLK_Pulse(fieldValue, s);
00176    flush(s);
00177 }
00178 inline u16 tMSeries::tAI_Command_1::readAI_LOCALMUX_CLK_Pulse(nMDBG::tStatus2* s)
00179 {
00180    return getAI_LOCALMUX_CLK_Pulse(s);
00181 }
00182 
00183 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_EXTMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00184 {
00185    if (s && s->isFatal()) return *this;
00186    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
00187    setRegister(newValue, s);
00188    return *this;
00189 }
00190 
00191 inline u16 tMSeries::tAI_Command_1::getAI_EXTMUX_CLK_Pulse(nMDBG::tStatus2*) const
00192 {
00193    return (u16)((_softCopy & ~0xfff7) >> 0x3);
00194 }
00195 
00196 inline void tMSeries::tAI_Command_1::writeAI_EXTMUX_CLK_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00197 {
00198    setAI_EXTMUX_CLK_Pulse(fieldValue, s);
00199    flush(s);
00200 }
00201 inline u16 tMSeries::tAI_Command_1::readAI_EXTMUX_CLK_Pulse(nMDBG::tStatus2* s)
00202 {
00203    return getAI_EXTMUX_CLK_Pulse(s);
00204 }
00205 
00206 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_SCAN_IN_PROG_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00207 {
00208    if (s && s->isFatal()) return *this;
00209    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
00210    setRegister(newValue, s);
00211    return *this;
00212 }
00213 
00214 inline u16 tMSeries::tAI_Command_1::getAI_SCAN_IN_PROG_Pulse(nMDBG::tStatus2*) const
00215 {
00216    return (u16)((_softCopy & ~0xffef) >> 0x4);
00217 }
00218 
00219 inline void tMSeries::tAI_Command_1::writeAI_SCAN_IN_PROG_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00220 {
00221    setAI_SCAN_IN_PROG_Pulse(fieldValue, s);
00222    flush(s);
00223 }
00224 inline u16 tMSeries::tAI_Command_1::readAI_SCAN_IN_PROG_Pulse(nMDBG::tStatus2* s)
00225 {
00226    return getAI_SCAN_IN_PROG_Pulse(s);
00227 }
00228 
00229 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_SC_Load(u16 fieldValue, nMDBG::tStatus2* s)
00230 {
00231    if (s && s->isFatal()) return *this;
00232    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
00233    setRegister(newValue, s);
00234    return *this;
00235 }
00236 
00237 inline u16 tMSeries::tAI_Command_1::getAI_SC_Load(nMDBG::tStatus2*) const
00238 {
00239    return (u16)((_softCopy & ~0xffdf) >> 0x5);
00240 }
00241 
00242 inline void tMSeries::tAI_Command_1::writeAI_SC_Load(u16 fieldValue, nMDBG::tStatus2* s)
00243 {
00244    setAI_SC_Load(fieldValue, s);
00245    flush(s);
00246 }
00247 inline u16 tMSeries::tAI_Command_1::readAI_SC_Load(nMDBG::tStatus2* s)
00248 {
00249    return getAI_SC_Load(s);
00250 }
00251 
00252 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_SC_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00253 {
00254    if (s && s->isFatal()) return *this;
00255    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
00256    setRegister(newValue, s);
00257    return *this;
00258 }
00259 
00260 inline u16 tMSeries::tAI_Command_1::getAI_SC_Arm(nMDBG::tStatus2*) const
00261 {
00262    return (u16)((_softCopy & ~0xffbf) >> 0x6);
00263 }
00264 
00265 inline void tMSeries::tAI_Command_1::writeAI_SC_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00266 {
00267    setAI_SC_Arm(fieldValue, s);
00268    flush(s);
00269 }
00270 inline u16 tMSeries::tAI_Command_1::readAI_SC_Arm(nMDBG::tStatus2* s)
00271 {
00272    return getAI_SC_Arm(s);
00273 }
00274 
00275 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_DIV_Load(u16 fieldValue, nMDBG::tStatus2* s)
00276 {
00277    if (s && s->isFatal()) return *this;
00278    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
00279    setRegister(newValue, s);
00280    return *this;
00281 }
00282 
00283 inline u16 tMSeries::tAI_Command_1::getAI_DIV_Load(nMDBG::tStatus2*) const
00284 {
00285    return (u16)((_softCopy & ~0xff7f) >> 0x7);
00286 }
00287 
00288 inline void tMSeries::tAI_Command_1::writeAI_DIV_Load(u16 fieldValue, nMDBG::tStatus2* s)
00289 {
00290    setAI_DIV_Load(fieldValue, s);
00291    flush(s);
00292 }
00293 inline u16 tMSeries::tAI_Command_1::readAI_DIV_Load(nMDBG::tStatus2* s)
00294 {
00295    return getAI_DIV_Load(s);
00296 }
00297 
00298 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_DIV_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00299 {
00300    if (s && s->isFatal()) return *this;
00301    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
00302    setRegister(newValue, s);
00303    return *this;
00304 }
00305 
00306 inline u16 tMSeries::tAI_Command_1::getAI_DIV_Arm(nMDBG::tStatus2*) const
00307 {
00308    return (u16)((_softCopy & ~0xfeff) >> 0x8);
00309 }
00310 
00311 inline void tMSeries::tAI_Command_1::writeAI_DIV_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00312 {
00313    setAI_DIV_Arm(fieldValue, s);
00314    flush(s);
00315 }
00316 inline u16 tMSeries::tAI_Command_1::readAI_DIV_Arm(nMDBG::tStatus2* s)
00317 {
00318    return getAI_DIV_Arm(s);
00319 }
00320 
00321 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_SI_Load(u16 fieldValue, nMDBG::tStatus2* s)
00322 {
00323    if (s && s->isFatal()) return *this;
00324    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
00325    setRegister(newValue, s);
00326    return *this;
00327 }
00328 
00329 inline u16 tMSeries::tAI_Command_1::getAI_SI_Load(nMDBG::tStatus2*) const
00330 {
00331    return (u16)((_softCopy & ~0xfdff) >> 0x9);
00332 }
00333 
00334 inline void tMSeries::tAI_Command_1::writeAI_SI_Load(u16 fieldValue, nMDBG::tStatus2* s)
00335 {
00336    setAI_SI_Load(fieldValue, s);
00337    flush(s);
00338 }
00339 inline u16 tMSeries::tAI_Command_1::readAI_SI_Load(nMDBG::tStatus2* s)
00340 {
00341    return getAI_SI_Load(s);
00342 }
00343 
00344 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_SI_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00345 {
00346    if (s && s->isFatal()) return *this;
00347    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
00348    setRegister(newValue, s);
00349    return *this;
00350 }
00351 
00352 inline u16 tMSeries::tAI_Command_1::getAI_SI_Arm(nMDBG::tStatus2*) const
00353 {
00354    return (u16)((_softCopy & ~0xfbff) >> 0xa);
00355 }
00356 
00357 inline void tMSeries::tAI_Command_1::writeAI_SI_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00358 {
00359    setAI_SI_Arm(fieldValue, s);
00360    flush(s);
00361 }
00362 inline u16 tMSeries::tAI_Command_1::readAI_SI_Arm(nMDBG::tStatus2* s)
00363 {
00364    return getAI_SI_Arm(s);
00365 }
00366 
00367 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_SI2_Load(u16 fieldValue, nMDBG::tStatus2* s)
00368 {
00369    if (s && s->isFatal()) return *this;
00370    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
00371    setRegister(newValue, s);
00372    return *this;
00373 }
00374 
00375 inline u16 tMSeries::tAI_Command_1::getAI_SI2_Load(nMDBG::tStatus2*) const
00376 {
00377    return (u16)((_softCopy & ~0xf7ff) >> 0xb);
00378 }
00379 
00380 inline void tMSeries::tAI_Command_1::writeAI_SI2_Load(u16 fieldValue, nMDBG::tStatus2* s)
00381 {
00382    setAI_SI2_Load(fieldValue, s);
00383    flush(s);
00384 }
00385 inline u16 tMSeries::tAI_Command_1::readAI_SI2_Load(nMDBG::tStatus2* s)
00386 {
00387    return getAI_SI2_Load(s);
00388 }
00389 
00390 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_SI2_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00391 {
00392    if (s && s->isFatal()) return *this;
00393    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
00394    setRegister(newValue, s);
00395    return *this;
00396 }
00397 
00398 inline u16 tMSeries::tAI_Command_1::getAI_SI2_Arm(nMDBG::tStatus2*) const
00399 {
00400    return (u16)((_softCopy & ~0xefff) >> 0xc);
00401 }
00402 
00403 inline void tMSeries::tAI_Command_1::writeAI_SI2_Arm(u16 fieldValue, nMDBG::tStatus2* s)
00404 {
00405    setAI_SI2_Arm(fieldValue, s);
00406    flush(s);
00407 }
00408 inline u16 tMSeries::tAI_Command_1::readAI_SI2_Arm(nMDBG::tStatus2* s)
00409 {
00410    return getAI_SI2_Arm(s);
00411 }
00412 
00413 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_Disarm(u16 fieldValue, nMDBG::tStatus2* s)
00414 {
00415    if (s && s->isFatal()) return *this;
00416    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
00417    setRegister(newValue, s);
00418    return *this;
00419 }
00420 
00421 inline u16 tMSeries::tAI_Command_1::getAI_Disarm(nMDBG::tStatus2*) const
00422 {
00423    return (u16)((_softCopy & ~0xdfff) >> 0xd);
00424 }
00425 
00426 inline void tMSeries::tAI_Command_1::writeAI_Disarm(u16 fieldValue, nMDBG::tStatus2* s)
00427 {
00428    setAI_Disarm(fieldValue, s);
00429    flush(s);
00430 }
00431 inline u16 tMSeries::tAI_Command_1::readAI_Disarm(nMDBG::tStatus2* s)
00432 {
00433    return getAI_Disarm(s);
00434 }
00435 
00436 inline tMSeries::tAI_Command_1& tMSeries::tAI_Command_1::setAI_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* s)
00437 {
00438    if (s && s->isFatal()) return *this;
00439    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
00440    setRegister(newValue, s);
00441    return *this;
00442 }
00443 
00444 inline u16 tMSeries::tAI_Command_1::getAI_Analog_Trigger_Reset(nMDBG::tStatus2*) const
00445 {
00446    return (u16)((_softCopy & ~0xbfff) >> 0xe);
00447 }
00448 
00449 inline void tMSeries::tAI_Command_1::writeAI_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* s)
00450 {
00451    setAI_Analog_Trigger_Reset(fieldValue, s);
00452    flush(s);
00453 }
00454 inline u16 tMSeries::tAI_Command_1::readAI_Analog_Trigger_Reset(nMDBG::tStatus2* s)
00455 {
00456    return getAI_Analog_Trigger_Reset(s);
00457 }
00458 
00459 inline void tMSeries::tAI_Command_1::setRegisterMap(tMSeries* pMSeries)
00460 {
00461    _MSeries = pMSeries;
00462 }
00463 
00464 inline tMSeries::tAI_Command_2::tAI_Command_2()
00465 {
00466    _softCopy = 0;
00467 }
00468 
00469 inline tMSeries* tMSeries::tAI_Command_2::registerMap(void)
00470 {
00471    return _MSeries;
00472 }
00473 
00474 inline void tMSeries::tAI_Command_2::flushBus(nMDBG::tStatus2* s)
00475 {
00476    _MSeries->flushBus(s);
00477 }
00478 
00479 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
00480 {
00481    if (s && s->isFatal()) return *this;
00482    _softCopy = fieldValue;
00483    return *this;
00484 }
00485 
00486 inline u16 tMSeries::tAI_Command_2::getRegister(nMDBG::tStatus2*) const
00487 {
00488    return _softCopy;
00489 }
00490 
00491 inline void tMSeries::tAI_Command_2::flush(nMDBG::tStatus2* s)
00492 {
00493    if (s && s->isFatal()) return;
00494    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
00495    _softCopy &= (u16)(0xffff3c00);
00496 }
00497 
00498 inline void tMSeries::tAI_Command_2::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
00499 {
00500    if (s && s->isFatal()) return;
00501    _softCopy = fieldValue;
00502    flush(s);
00503 }
00504 
00505 inline u16 tMSeries::tAI_Command_2::readRegister(nMDBG::tStatus2*) 
00506 {
00507    return _softCopy;
00508 }
00509 
00510 
00511 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00512 {
00513    if (s && s->isFatal()) return *this;
00514    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
00515    setRegister(newValue, s);
00516    return *this;
00517 }
00518 
00519 inline u16 tMSeries::tAI_Command_2::getAI_START1_Pulse(nMDBG::tStatus2*) const
00520 {
00521    return (u16)((_softCopy & ~0xfffe) >> 0x0);
00522 }
00523 
00524 inline void tMSeries::tAI_Command_2::writeAI_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00525 {
00526    setAI_START1_Pulse(fieldValue, s);
00527    flush(s);
00528 }
00529 inline u16 tMSeries::tAI_Command_2::readAI_START1_Pulse(nMDBG::tStatus2* s)
00530 {
00531    return getAI_START1_Pulse(s);
00532 }
00533 
00534 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_START2_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00535 {
00536    if (s && s->isFatal()) return *this;
00537    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffd)) | (((u16)fieldValue << 0x1) & ~0xfffd);
00538    setRegister(newValue, s);
00539    return *this;
00540 }
00541 
00542 inline u16 tMSeries::tAI_Command_2::getAI_START2_Pulse(nMDBG::tStatus2*) const
00543 {
00544    return (u16)((_softCopy & ~0xfffd) >> 0x1);
00545 }
00546 
00547 inline void tMSeries::tAI_Command_2::writeAI_START2_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00548 {
00549    setAI_START2_Pulse(fieldValue, s);
00550    flush(s);
00551 }
00552 inline u16 tMSeries::tAI_Command_2::readAI_START2_Pulse(nMDBG::tStatus2* s)
00553 {
00554    return getAI_START2_Pulse(s);
00555 }
00556 
00557 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_START_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00558 {
00559    if (s && s->isFatal()) return *this;
00560    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
00561    setRegister(newValue, s);
00562    return *this;
00563 }
00564 
00565 inline u16 tMSeries::tAI_Command_2::getAI_START_Pulse(nMDBG::tStatus2*) const
00566 {
00567    return (u16)((_softCopy & ~0xfffb) >> 0x2);
00568 }
00569 
00570 inline void tMSeries::tAI_Command_2::writeAI_START_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00571 {
00572    setAI_START_Pulse(fieldValue, s);
00573    flush(s);
00574 }
00575 inline u16 tMSeries::tAI_Command_2::readAI_START_Pulse(nMDBG::tStatus2* s)
00576 {
00577    return getAI_START_Pulse(s);
00578 }
00579 
00580 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_STOP_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00581 {
00582    if (s && s->isFatal()) return *this;
00583    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
00584    setRegister(newValue, s);
00585    return *this;
00586 }
00587 
00588 inline u16 tMSeries::tAI_Command_2::getAI_STOP_Pulse(nMDBG::tStatus2*) const
00589 {
00590    return (u16)((_softCopy & ~0xfff7) >> 0x3);
00591 }
00592 
00593 inline void tMSeries::tAI_Command_2::writeAI_STOP_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
00594 {
00595    setAI_STOP_Pulse(fieldValue, s);
00596    flush(s);
00597 }
00598 inline u16 tMSeries::tAI_Command_2::readAI_STOP_Pulse(nMDBG::tStatus2* s)
00599 {
00600    return getAI_STOP_Pulse(s);
00601 }
00602 
00603 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_SC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
00604 {
00605    if (s && s->isFatal()) return *this;
00606    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
00607    setRegister(newValue, s);
00608    return *this;
00609 }
00610 
00611 inline u16 tMSeries::tAI_Command_2::getAI_SC_Switch_Load_On_TC(nMDBG::tStatus2*) const
00612 {
00613    return (u16)((_softCopy & ~0xffef) >> 0x4);
00614 }
00615 
00616 inline void tMSeries::tAI_Command_2::writeAI_SC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
00617 {
00618    setAI_SC_Switch_Load_On_TC(fieldValue, s);
00619    flush(s);
00620 }
00621 inline u16 tMSeries::tAI_Command_2::readAI_SC_Switch_Load_On_TC(nMDBG::tStatus2* s)
00622 {
00623    return getAI_SC_Switch_Load_On_TC(s);
00624 }
00625 
00626 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_SI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
00627 {
00628    if (s && s->isFatal()) return *this;
00629    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
00630    setRegister(newValue, s);
00631    return *this;
00632 }
00633 
00634 inline u16 tMSeries::tAI_Command_2::getAI_SI_Switch_Load_On_TC(nMDBG::tStatus2*) const
00635 {
00636    return (u16)((_softCopy & ~0xff7f) >> 0x7);
00637 }
00638 
00639 inline void tMSeries::tAI_Command_2::writeAI_SI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
00640 {
00641    setAI_SI_Switch_Load_On_TC(fieldValue, s);
00642    flush(s);
00643 }
00644 inline u16 tMSeries::tAI_Command_2::readAI_SI_Switch_Load_On_TC(nMDBG::tStatus2* s)
00645 {
00646    return getAI_SI_Switch_Load_On_TC(s);
00647 }
00648 
00649 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_SI_Switch_Load_On_STOP(u16 fieldValue, nMDBG::tStatus2* s)
00650 {
00651    if (s && s->isFatal()) return *this;
00652    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
00653    setRegister(newValue, s);
00654    return *this;
00655 }
00656 
00657 inline u16 tMSeries::tAI_Command_2::getAI_SI_Switch_Load_On_STOP(nMDBG::tStatus2*) const
00658 {
00659    return (u16)((_softCopy & ~0xfeff) >> 0x8);
00660 }
00661 
00662 inline void tMSeries::tAI_Command_2::writeAI_SI_Switch_Load_On_STOP(u16 fieldValue, nMDBG::tStatus2* s)
00663 {
00664    setAI_SI_Switch_Load_On_STOP(fieldValue, s);
00665    flush(s);
00666 }
00667 inline u16 tMSeries::tAI_Command_2::readAI_SI_Switch_Load_On_STOP(nMDBG::tStatus2* s)
00668 {
00669    return getAI_SI_Switch_Load_On_STOP(s);
00670 }
00671 
00672 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_SI_Switch_Load_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* s)
00673 {
00674    if (s && s->isFatal()) return *this;
00675    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
00676    setRegister(newValue, s);
00677    return *this;
00678 }
00679 
00680 inline u16 tMSeries::tAI_Command_2::getAI_SI_Switch_Load_On_SC_TC(nMDBG::tStatus2*) const
00681 {
00682    return (u16)((_softCopy & ~0xfdff) >> 0x9);
00683 }
00684 
00685 inline void tMSeries::tAI_Command_2::writeAI_SI_Switch_Load_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* s)
00686 {
00687    setAI_SI_Switch_Load_On_SC_TC(fieldValue, s);
00688    flush(s);
00689 }
00690 inline u16 tMSeries::tAI_Command_2::readAI_SI_Switch_Load_On_SC_TC(nMDBG::tStatus2* s)
00691 {
00692    return getAI_SI_Switch_Load_On_SC_TC(s);
00693 }
00694 
00695 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_SC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* s)
00696 {
00697    if (s && s->isFatal()) return *this;
00698    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
00699    setRegister(newValue, s);
00700    return *this;
00701 }
00702 
00703 inline u16 tMSeries::tAI_Command_2::getAI_SC_Save_Trace(nMDBG::tStatus2*) const
00704 {
00705    return (u16)((_softCopy & ~0xfbff) >> 0xa);
00706 }
00707 
00708 inline void tMSeries::tAI_Command_2::writeAI_SC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* s)
00709 {
00710    setAI_SC_Save_Trace(fieldValue, s);
00711    flush(s);
00712 }
00713 inline u16 tMSeries::tAI_Command_2::readAI_SC_Save_Trace(nMDBG::tStatus2* s)
00714 {
00715    return getAI_SC_Save_Trace(s);
00716 }
00717 
00718 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_START1_Disable(u16 fieldValue, nMDBG::tStatus2* s)
00719 {
00720    if (s && s->isFatal()) return *this;
00721    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
00722    setRegister(newValue, s);
00723    return *this;
00724 }
00725 
00726 inline u16 tMSeries::tAI_Command_2::getAI_START1_Disable(nMDBG::tStatus2*) const
00727 {
00728    return (u16)((_softCopy & ~0xf7ff) >> 0xb);
00729 }
00730 
00731 inline void tMSeries::tAI_Command_2::writeAI_START1_Disable(u16 fieldValue, nMDBG::tStatus2* s)
00732 {
00733    setAI_START1_Disable(fieldValue, s);
00734    flush(s);
00735 }
00736 inline u16 tMSeries::tAI_Command_2::readAI_START1_Disable(nMDBG::tStatus2* s)
00737 {
00738    return getAI_START1_Disable(s);
00739 }
00740 
00741 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_End_On_End_Of_Scan(u16 fieldValue, nMDBG::tStatus2* s)
00742 {
00743    if (s && s->isFatal()) return *this;
00744    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
00745    setRegister(newValue, s);
00746    return *this;
00747 }
00748 
00749 inline u16 tMSeries::tAI_Command_2::getAI_End_On_End_Of_Scan(nMDBG::tStatus2*) const
00750 {
00751    return (u16)((_softCopy & ~0xbfff) >> 0xe);
00752 }
00753 
00754 inline void tMSeries::tAI_Command_2::writeAI_End_On_End_Of_Scan(u16 fieldValue, nMDBG::tStatus2* s)
00755 {
00756    setAI_End_On_End_Of_Scan(fieldValue, s);
00757    flush(s);
00758 }
00759 inline u16 tMSeries::tAI_Command_2::readAI_End_On_End_Of_Scan(nMDBG::tStatus2* s)
00760 {
00761    return getAI_End_On_End_Of_Scan(s);
00762 }
00763 
00764 inline tMSeries::tAI_Command_2& tMSeries::tAI_Command_2::setAI_End_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* s)
00765 {
00766    if (s && s->isFatal()) return *this;
00767    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
00768    setRegister(newValue, s);
00769    return *this;
00770 }
00771 
00772 inline u16 tMSeries::tAI_Command_2::getAI_End_On_SC_TC(nMDBG::tStatus2*) const
00773 {
00774    return (u16)((_softCopy & ~0x7fff) >> 0xf);
00775 }
00776 
00777 inline void tMSeries::tAI_Command_2::writeAI_End_On_SC_TC(u16 fieldValue, nMDBG::tStatus2* s)
00778 {
00779    setAI_End_On_SC_TC(fieldValue, s);
00780    flush(s);
00781 }
00782 inline u16 tMSeries::tAI_Command_2::readAI_End_On_SC_TC(nMDBG::tStatus2* s)
00783 {
00784    return getAI_End_On_SC_TC(s);
00785 }
00786 
00787 inline void tMSeries::tAI_Command_2::setRegisterMap(tMSeries* pMSeries)
00788 {
00789    _MSeries = pMSeries;
00790 }
00791 
00792 inline tMSeries::tAI_Mode_2::tAI_Mode_2()
00793 {
00794    _softCopy = 0;
00795 }
00796 
00797 inline tMSeries* tMSeries::tAI_Mode_2::registerMap(void)
00798 {
00799    return _MSeries;
00800 }
00801 
00802 inline void tMSeries::tAI_Mode_2::flushBus(nMDBG::tStatus2* s)
00803 {
00804    _MSeries->flushBus(s);
00805 }
00806 
00807 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
00808 {
00809    if (s && s->isFatal()) return *this;
00810    _softCopy = fieldValue;
00811    return *this;
00812 }
00813 
00814 inline u16 tMSeries::tAI_Mode_2::getRegister(nMDBG::tStatus2*) const
00815 {
00816    return _softCopy;
00817 }
00818 
00819 inline void tMSeries::tAI_Mode_2::flush(nMDBG::tStatus2* s)
00820 {
00821    if (s && s->isFatal()) return;
00822    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
00823    _softCopy &= (u16)(0xffffffff);
00824 }
00825 
00826 inline void tMSeries::tAI_Mode_2::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
00827 {
00828    if (s && s->isFatal()) return;
00829    _softCopy = fieldValue;
00830    flush(s);
00831 }
00832 
00833 inline u16 tMSeries::tAI_Mode_2::readRegister(nMDBG::tStatus2*) 
00834 {
00835    return _softCopy;
00836 }
00837 
00838 
00839 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
00840 {
00841    if (s && s->isFatal()) return *this;
00842    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
00843    setRegister(newValue, s);
00844    return *this;
00845 }
00846 
00847 inline u16 tMSeries::tAI_Mode_2::getAI_SC_Write_Switch(nMDBG::tStatus2*) const
00848 {
00849    return (u16)((_softCopy & ~0xfffe) >> 0x0);
00850 }
00851 
00852 inline void tMSeries::tAI_Mode_2::writeAI_SC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
00853 {
00854    setAI_SC_Write_Switch(fieldValue, s);
00855    flush(s);
00856 }
00857 inline u16 tMSeries::tAI_Mode_2::readAI_SC_Write_Switch(nMDBG::tStatus2* s)
00858 {
00859    return getAI_SC_Write_Switch(s);
00860 }
00861 
00862 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SC_Reload_Mode(tAI_SC_Reload_Mode fieldValue, nMDBG::tStatus2* s)
00863 {
00864    if (s && s->isFatal()) return *this;
00865    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffd)) | (((u16)fieldValue << 0x1) & ~0xfffd);
00866    setRegister(newValue, s);
00867    return *this;
00868 }
00869 
00870 inline tMSeries::tAI_Mode_2::tAI_SC_Reload_Mode tMSeries::tAI_Mode_2::getAI_SC_Reload_Mode(nMDBG::tStatus2*) const
00871 {
00872    return (tAI_SC_Reload_Mode)((_softCopy & ~0xfffd) >> 0x1);
00873 }
00874 
00875 inline void tMSeries::tAI_Mode_2::writeAI_SC_Reload_Mode(tAI_SC_Reload_Mode fieldValue, nMDBG::tStatus2* s)
00876 {
00877    setAI_SC_Reload_Mode(fieldValue, s);
00878    flush(s);
00879 }
00880 inline tMSeries::tAI_Mode_2::tAI_SC_Reload_Mode tMSeries::tAI_Mode_2::readAI_SC_Reload_Mode(nMDBG::tStatus2* s)
00881 {
00882    return getAI_SC_Reload_Mode(s);
00883 }
00884 
00885 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SC_Initial_Load_Source(tAI_SC_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
00886 {
00887    if (s && s->isFatal()) return *this;
00888    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
00889    setRegister(newValue, s);
00890    return *this;
00891 }
00892 
00893 inline tMSeries::tAI_Mode_2::tAI_SC_Initial_Load_Source tMSeries::tAI_Mode_2::getAI_SC_Initial_Load_Source(nMDBG::tStatus2*) const
00894 {
00895    return (tAI_SC_Initial_Load_Source)((_softCopy & ~0xfffb) >> 0x2);
00896 }
00897 
00898 inline void tMSeries::tAI_Mode_2::writeAI_SC_Initial_Load_Source(tAI_SC_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
00899 {
00900    setAI_SC_Initial_Load_Source(fieldValue, s);
00901    flush(s);
00902 }
00903 inline tMSeries::tAI_Mode_2::tAI_SC_Initial_Load_Source tMSeries::tAI_Mode_2::readAI_SC_Initial_Load_Source(nMDBG::tStatus2* s)
00904 {
00905    return getAI_SC_Initial_Load_Source(s);
00906 }
00907 
00908 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
00909 {
00910    if (s && s->isFatal()) return *this;
00911    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
00912    setRegister(newValue, s);
00913    return *this;
00914 }
00915 
00916 inline u16 tMSeries::tAI_Mode_2::getAI_SI_Write_Switch(nMDBG::tStatus2*) const
00917 {
00918    return (u16)((_softCopy & ~0xfff7) >> 0x3);
00919 }
00920 
00921 inline void tMSeries::tAI_Mode_2::writeAI_SI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
00922 {
00923    setAI_SI_Write_Switch(fieldValue, s);
00924    flush(s);
00925 }
00926 inline u16 tMSeries::tAI_Mode_2::readAI_SI_Write_Switch(nMDBG::tStatus2* s)
00927 {
00928    return getAI_SI_Write_Switch(s);
00929 }
00930 
00931 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SI_Reload_Mode(tAI_SI_Reload_Mode fieldValue, nMDBG::tStatus2* s)
00932 {
00933    if (s && s->isFatal()) return *this;
00934    u16 newValue;   newValue = ((u16)(_softCopy & 0xff8f)) | (((u16)fieldValue << 0x4) & ~0xff8f);
00935    setRegister(newValue, s);
00936    return *this;
00937 }
00938 
00939 inline tMSeries::tAI_Mode_2::tAI_SI_Reload_Mode tMSeries::tAI_Mode_2::getAI_SI_Reload_Mode(nMDBG::tStatus2*) const
00940 {
00941    return (tAI_SI_Reload_Mode)((_softCopy & ~0xff8f) >> 0x4);
00942 }
00943 
00944 inline void tMSeries::tAI_Mode_2::writeAI_SI_Reload_Mode(tAI_SI_Reload_Mode fieldValue, nMDBG::tStatus2* s)
00945 {
00946    setAI_SI_Reload_Mode(fieldValue, s);
00947    flush(s);
00948 }
00949 inline tMSeries::tAI_Mode_2::tAI_SI_Reload_Mode tMSeries::tAI_Mode_2::readAI_SI_Reload_Mode(nMDBG::tStatus2* s)
00950 {
00951    return getAI_SI_Reload_Mode(s);
00952 }
00953 
00954 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SI_Initial_Load_Source(tAI_SI_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
00955 {
00956    if (s && s->isFatal()) return *this;
00957    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
00958    setRegister(newValue, s);
00959    return *this;
00960 }
00961 
00962 inline tMSeries::tAI_Mode_2::tAI_SI_Initial_Load_Source tMSeries::tAI_Mode_2::getAI_SI_Initial_Load_Source(nMDBG::tStatus2*) const
00963 {
00964    return (tAI_SI_Initial_Load_Source)((_softCopy & ~0xff7f) >> 0x7);
00965 }
00966 
00967 inline void tMSeries::tAI_Mode_2::writeAI_SI_Initial_Load_Source(tAI_SI_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
00968 {
00969    setAI_SI_Initial_Load_Source(fieldValue, s);
00970    flush(s);
00971 }
00972 inline tMSeries::tAI_Mode_2::tAI_SI_Initial_Load_Source tMSeries::tAI_Mode_2::readAI_SI_Initial_Load_Source(nMDBG::tStatus2* s)
00973 {
00974    return getAI_SI_Initial_Load_Source(s);
00975 }
00976 
00977 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SI2_Reload_Mode(tAI_SI2_Reload_Mode fieldValue, nMDBG::tStatus2* s)
00978 {
00979    if (s && s->isFatal()) return *this;
00980    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
00981    setRegister(newValue, s);
00982    return *this;
00983 }
00984 
00985 inline tMSeries::tAI_Mode_2::tAI_SI2_Reload_Mode tMSeries::tAI_Mode_2::getAI_SI2_Reload_Mode(nMDBG::tStatus2*) const
00986 {
00987    return (tAI_SI2_Reload_Mode)((_softCopy & ~0xfeff) >> 0x8);
00988 }
00989 
00990 inline void tMSeries::tAI_Mode_2::writeAI_SI2_Reload_Mode(tAI_SI2_Reload_Mode fieldValue, nMDBG::tStatus2* s)
00991 {
00992    setAI_SI2_Reload_Mode(fieldValue, s);
00993    flush(s);
00994 }
00995 inline tMSeries::tAI_Mode_2::tAI_SI2_Reload_Mode tMSeries::tAI_Mode_2::readAI_SI2_Reload_Mode(nMDBG::tStatus2* s)
00996 {
00997    return getAI_SI2_Reload_Mode(s);
00998 }
00999 
01000 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SI2_Initial_Load_Source(tAI_SI2_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
01001 {
01002    if (s && s->isFatal()) return *this;
01003    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
01004    setRegister(newValue, s);
01005    return *this;
01006 }
01007 
01008 inline tMSeries::tAI_Mode_2::tAI_SI2_Initial_Load_Source tMSeries::tAI_Mode_2::getAI_SI2_Initial_Load_Source(nMDBG::tStatus2*) const
01009 {
01010    return (tAI_SI2_Initial_Load_Source)((_softCopy & ~0xfdff) >> 0x9);
01011 }
01012 
01013 inline void tMSeries::tAI_Mode_2::writeAI_SI2_Initial_Load_Source(tAI_SI2_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
01014 {
01015    setAI_SI2_Initial_Load_Source(fieldValue, s);
01016    flush(s);
01017 }
01018 inline tMSeries::tAI_Mode_2::tAI_SI2_Initial_Load_Source tMSeries::tAI_Mode_2::readAI_SI2_Initial_Load_Source(nMDBG::tStatus2* s)
01019 {
01020    return getAI_SI2_Initial_Load_Source(s);
01021 }
01022 
01023 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_External_MUX_Present(tAI_External_MUX_Present fieldValue, nMDBG::tStatus2* s)
01024 {
01025    if (s && s->isFatal()) return *this;
01026    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
01027    setRegister(newValue, s);
01028    return *this;
01029 }
01030 
01031 inline tMSeries::tAI_Mode_2::tAI_External_MUX_Present tMSeries::tAI_Mode_2::getAI_External_MUX_Present(nMDBG::tStatus2*) const
01032 {
01033    return (tAI_External_MUX_Present)((_softCopy & ~0xefff) >> 0xc);
01034 }
01035 
01036 inline void tMSeries::tAI_Mode_2::writeAI_External_MUX_Present(tAI_External_MUX_Present fieldValue, nMDBG::tStatus2* s)
01037 {
01038    setAI_External_MUX_Present(fieldValue, s);
01039    flush(s);
01040 }
01041 inline tMSeries::tAI_Mode_2::tAI_External_MUX_Present tMSeries::tAI_Mode_2::readAI_External_MUX_Present(nMDBG::tStatus2* s)
01042 {
01043    return getAI_External_MUX_Present(s);
01044 }
01045 
01046 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_Pre_Trigger(tBoolean fieldValue, nMDBG::tStatus2* s)
01047 {
01048    if (s && s->isFatal()) return *this;
01049    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
01050    setRegister(newValue, s);
01051    return *this;
01052 }
01053 
01054 inline tBoolean tMSeries::tAI_Mode_2::getAI_Pre_Trigger(nMDBG::tStatus2*) const
01055 {
01056    return (tBoolean)((_softCopy & ~0xdfff) >> 0xd);
01057 }
01058 
01059 inline void tMSeries::tAI_Mode_2::writeAI_Pre_Trigger(tBoolean fieldValue, nMDBG::tStatus2* s)
01060 {
01061    setAI_Pre_Trigger(fieldValue, s);
01062    flush(s);
01063 }
01064 inline tBoolean tMSeries::tAI_Mode_2::readAI_Pre_Trigger(nMDBG::tStatus2* s)
01065 {
01066    return getAI_Pre_Trigger(s);
01067 }
01068 
01069 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_Start_Stop_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
01070 {
01071    if (s && s->isFatal()) return *this;
01072    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
01073    setRegister(newValue, s);
01074    return *this;
01075 }
01076 
01077 inline tBoolean tMSeries::tAI_Mode_2::getAI_Start_Stop_Gate_Enable(nMDBG::tStatus2*) const
01078 {
01079    return (tBoolean)((_softCopy & ~0xbfff) >> 0xe);
01080 }
01081 
01082 inline void tMSeries::tAI_Mode_2::writeAI_Start_Stop_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
01083 {
01084    setAI_Start_Stop_Gate_Enable(fieldValue, s);
01085    flush(s);
01086 }
01087 inline tBoolean tMSeries::tAI_Mode_2::readAI_Start_Stop_Gate_Enable(nMDBG::tStatus2* s)
01088 {
01089    return getAI_Start_Stop_Gate_Enable(s);
01090 }
01091 
01092 inline tMSeries::tAI_Mode_2& tMSeries::tAI_Mode_2::setAI_SC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
01093 {
01094    if (s && s->isFatal()) return *this;
01095    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
01096    setRegister(newValue, s);
01097    return *this;
01098 }
01099 
01100 inline tBoolean tMSeries::tAI_Mode_2::getAI_SC_Gate_Enable(nMDBG::tStatus2*) const
01101 {
01102    return (tBoolean)((_softCopy & ~0x7fff) >> 0xf);
01103 }
01104 
01105 inline void tMSeries::tAI_Mode_2::writeAI_SC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
01106 {
01107    setAI_SC_Gate_Enable(fieldValue, s);
01108    flush(s);
01109 }
01110 inline tBoolean tMSeries::tAI_Mode_2::readAI_SC_Gate_Enable(nMDBG::tStatus2* s)
01111 {
01112    return getAI_SC_Gate_Enable(s);
01113 }
01114 
01115 inline void tMSeries::tAI_Mode_2::setRegisterMap(tMSeries* pMSeries)
01116 {
01117    _MSeries = pMSeries;
01118 }
01119 
01120 inline tMSeries::tAI_Mode_3::tAI_Mode_3()
01121 {
01122    _softCopy = 0;
01123 }
01124 
01125 inline tMSeries* tMSeries::tAI_Mode_3::registerMap(void)
01126 {
01127    return _MSeries;
01128 }
01129 
01130 inline void tMSeries::tAI_Mode_3::flushBus(nMDBG::tStatus2* s)
01131 {
01132    _MSeries->flushBus(s);
01133 }
01134 
01135 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
01136 {
01137    if (s && s->isFatal()) return *this;
01138    _softCopy = fieldValue;
01139    return *this;
01140 }
01141 
01142 inline u16 tMSeries::tAI_Mode_3::getRegister(nMDBG::tStatus2*) const
01143 {
01144    return _softCopy;
01145 }
01146 
01147 inline void tMSeries::tAI_Mode_3::flush(nMDBG::tStatus2* s)
01148 {
01149    if (s && s->isFatal()) return;
01150    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
01151    _softCopy &= (u16)(0xffffffff);
01152 }
01153 
01154 inline void tMSeries::tAI_Mode_3::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
01155 {
01156    if (s && s->isFatal()) return;
01157    _softCopy = fieldValue;
01158    flush(s);
01159 }
01160 
01161 inline u16 tMSeries::tAI_Mode_3::readRegister(nMDBG::tStatus2*) 
01162 {
01163    return _softCopy;
01164 }
01165 
01166 
01167 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_External_Gate_Select(tAI_External_Gate_Select fieldValue, nMDBG::tStatus2* s)
01168 {
01169    if (s && s->isFatal()) return *this;
01170    u16 newValue;   newValue = ((u16)(_softCopy & 0xffe0)) | (((u16)fieldValue << 0x0) & ~0xffe0);
01171    setRegister(newValue, s);
01172    return *this;
01173 }
01174 
01175 inline tMSeries::tAI_Mode_3::tAI_External_Gate_Select tMSeries::tAI_Mode_3::getAI_External_Gate_Select(nMDBG::tStatus2*) const
01176 {
01177    return (tAI_External_Gate_Select)((_softCopy & ~0xffe0) >> 0x0);
01178 }
01179 
01180 inline void tMSeries::tAI_Mode_3::writeAI_External_Gate_Select(tAI_External_Gate_Select fieldValue, nMDBG::tStatus2* s)
01181 {
01182    setAI_External_Gate_Select(fieldValue, s);
01183    flush(s);
01184 }
01185 inline tMSeries::tAI_Mode_3::tAI_External_Gate_Select tMSeries::tAI_Mode_3::readAI_External_Gate_Select(nMDBG::tStatus2* s)
01186 {
01187    return getAI_External_Gate_Select(s);
01188 }
01189 
01190 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_External_Gate_Polarity(tAI_External_Gate_Polarity fieldValue, nMDBG::tStatus2* s)
01191 {
01192    if (s && s->isFatal()) return *this;
01193    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
01194    setRegister(newValue, s);
01195    return *this;
01196 }
01197 
01198 inline tMSeries::tAI_Mode_3::tAI_External_Gate_Polarity tMSeries::tAI_Mode_3::getAI_External_Gate_Polarity(nMDBG::tStatus2*) const
01199 {
01200    return (tAI_External_Gate_Polarity)((_softCopy & ~0xffdf) >> 0x5);
01201 }
01202 
01203 inline void tMSeries::tAI_Mode_3::writeAI_External_Gate_Polarity(tAI_External_Gate_Polarity fieldValue, nMDBG::tStatus2* s)
01204 {
01205    setAI_External_Gate_Polarity(fieldValue, s);
01206    flush(s);
01207 }
01208 inline tMSeries::tAI_Mode_3::tAI_External_Gate_Polarity tMSeries::tAI_Mode_3::readAI_External_Gate_Polarity(nMDBG::tStatus2* s)
01209 {
01210    return getAI_External_Gate_Polarity(s);
01211 }
01212 
01213 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_FIFO_Mode(tAI_FIFO_Mode fieldValue, nMDBG::tStatus2* s)
01214 {
01215    if (s && s->isFatal()) return *this;
01216    u16 newValue;   newValue = ((u16)(_softCopy & 0xff3f)) | (((u16)fieldValue << 0x6) & ~0xff3f);
01217    setRegister(newValue, s);
01218    return *this;
01219 }
01220 
01221 inline tMSeries::tAI_Mode_3::tAI_FIFO_Mode tMSeries::tAI_Mode_3::getAI_FIFO_Mode(nMDBG::tStatus2*) const
01222 {
01223    return (tAI_FIFO_Mode)((_softCopy & ~0xff3f) >> 0x6);
01224 }
01225 
01226 inline void tMSeries::tAI_Mode_3::writeAI_FIFO_Mode(tAI_FIFO_Mode fieldValue, nMDBG::tStatus2* s)
01227 {
01228    setAI_FIFO_Mode(fieldValue, s);
01229    flush(s);
01230 }
01231 inline tMSeries::tAI_Mode_3::tAI_FIFO_Mode tMSeries::tAI_Mode_3::readAI_FIFO_Mode(nMDBG::tStatus2* s)
01232 {
01233    return getAI_FIFO_Mode(s);
01234 }
01235 
01236 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_External_Gate_Mode(tAI_External_Gate_Mode fieldValue, nMDBG::tStatus2* s)
01237 {
01238    if (s && s->isFatal()) return *this;
01239    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
01240    setRegister(newValue, s);
01241    return *this;
01242 }
01243 
01244 inline tMSeries::tAI_Mode_3::tAI_External_Gate_Mode tMSeries::tAI_Mode_3::getAI_External_Gate_Mode(nMDBG::tStatus2*) const
01245 {
01246    return (tAI_External_Gate_Mode)((_softCopy & ~0xfeff) >> 0x8);
01247 }
01248 
01249 inline void tMSeries::tAI_Mode_3::writeAI_External_Gate_Mode(tAI_External_Gate_Mode fieldValue, nMDBG::tStatus2* s)
01250 {
01251    setAI_External_Gate_Mode(fieldValue, s);
01252    flush(s);
01253 }
01254 inline tMSeries::tAI_Mode_3::tAI_External_Gate_Mode tMSeries::tAI_Mode_3::readAI_External_Gate_Mode(nMDBG::tStatus2* s)
01255 {
01256    return getAI_External_Gate_Mode(s);
01257 }
01258 
01259 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* s)
01260 {
01261    if (s && s->isFatal()) return *this;
01262    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
01263    setRegister(newValue, s);
01264    return *this;
01265 }
01266 
01267 inline tBoolean tMSeries::tAI_Mode_3::getAI_Delayed_START1(nMDBG::tStatus2*) const
01268 {
01269    return (tBoolean)((_softCopy & ~0xfdff) >> 0x9);
01270 }
01271 
01272 inline void tMSeries::tAI_Mode_3::writeAI_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* s)
01273 {
01274    setAI_Delayed_START1(fieldValue, s);
01275    flush(s);
01276 }
01277 inline tBoolean tMSeries::tAI_Mode_3::readAI_Delayed_START1(nMDBG::tStatus2* s)
01278 {
01279    return getAI_Delayed_START1(s);
01280 }
01281 
01282 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_Delayed_START2(tBoolean fieldValue, nMDBG::tStatus2* s)
01283 {
01284    if (s && s->isFatal()) return *this;
01285    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
01286    setRegister(newValue, s);
01287    return *this;
01288 }
01289 
01290 inline tBoolean tMSeries::tAI_Mode_3::getAI_Delayed_START2(nMDBG::tStatus2*) const
01291 {
01292    return (tBoolean)((_softCopy & ~0xfbff) >> 0xa);
01293 }
01294 
01295 inline void tMSeries::tAI_Mode_3::writeAI_Delayed_START2(tBoolean fieldValue, nMDBG::tStatus2* s)
01296 {
01297    setAI_Delayed_START2(fieldValue, s);
01298    flush(s);
01299 }
01300 inline tBoolean tMSeries::tAI_Mode_3::readAI_Delayed_START2(nMDBG::tStatus2* s)
01301 {
01302    return getAI_Delayed_START2(s);
01303 }
01304 
01305 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_SI2_Source_Select(tAI_SI2_Source_Select fieldValue, nMDBG::tStatus2* s)
01306 {
01307    if (s && s->isFatal()) return *this;
01308    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
01309    setRegister(newValue, s);
01310    return *this;
01311 }
01312 
01313 inline tMSeries::tAI_Mode_3::tAI_SI2_Source_Select tMSeries::tAI_Mode_3::getAI_SI2_Source_Select(nMDBG::tStatus2*) const
01314 {
01315    return (tAI_SI2_Source_Select)((_softCopy & ~0xf7ff) >> 0xb);
01316 }
01317 
01318 inline void tMSeries::tAI_Mode_3::writeAI_SI2_Source_Select(tAI_SI2_Source_Select fieldValue, nMDBG::tStatus2* s)
01319 {
01320    setAI_SI2_Source_Select(fieldValue, s);
01321    flush(s);
01322 }
01323 inline tMSeries::tAI_Mode_3::tAI_SI2_Source_Select tMSeries::tAI_Mode_3::readAI_SI2_Source_Select(nMDBG::tStatus2* s)
01324 {
01325    return getAI_SI2_Source_Select(s);
01326 }
01327 
01328 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_Software_Gate(u16 fieldValue, nMDBG::tStatus2* s)
01329 {
01330    if (s && s->isFatal()) return *this;
01331    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
01332    setRegister(newValue, s);
01333    return *this;
01334 }
01335 
01336 inline u16 tMSeries::tAI_Mode_3::getAI_Software_Gate(nMDBG::tStatus2*) const
01337 {
01338    return (u16)((_softCopy & ~0xdfff) >> 0xd);
01339 }
01340 
01341 inline void tMSeries::tAI_Mode_3::writeAI_Software_Gate(u16 fieldValue, nMDBG::tStatus2* s)
01342 {
01343    setAI_Software_Gate(fieldValue, s);
01344    flush(s);
01345 }
01346 inline u16 tMSeries::tAI_Mode_3::readAI_Software_Gate(nMDBG::tStatus2* s)
01347 {
01348    return getAI_Software_Gate(s);
01349 }
01350 
01351 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_Delay_START(u16 fieldValue, nMDBG::tStatus2* s)
01352 {
01353    if (s && s->isFatal()) return *this;
01354    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
01355    setRegister(newValue, s);
01356    return *this;
01357 }
01358 
01359 inline u16 tMSeries::tAI_Mode_3::getAI_Delay_START(nMDBG::tStatus2*) const
01360 {
01361    return (u16)((_softCopy & ~0xbfff) >> 0xe);
01362 }
01363 
01364 inline void tMSeries::tAI_Mode_3::writeAI_Delay_START(u16 fieldValue, nMDBG::tStatus2* s)
01365 {
01366    setAI_Delay_START(fieldValue, s);
01367    flush(s);
01368 }
01369 inline u16 tMSeries::tAI_Mode_3::readAI_Delay_START(nMDBG::tStatus2* s)
01370 {
01371    return getAI_Delay_START(s);
01372 }
01373 
01374 inline tMSeries::tAI_Mode_3& tMSeries::tAI_Mode_3::setAI_Trigger_Length(u16 fieldValue, nMDBG::tStatus2* s)
01375 {
01376    if (s && s->isFatal()) return *this;
01377    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
01378    setRegister(newValue, s);
01379    return *this;
01380 }
01381 
01382 inline u16 tMSeries::tAI_Mode_3::getAI_Trigger_Length(nMDBG::tStatus2*) const
01383 {
01384    return (u16)((_softCopy & ~0x7fff) >> 0xf);
01385 }
01386 
01387 inline void tMSeries::tAI_Mode_3::writeAI_Trigger_Length(u16 fieldValue, nMDBG::tStatus2* s)
01388 {
01389    setAI_Trigger_Length(fieldValue, s);
01390    flush(s);
01391 }
01392 inline u16 tMSeries::tAI_Mode_3::readAI_Trigger_Length(nMDBG::tStatus2* s)
01393 {
01394    return getAI_Trigger_Length(s);
01395 }
01396 
01397 inline void tMSeries::tAI_Mode_3::setRegisterMap(tMSeries* pMSeries)
01398 {
01399    _MSeries = pMSeries;
01400 }
01401 
01402 inline tMSeries::tAI_Personal::tAI_Personal()
01403 {
01404    _softCopy = 0;
01405 }
01406 
01407 inline tMSeries* tMSeries::tAI_Personal::registerMap(void)
01408 {
01409    return _MSeries;
01410 }
01411 
01412 inline void tMSeries::tAI_Personal::flushBus(nMDBG::tStatus2* s)
01413 {
01414    _MSeries->flushBus(s);
01415 }
01416 
01417 inline tMSeries::tAI_Personal& tMSeries::tAI_Personal::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
01418 {
01419    if (s && s->isFatal()) return *this;
01420    _softCopy = fieldValue;
01421    return *this;
01422 }
01423 
01424 inline u16 tMSeries::tAI_Personal::getRegister(nMDBG::tStatus2*) const
01425 {
01426    return _softCopy;
01427 }
01428 
01429 inline void tMSeries::tAI_Personal::flush(nMDBG::tStatus2* s)
01430 {
01431    if (s && s->isFatal()) return;
01432    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
01433    _softCopy &= (u16)(0xffffffff);
01434 }
01435 
01436 inline void tMSeries::tAI_Personal::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
01437 {
01438    if (s && s->isFatal()) return;
01439    _softCopy = fieldValue;
01440    flush(s);
01441 }
01442 
01443 inline u16 tMSeries::tAI_Personal::readRegister(nMDBG::tStatus2*) 
01444 {
01445    return _softCopy;
01446 }
01447 
01448 
01449 inline tMSeries::tAI_Personal& tMSeries::tAI_Personal::setAI_EXTMUX_CLK_Pulse_Width(tAI_EXTMUX_CLK_Pulse_Width fieldValue, nMDBG::tStatus2* s)
01450 {
01451    if (s && s->isFatal()) return *this;
01452    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
01453    setRegister(newValue, s);
01454    return *this;
01455 }
01456 
01457 inline tMSeries::tAI_Personal::tAI_EXTMUX_CLK_Pulse_Width tMSeries::tAI_Personal::getAI_EXTMUX_CLK_Pulse_Width(nMDBG::tStatus2*) const
01458 {
01459    return (tAI_EXTMUX_CLK_Pulse_Width)((_softCopy & ~0xffbf) >> 0x6);
01460 }
01461 
01462 inline void tMSeries::tAI_Personal::writeAI_EXTMUX_CLK_Pulse_Width(tAI_EXTMUX_CLK_Pulse_Width fieldValue, nMDBG::tStatus2* s)
01463 {
01464    setAI_EXTMUX_CLK_Pulse_Width(fieldValue, s);
01465    flush(s);
01466 }
01467 inline tMSeries::tAI_Personal::tAI_EXTMUX_CLK_Pulse_Width tMSeries::tAI_Personal::readAI_EXTMUX_CLK_Pulse_Width(nMDBG::tStatus2* s)
01468 {
01469    return getAI_EXTMUX_CLK_Pulse_Width(s);
01470 }
01471 
01472 inline tMSeries::tAI_Personal& tMSeries::tAI_Personal::setAI_CONVERT_Pulse_Width(tAI_CONVERT_Pulse_Width fieldValue, nMDBG::tStatus2* s)
01473 {
01474    if (s && s->isFatal()) return *this;
01475    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
01476    setRegister(newValue, s);
01477    return *this;
01478 }
01479 
01480 inline tMSeries::tAI_Personal::tAI_CONVERT_Pulse_Width tMSeries::tAI_Personal::getAI_CONVERT_Pulse_Width(nMDBG::tStatus2*) const
01481 {
01482    return (tAI_CONVERT_Pulse_Width)((_softCopy & ~0xfbff) >> 0xa);
01483 }
01484 
01485 inline void tMSeries::tAI_Personal::writeAI_CONVERT_Pulse_Width(tAI_CONVERT_Pulse_Width fieldValue, nMDBG::tStatus2* s)
01486 {
01487    setAI_CONVERT_Pulse_Width(fieldValue, s);
01488    flush(s);
01489 }
01490 inline tMSeries::tAI_Personal::tAI_CONVERT_Pulse_Width tMSeries::tAI_Personal::readAI_CONVERT_Pulse_Width(nMDBG::tStatus2* s)
01491 {
01492    return getAI_CONVERT_Pulse_Width(s);
01493 }
01494 
01495 inline void tMSeries::tAI_Personal::setRegisterMap(tMSeries* pMSeries)
01496 {
01497    _MSeries = pMSeries;
01498 }
01499 
01500 inline tMSeries::tAI_Output_Control::tAI_Output_Control()
01501 {
01502    _softCopy = 0;
01503 }
01504 
01505 inline tMSeries* tMSeries::tAI_Output_Control::registerMap(void)
01506 {
01507    return _MSeries;
01508 }
01509 
01510 inline void tMSeries::tAI_Output_Control::flushBus(nMDBG::tStatus2* s)
01511 {
01512    _MSeries->flushBus(s);
01513 }
01514 
01515 inline tMSeries::tAI_Output_Control& tMSeries::tAI_Output_Control::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
01516 {
01517    if (s && s->isFatal()) return *this;
01518    _softCopy = fieldValue;
01519    return *this;
01520 }
01521 
01522 inline u16 tMSeries::tAI_Output_Control::getRegister(nMDBG::tStatus2*) const
01523 {
01524    return _softCopy;
01525 }
01526 
01527 inline void tMSeries::tAI_Output_Control::flush(nMDBG::tStatus2* s)
01528 {
01529    if (s && s->isFatal()) return;
01530    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
01531    _softCopy &= (u16)(0xffffffff);
01532 }
01533 
01534 inline void tMSeries::tAI_Output_Control::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
01535 {
01536    if (s && s->isFatal()) return;
01537    _softCopy = fieldValue;
01538    flush(s);
01539 }
01540 
01541 inline u16 tMSeries::tAI_Output_Control::readRegister(nMDBG::tStatus2*) 
01542 {
01543    return _softCopy;
01544 }
01545 
01546 
01547 inline tMSeries::tAI_Output_Control& tMSeries::tAI_Output_Control::setAI_CONVERT_Output_Select(tAI_CONVERT_Output_Select fieldValue, nMDBG::tStatus2* s)
01548 {
01549    if (s && s->isFatal()) return *this;
01550    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffc)) | (((u16)fieldValue << 0x0) & ~0xfffc);
01551    setRegister(newValue, s);
01552    return *this;
01553 }
01554 
01555 inline tMSeries::tAI_Output_Control::tAI_CONVERT_Output_Select tMSeries::tAI_Output_Control::getAI_CONVERT_Output_Select(nMDBG::tStatus2*) const
01556 {
01557    return (tAI_CONVERT_Output_Select)((_softCopy & ~0xfffc) >> 0x0);
01558 }
01559 
01560 inline void tMSeries::tAI_Output_Control::writeAI_CONVERT_Output_Select(tAI_CONVERT_Output_Select fieldValue, nMDBG::tStatus2* s)
01561 {
01562    setAI_CONVERT_Output_Select(fieldValue, s);
01563    flush(s);
01564 }
01565 inline tMSeries::tAI_Output_Control::tAI_CONVERT_Output_Select tMSeries::tAI_Output_Control::readAI_CONVERT_Output_Select(nMDBG::tStatus2* s)
01566 {
01567    return getAI_CONVERT_Output_Select(s);
01568 }
01569 
01570 inline tMSeries::tAI_Output_Control& tMSeries::tAI_Output_Control::setAI_EXTMUX_CLK_Output_Select(tAI_EXTMUX_CLK_Output_Select fieldValue, nMDBG::tStatus2* s)
01571 {
01572    if (s && s->isFatal()) return *this;
01573    u16 newValue;   newValue = ((u16)(_softCopy & 0xff3f)) | (((u16)fieldValue << 0x6) & ~0xff3f);
01574    setRegister(newValue, s);
01575    return *this;
01576 }
01577 
01578 inline tMSeries::tAI_Output_Control::tAI_EXTMUX_CLK_Output_Select tMSeries::tAI_Output_Control::getAI_EXTMUX_CLK_Output_Select(nMDBG::tStatus2*) const
01579 {
01580    return (tAI_EXTMUX_CLK_Output_Select)((_softCopy & ~0xff3f) >> 0x6);
01581 }
01582 
01583 inline void tMSeries::tAI_Output_Control::writeAI_EXTMUX_CLK_Output_Select(tAI_EXTMUX_CLK_Output_Select fieldValue, nMDBG::tStatus2* s)
01584 {
01585    setAI_EXTMUX_CLK_Output_Select(fieldValue, s);
01586    flush(s);
01587 }
01588 inline tMSeries::tAI_Output_Control::tAI_EXTMUX_CLK_Output_Select tMSeries::tAI_Output_Control::readAI_EXTMUX_CLK_Output_Select(nMDBG::tStatus2* s)
01589 {
01590    return getAI_EXTMUX_CLK_Output_Select(s);
01591 }
01592 
01593 inline tMSeries::tAI_Output_Control& tMSeries::tAI_Output_Control::setAI_SCAN_IN_PROG_Output_Select(tAI_SCAN_IN_PROG_Output_Select fieldValue, nMDBG::tStatus2* s)
01594 {
01595    if (s && s->isFatal()) return *this;
01596    u16 newValue;   newValue = ((u16)(_softCopy & 0xfcff)) | (((u16)fieldValue << 0x8) & ~0xfcff);
01597    setRegister(newValue, s);
01598    return *this;
01599 }
01600 
01601 inline tMSeries::tAI_Output_Control::tAI_SCAN_IN_PROG_Output_Select tMSeries::tAI_Output_Control::getAI_SCAN_IN_PROG_Output_Select(nMDBG::tStatus2*) const
01602 {
01603    return (tAI_SCAN_IN_PROG_Output_Select)((_softCopy & ~0xfcff) >> 0x8);
01604 }
01605 
01606 inline void tMSeries::tAI_Output_Control::writeAI_SCAN_IN_PROG_Output_Select(tAI_SCAN_IN_PROG_Output_Select fieldValue, nMDBG::tStatus2* s)
01607 {
01608    setAI_SCAN_IN_PROG_Output_Select(fieldValue, s);
01609    flush(s);
01610 }
01611 inline tMSeries::tAI_Output_Control::tAI_SCAN_IN_PROG_Output_Select tMSeries::tAI_Output_Control::readAI_SCAN_IN_PROG_Output_Select(nMDBG::tStatus2* s)
01612 {
01613    return getAI_SCAN_IN_PROG_Output_Select(s);
01614 }
01615 
01616 inline tMSeries::tAI_Output_Control& tMSeries::tAI_Output_Control::setAI_START_Output_Select(tAI_START_Output_Select fieldValue, nMDBG::tStatus2* s)
01617 {
01618    if (s && s->isFatal()) return *this;
01619    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
01620    setRegister(newValue, s);
01621    return *this;
01622 }
01623 
01624 inline tMSeries::tAI_Output_Control::tAI_START_Output_Select tMSeries::tAI_Output_Control::getAI_START_Output_Select(nMDBG::tStatus2*) const
01625 {
01626    return (tAI_START_Output_Select)((_softCopy & ~0xfbff) >> 0xa);
01627 }
01628 
01629 inline void tMSeries::tAI_Output_Control::writeAI_START_Output_Select(tAI_START_Output_Select fieldValue, nMDBG::tStatus2* s)
01630 {
01631    setAI_START_Output_Select(fieldValue, s);
01632    flush(s);
01633 }
01634 inline tMSeries::tAI_Output_Control::tAI_START_Output_Select tMSeries::tAI_Output_Control::readAI_START_Output_Select(nMDBG::tStatus2* s)
01635 {
01636    return getAI_START_Output_Select(s);
01637 }
01638 
01639 inline void tMSeries::tAI_Output_Control::setRegisterMap(tMSeries* pMSeries)
01640 {
01641    _MSeries = pMSeries;
01642 }
01643 
01644 inline tMSeries::tAI_SC_Load_A::tAI_SC_Load_A()
01645 {
01646    _softCopy = 0;
01647 }
01648 
01649 inline tMSeries* tMSeries::tAI_SC_Load_A::registerMap(void)
01650 {
01651    return _MSeries;
01652 }
01653 
01654 inline void tMSeries::tAI_SC_Load_A::flushBus(nMDBG::tStatus2* s)
01655 {
01656    _MSeries->flushBus(s);
01657 }
01658 
01659 inline tMSeries::tAI_SC_Load_A& tMSeries::tAI_SC_Load_A::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
01660 {
01661    if (s && s->isFatal()) return *this;
01662    _softCopy = fieldValue;
01663    return *this;
01664 }
01665 
01666 inline u32 tMSeries::tAI_SC_Load_A::getRegister(nMDBG::tStatus2*) const
01667 {
01668    return _softCopy;
01669 }
01670 
01671 inline void tMSeries::tAI_SC_Load_A::flush(nMDBG::tStatus2* s)
01672 {
01673    if (s && s->isFatal()) return;
01674    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
01675    _softCopy &= (u32)(0xffffffff);
01676 }
01677 
01678 inline void tMSeries::tAI_SC_Load_A::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
01679 {
01680    if (s && s->isFatal()) return;
01681    _softCopy = fieldValue;
01682    flush(s);
01683 }
01684 
01685 inline u32 tMSeries::tAI_SC_Load_A::readRegister(nMDBG::tStatus2*) 
01686 {
01687    return _softCopy;
01688 }
01689 
01690 
01691 inline tMSeries::tAI_SC_Load_A& tMSeries::tAI_SC_Load_A::set(u32 fieldValue, nMDBG::tStatus2* s)
01692 {
01693    if (s && s->isFatal()) return *this;
01694    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
01695    setRegister(newValue, s);
01696    return *this;
01697 }
01698 
01699 inline u32 tMSeries::tAI_SC_Load_A::get(nMDBG::tStatus2*) const
01700 {
01701    return (u32)((_softCopy & ~0x0) >> 0x0);
01702 }
01703 
01704 inline void tMSeries::tAI_SC_Load_A::write(u32 fieldValue, nMDBG::tStatus2* s)
01705 {
01706    set(fieldValue, s);
01707    flush(s);
01708 }
01709 inline u32 tMSeries::tAI_SC_Load_A::read(nMDBG::tStatus2* s)
01710 {
01711    return get(s);
01712 }
01713 
01714 inline void tMSeries::tAI_SC_Load_A::setRegisterMap(tMSeries* pMSeries)
01715 {
01716    _MSeries = pMSeries;
01717 }
01718 
01719 inline tMSeries::tAI_SC_Load_B::tAI_SC_Load_B()
01720 {
01721    _softCopy = 0;
01722 }
01723 
01724 inline tMSeries* tMSeries::tAI_SC_Load_B::registerMap(void)
01725 {
01726    return _MSeries;
01727 }
01728 
01729 inline void tMSeries::tAI_SC_Load_B::flushBus(nMDBG::tStatus2* s)
01730 {
01731    _MSeries->flushBus(s);
01732 }
01733 
01734 inline tMSeries::tAI_SC_Load_B& tMSeries::tAI_SC_Load_B::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
01735 {
01736    if (s && s->isFatal()) return *this;
01737    _softCopy = fieldValue;
01738    return *this;
01739 }
01740 
01741 inline u32 tMSeries::tAI_SC_Load_B::getRegister(nMDBG::tStatus2*) const
01742 {
01743    return _softCopy;
01744 }
01745 
01746 inline void tMSeries::tAI_SC_Load_B::flush(nMDBG::tStatus2* s)
01747 {
01748    if (s && s->isFatal()) return;
01749    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
01750    _softCopy &= (u32)(0xffffffff);
01751 }
01752 
01753 inline void tMSeries::tAI_SC_Load_B::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
01754 {
01755    if (s && s->isFatal()) return;
01756    _softCopy = fieldValue;
01757    flush(s);
01758 }
01759 
01760 inline u32 tMSeries::tAI_SC_Load_B::readRegister(nMDBG::tStatus2*) 
01761 {
01762    return _softCopy;
01763 }
01764 
01765 
01766 inline tMSeries::tAI_SC_Load_B& tMSeries::tAI_SC_Load_B::set(u32 fieldValue, nMDBG::tStatus2* s)
01767 {
01768    if (s && s->isFatal()) return *this;
01769    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
01770    setRegister(newValue, s);
01771    return *this;
01772 }
01773 
01774 inline u32 tMSeries::tAI_SC_Load_B::get(nMDBG::tStatus2*) const
01775 {
01776    return (u32)((_softCopy & ~0x0) >> 0x0);
01777 }
01778 
01779 inline void tMSeries::tAI_SC_Load_B::write(u32 fieldValue, nMDBG::tStatus2* s)
01780 {
01781    set(fieldValue, s);
01782    flush(s);
01783 }
01784 inline u32 tMSeries::tAI_SC_Load_B::read(nMDBG::tStatus2* s)
01785 {
01786    return get(s);
01787 }
01788 
01789 inline void tMSeries::tAI_SC_Load_B::setRegisterMap(tMSeries* pMSeries)
01790 {
01791    _MSeries = pMSeries;
01792 }
01793 
01794 inline tMSeries::tAI_SC_Save::tAI_SC_Save()
01795 {
01796    _softCopy = 0;
01797 }
01798 
01799 inline tMSeries* tMSeries::tAI_SC_Save::registerMap(void)
01800 {
01801    return _MSeries;
01802 }
01803 
01804 inline tMSeries::tAI_SC_Save& tMSeries::tAI_SC_Save::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
01805 {
01806    if (s && s->isFatal()) return *this;
01807    _softCopy = fieldValue;
01808    return *this;
01809 }
01810 
01811 inline u32 tMSeries::tAI_SC_Save::getRegister(nMDBG::tStatus2*) const
01812 {
01813    return _softCopy;
01814 }
01815 
01816 inline void tMSeries::tAI_SC_Save::refresh(nMDBG::tStatus2* s)
01817 {
01818    _softCopy = tIOStrategy::read(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), s);
01819 }
01820 
01821 inline u32 tMSeries::tAI_SC_Save::readRegister(nMDBG::tStatus2* s) 
01822 {
01823    refresh(s);
01824    return _softCopy;
01825 }
01826 
01827 inline tMSeries::tAI_SC_Save& tMSeries::tAI_SC_Save::set(u32 fieldValue, nMDBG::tStatus2* s)
01828 {
01829    if (s && s->isFatal()) return *this;
01830    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
01831    setRegister(newValue, s);
01832    return *this;
01833 }
01834 
01835 inline u32 tMSeries::tAI_SC_Save::get(nMDBG::tStatus2*) const
01836 {
01837    return (u32)((_softCopy & ~0x0) >> 0x0);
01838 }
01839 
01840 inline u32 tMSeries::tAI_SC_Save::read(nMDBG::tStatus2* s)
01841 {
01842    refresh(s);
01843    return get(s);
01844 }
01845 
01846 inline void tMSeries::tAI_SC_Save::setRegisterMap(tMSeries* pMSeries)
01847 {
01848    _MSeries = pMSeries;
01849 }
01850 
01851 inline tMSeries::tAI_SI_Load_A::tAI_SI_Load_A()
01852 {
01853    _softCopy = 0;
01854 }
01855 
01856 inline tMSeries* tMSeries::tAI_SI_Load_A::registerMap(void)
01857 {
01858    return _MSeries;
01859 }
01860 
01861 inline void tMSeries::tAI_SI_Load_A::flushBus(nMDBG::tStatus2* s)
01862 {
01863    _MSeries->flushBus(s);
01864 }
01865 
01866 inline tMSeries::tAI_SI_Load_A& tMSeries::tAI_SI_Load_A::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
01867 {
01868    if (s && s->isFatal()) return *this;
01869    _softCopy = fieldValue;
01870    return *this;
01871 }
01872 
01873 inline u32 tMSeries::tAI_SI_Load_A::getRegister(nMDBG::tStatus2*) const
01874 {
01875    return _softCopy;
01876 }
01877 
01878 inline void tMSeries::tAI_SI_Load_A::flush(nMDBG::tStatus2* s)
01879 {
01880    if (s && s->isFatal()) return;
01881    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
01882    _softCopy &= (u32)(0x0);
01883 }
01884 
01885 inline void tMSeries::tAI_SI_Load_A::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
01886 {
01887    if (s && s->isFatal()) return;
01888    _softCopy = fieldValue;
01889    flush(s);
01890 }
01891 
01892 inline u32 tMSeries::tAI_SI_Load_A::readRegister(nMDBG::tStatus2*) 
01893 {
01894    return _softCopy;
01895 }
01896 
01897 
01898 inline tMSeries::tAI_SI_Load_A& tMSeries::tAI_SI_Load_A::set(u32 fieldValue, nMDBG::tStatus2* s)
01899 {
01900    if (s && s->isFatal()) return *this;
01901    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
01902    setRegister(newValue, s);
01903    return *this;
01904 }
01905 
01906 inline u32 tMSeries::tAI_SI_Load_A::get(nMDBG::tStatus2*) const
01907 {
01908    return (u32)((_softCopy & ~0x0) >> 0x0);
01909 }
01910 
01911 inline void tMSeries::tAI_SI_Load_A::write(u32 fieldValue, nMDBG::tStatus2* s)
01912 {
01913    set(fieldValue, s);
01914    flush(s);
01915 }
01916 inline u32 tMSeries::tAI_SI_Load_A::read(nMDBG::tStatus2* s)
01917 {
01918    return get(s);
01919 }
01920 
01921 inline void tMSeries::tAI_SI_Load_A::setRegisterMap(tMSeries* pMSeries)
01922 {
01923    _MSeries = pMSeries;
01924 }
01925 
01926 inline tMSeries::tAI_SI_Load_B::tAI_SI_Load_B()
01927 {
01928    _softCopy = 0;
01929 }
01930 
01931 inline tMSeries* tMSeries::tAI_SI_Load_B::registerMap(void)
01932 {
01933    return _MSeries;
01934 }
01935 
01936 inline void tMSeries::tAI_SI_Load_B::flushBus(nMDBG::tStatus2* s)
01937 {
01938    _MSeries->flushBus(s);
01939 }
01940 
01941 inline tMSeries::tAI_SI_Load_B& tMSeries::tAI_SI_Load_B::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
01942 {
01943    if (s && s->isFatal()) return *this;
01944    _softCopy = fieldValue;
01945    return *this;
01946 }
01947 
01948 inline u32 tMSeries::tAI_SI_Load_B::getRegister(nMDBG::tStatus2*) const
01949 {
01950    return _softCopy;
01951 }
01952 
01953 inline void tMSeries::tAI_SI_Load_B::flush(nMDBG::tStatus2* s)
01954 {
01955    if (s && s->isFatal()) return;
01956    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
01957    _softCopy &= (u32)(0xffffffff);
01958 }
01959 
01960 inline void tMSeries::tAI_SI_Load_B::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
01961 {
01962    if (s && s->isFatal()) return;
01963    _softCopy = fieldValue;
01964    flush(s);
01965 }
01966 
01967 inline u32 tMSeries::tAI_SI_Load_B::readRegister(nMDBG::tStatus2*) 
01968 {
01969    return _softCopy;
01970 }
01971 
01972 
01973 inline tMSeries::tAI_SI_Load_B& tMSeries::tAI_SI_Load_B::set(u32 fieldValue, nMDBG::tStatus2* s)
01974 {
01975    if (s && s->isFatal()) return *this;
01976    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
01977    setRegister(newValue, s);
01978    return *this;
01979 }
01980 
01981 inline u32 tMSeries::tAI_SI_Load_B::get(nMDBG::tStatus2*) const
01982 {
01983    return (u32)((_softCopy & ~0x0) >> 0x0);
01984 }
01985 
01986 inline void tMSeries::tAI_SI_Load_B::write(u32 fieldValue, nMDBG::tStatus2* s)
01987 {
01988    set(fieldValue, s);
01989    flush(s);
01990 }
01991 inline u32 tMSeries::tAI_SI_Load_B::read(nMDBG::tStatus2* s)
01992 {
01993    return get(s);
01994 }
01995 
01996 inline void tMSeries::tAI_SI_Load_B::setRegisterMap(tMSeries* pMSeries)
01997 {
01998    _MSeries = pMSeries;
01999 }
02000 
02001 inline tMSeries::tAI_SI_Save::tAI_SI_Save()
02002 {
02003    _softCopy = 0;
02004 }
02005 
02006 inline tMSeries* tMSeries::tAI_SI_Save::registerMap(void)
02007 {
02008    return _MSeries;
02009 }
02010 
02011 inline tMSeries::tAI_SI_Save& tMSeries::tAI_SI_Save::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
02012 {
02013    if (s && s->isFatal()) return *this;
02014    _softCopy = fieldValue;
02015    return *this;
02016 }
02017 
02018 inline u32 tMSeries::tAI_SI_Save::getRegister(nMDBG::tStatus2*) const
02019 {
02020    return _softCopy;
02021 }
02022 
02023 inline void tMSeries::tAI_SI_Save::refresh(nMDBG::tStatus2* s)
02024 {
02025    _softCopy = tIOStrategy::read(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), s);
02026 }
02027 
02028 inline u32 tMSeries::tAI_SI_Save::readRegister(nMDBG::tStatus2* s) 
02029 {
02030    refresh(s);
02031    return _softCopy;
02032 }
02033 
02034 inline tMSeries::tAI_SI_Save& tMSeries::tAI_SI_Save::set(u32 fieldValue, nMDBG::tStatus2* s)
02035 {
02036    if (s && s->isFatal()) return *this;
02037    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
02038    setRegister(newValue, s);
02039    return *this;
02040 }
02041 
02042 inline u32 tMSeries::tAI_SI_Save::get(nMDBG::tStatus2*) const
02043 {
02044    return (u32)((_softCopy & ~0x0) >> 0x0);
02045 }
02046 
02047 inline u32 tMSeries::tAI_SI_Save::read(nMDBG::tStatus2* s)
02048 {
02049    refresh(s);
02050    return get(s);
02051 }
02052 
02053 inline void tMSeries::tAI_SI_Save::setRegisterMap(tMSeries* pMSeries)
02054 {
02055    _MSeries = pMSeries;
02056 }
02057 
02058 inline tMSeries::tAI_SI2_Load_A::tAI_SI2_Load_A()
02059 {
02060    _softCopy = 0;
02061 }
02062 
02063 inline tMSeries* tMSeries::tAI_SI2_Load_A::registerMap(void)
02064 {
02065    return _MSeries;
02066 }
02067 
02068 inline void tMSeries::tAI_SI2_Load_A::flushBus(nMDBG::tStatus2* s)
02069 {
02070    _MSeries->flushBus(s);
02071 }
02072 
02073 inline tMSeries::tAI_SI2_Load_A& tMSeries::tAI_SI2_Load_A::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
02074 {
02075    if (s && s->isFatal()) return *this;
02076    _softCopy = fieldValue;
02077    return *this;
02078 }
02079 
02080 inline u32 tMSeries::tAI_SI2_Load_A::getRegister(nMDBG::tStatus2*) const
02081 {
02082    return _softCopy;
02083 }
02084 
02085 inline void tMSeries::tAI_SI2_Load_A::flush(nMDBG::tStatus2* s)
02086 {
02087    if (s && s->isFatal()) return;
02088    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
02089    _softCopy &= (u32)(0xffffffff);
02090 }
02091 
02092 inline void tMSeries::tAI_SI2_Load_A::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
02093 {
02094    if (s && s->isFatal()) return;
02095    _softCopy = fieldValue;
02096    flush(s);
02097 }
02098 
02099 inline u32 tMSeries::tAI_SI2_Load_A::readRegister(nMDBG::tStatus2*) 
02100 {
02101    return _softCopy;
02102 }
02103 
02104 
02105 inline tMSeries::tAI_SI2_Load_A& tMSeries::tAI_SI2_Load_A::set(u32 fieldValue, nMDBG::tStatus2* s)
02106 {
02107    if (s && s->isFatal()) return *this;
02108    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
02109    setRegister(newValue, s);
02110    return *this;
02111 }
02112 
02113 inline u32 tMSeries::tAI_SI2_Load_A::get(nMDBG::tStatus2*) const
02114 {
02115    return (u32)((_softCopy & ~0x0) >> 0x0);
02116 }
02117 
02118 inline void tMSeries::tAI_SI2_Load_A::write(u32 fieldValue, nMDBG::tStatus2* s)
02119 {
02120    set(fieldValue, s);
02121    flush(s);
02122 }
02123 inline u32 tMSeries::tAI_SI2_Load_A::read(nMDBG::tStatus2* s)
02124 {
02125    return get(s);
02126 }
02127 
02128 inline void tMSeries::tAI_SI2_Load_A::setRegisterMap(tMSeries* pMSeries)
02129 {
02130    _MSeries = pMSeries;
02131 }
02132 
02133 inline tMSeries::tAI_SI2_Load_B::tAI_SI2_Load_B()
02134 {
02135    _softCopy = 0;
02136 }
02137 
02138 inline tMSeries* tMSeries::tAI_SI2_Load_B::registerMap(void)
02139 {
02140    return _MSeries;
02141 }
02142 
02143 inline void tMSeries::tAI_SI2_Load_B::flushBus(nMDBG::tStatus2* s)
02144 {
02145    _MSeries->flushBus(s);
02146 }
02147 
02148 inline tMSeries::tAI_SI2_Load_B& tMSeries::tAI_SI2_Load_B::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
02149 {
02150    if (s && s->isFatal()) return *this;
02151    _softCopy = fieldValue;
02152    return *this;
02153 }
02154 
02155 inline u32 tMSeries::tAI_SI2_Load_B::getRegister(nMDBG::tStatus2*) const
02156 {
02157    return _softCopy;
02158 }
02159 
02160 inline void tMSeries::tAI_SI2_Load_B::flush(nMDBG::tStatus2* s)
02161 {
02162    if (s && s->isFatal()) return;
02163    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
02164    _softCopy &= (u32)(0xffffffff);
02165 }
02166 
02167 inline void tMSeries::tAI_SI2_Load_B::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
02168 {
02169    if (s && s->isFatal()) return;
02170    _softCopy = fieldValue;
02171    flush(s);
02172 }
02173 
02174 inline u32 tMSeries::tAI_SI2_Load_B::readRegister(nMDBG::tStatus2*) 
02175 {
02176    return _softCopy;
02177 }
02178 
02179 
02180 inline tMSeries::tAI_SI2_Load_B& tMSeries::tAI_SI2_Load_B::set(u32 fieldValue, nMDBG::tStatus2* s)
02181 {
02182    if (s && s->isFatal()) return *this;
02183    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
02184    setRegister(newValue, s);
02185    return *this;
02186 }
02187 
02188 inline u32 tMSeries::tAI_SI2_Load_B::get(nMDBG::tStatus2*) const
02189 {
02190    return (u32)((_softCopy & ~0x0) >> 0x0);
02191 }
02192 
02193 inline void tMSeries::tAI_SI2_Load_B::write(u32 fieldValue, nMDBG::tStatus2* s)
02194 {
02195    set(fieldValue, s);
02196    flush(s);
02197 }
02198 inline u32 tMSeries::tAI_SI2_Load_B::read(nMDBG::tStatus2* s)
02199 {
02200    return get(s);
02201 }
02202 
02203 inline void tMSeries::tAI_SI2_Load_B::setRegisterMap(tMSeries* pMSeries)
02204 {
02205    _MSeries = pMSeries;
02206 }
02207 
02208 inline tMSeries::tAI_START_STOP_Select::tAI_START_STOP_Select()
02209 {
02210    _softCopy = 0;
02211 }
02212 
02213 inline tMSeries* tMSeries::tAI_START_STOP_Select::registerMap(void)
02214 {
02215    return _MSeries;
02216 }
02217 
02218 inline void tMSeries::tAI_START_STOP_Select::flushBus(nMDBG::tStatus2* s)
02219 {
02220    _MSeries->flushBus(s);
02221 }
02222 
02223 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
02224 {
02225    if (s && s->isFatal()) return *this;
02226    _softCopy = fieldValue;
02227    return *this;
02228 }
02229 
02230 inline u16 tMSeries::tAI_START_STOP_Select::getRegister(nMDBG::tStatus2*) const
02231 {
02232    return _softCopy;
02233 }
02234 
02235 inline void tMSeries::tAI_START_STOP_Select::flush(nMDBG::tStatus2* s)
02236 {
02237    if (s && s->isFatal()) return;
02238    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
02239    _softCopy &= (u16)(0xffffffff);
02240 }
02241 
02242 inline void tMSeries::tAI_START_STOP_Select::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
02243 {
02244    if (s && s->isFatal()) return;
02245    _softCopy = fieldValue;
02246    flush(s);
02247 }
02248 
02249 inline u16 tMSeries::tAI_START_STOP_Select::readRegister(nMDBG::tStatus2*) 
02250 {
02251    return _softCopy;
02252 }
02253 
02254 
02255 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_START_Select(tAI_START_Select fieldValue, nMDBG::tStatus2* s)
02256 {
02257    if (s && s->isFatal()) return *this;
02258    u16 newValue;   newValue = ((u16)(_softCopy & 0xffe0)) | (((u16)fieldValue << 0x0) & ~0xffe0);
02259    setRegister(newValue, s);
02260    return *this;
02261 }
02262 
02263 inline tMSeries::tAI_START_STOP_Select::tAI_START_Select tMSeries::tAI_START_STOP_Select::getAI_START_Select(nMDBG::tStatus2*) const
02264 {
02265    return (tAI_START_Select)((_softCopy & ~0xffe0) >> 0x0);
02266 }
02267 
02268 inline void tMSeries::tAI_START_STOP_Select::writeAI_START_Select(tAI_START_Select fieldValue, nMDBG::tStatus2* s)
02269 {
02270    setAI_START_Select(fieldValue, s);
02271    flush(s);
02272 }
02273 inline tMSeries::tAI_START_STOP_Select::tAI_START_Select tMSeries::tAI_START_STOP_Select::readAI_START_Select(nMDBG::tStatus2* s)
02274 {
02275    return getAI_START_Select(s);
02276 }
02277 
02278 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_START_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
02279 {
02280    if (s && s->isFatal()) return *this;
02281    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
02282    setRegister(newValue, s);
02283    return *this;
02284 }
02285 
02286 inline tBoolean tMSeries::tAI_START_STOP_Select::getAI_START_Edge(nMDBG::tStatus2*) const
02287 {
02288    return (tBoolean)((_softCopy & ~0xffdf) >> 0x5);
02289 }
02290 
02291 inline void tMSeries::tAI_START_STOP_Select::writeAI_START_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
02292 {
02293    setAI_START_Edge(fieldValue, s);
02294    flush(s);
02295 }
02296 inline tBoolean tMSeries::tAI_START_STOP_Select::readAI_START_Edge(nMDBG::tStatus2* s)
02297 {
02298    return getAI_START_Edge(s);
02299 }
02300 
02301 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_START_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
02302 {
02303    if (s && s->isFatal()) return *this;
02304    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
02305    setRegister(newValue, s);
02306    return *this;
02307 }
02308 
02309 inline tBoolean tMSeries::tAI_START_STOP_Select::getAI_START_Sync(nMDBG::tStatus2*) const
02310 {
02311    return (tBoolean)((_softCopy & ~0xffbf) >> 0x6);
02312 }
02313 
02314 inline void tMSeries::tAI_START_STOP_Select::writeAI_START_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
02315 {
02316    setAI_START_Sync(fieldValue, s);
02317    flush(s);
02318 }
02319 inline tBoolean tMSeries::tAI_START_STOP_Select::readAI_START_Sync(nMDBG::tStatus2* s)
02320 {
02321    return getAI_START_Sync(s);
02322 }
02323 
02324 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_STOP_Select(tAI_STOP_Select fieldValue, nMDBG::tStatus2* s)
02325 {
02326    if (s && s->isFatal()) return *this;
02327    u16 newValue;   newValue = ((u16)(_softCopy & 0xf07f)) | (((u16)fieldValue << 0x7) & ~0xf07f);
02328    setRegister(newValue, s);
02329    return *this;
02330 }
02331 
02332 inline tMSeries::tAI_START_STOP_Select::tAI_STOP_Select tMSeries::tAI_START_STOP_Select::getAI_STOP_Select(nMDBG::tStatus2*) const
02333 {
02334    return (tAI_STOP_Select)((_softCopy & ~0xf07f) >> 0x7);
02335 }
02336 
02337 inline void tMSeries::tAI_START_STOP_Select::writeAI_STOP_Select(tAI_STOP_Select fieldValue, nMDBG::tStatus2* s)
02338 {
02339    setAI_STOP_Select(fieldValue, s);
02340    flush(s);
02341 }
02342 inline tMSeries::tAI_START_STOP_Select::tAI_STOP_Select tMSeries::tAI_START_STOP_Select::readAI_STOP_Select(nMDBG::tStatus2* s)
02343 {
02344    return getAI_STOP_Select(s);
02345 }
02346 
02347 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_STOP_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
02348 {
02349    if (s && s->isFatal()) return *this;
02350    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
02351    setRegister(newValue, s);
02352    return *this;
02353 }
02354 
02355 inline tBoolean tMSeries::tAI_START_STOP_Select::getAI_STOP_Edge(nMDBG::tStatus2*) const
02356 {
02357    return (tBoolean)((_softCopy & ~0xefff) >> 0xc);
02358 }
02359 
02360 inline void tMSeries::tAI_START_STOP_Select::writeAI_STOP_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
02361 {
02362    setAI_STOP_Edge(fieldValue, s);
02363    flush(s);
02364 }
02365 inline tBoolean tMSeries::tAI_START_STOP_Select::readAI_STOP_Edge(nMDBG::tStatus2* s)
02366 {
02367    return getAI_STOP_Edge(s);
02368 }
02369 
02370 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_STOP_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
02371 {
02372    if (s && s->isFatal()) return *this;
02373    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
02374    setRegister(newValue, s);
02375    return *this;
02376 }
02377 
02378 inline tBoolean tMSeries::tAI_START_STOP_Select::getAI_STOP_Sync(nMDBG::tStatus2*) const
02379 {
02380    return (tBoolean)((_softCopy & ~0xdfff) >> 0xd);
02381 }
02382 
02383 inline void tMSeries::tAI_START_STOP_Select::writeAI_STOP_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
02384 {
02385    setAI_STOP_Sync(fieldValue, s);
02386    flush(s);
02387 }
02388 inline tBoolean tMSeries::tAI_START_STOP_Select::readAI_STOP_Sync(nMDBG::tStatus2* s)
02389 {
02390    return getAI_STOP_Sync(s);
02391 }
02392 
02393 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_STOP_Polarity(tAI_STOP_Polarity fieldValue, nMDBG::tStatus2* s)
02394 {
02395    if (s && s->isFatal()) return *this;
02396    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
02397    setRegister(newValue, s);
02398    return *this;
02399 }
02400 
02401 inline tMSeries::tAI_START_STOP_Select::tAI_STOP_Polarity tMSeries::tAI_START_STOP_Select::getAI_STOP_Polarity(nMDBG::tStatus2*) const
02402 {
02403    return (tAI_STOP_Polarity)((_softCopy & ~0xbfff) >> 0xe);
02404 }
02405 
02406 inline void tMSeries::tAI_START_STOP_Select::writeAI_STOP_Polarity(tAI_STOP_Polarity fieldValue, nMDBG::tStatus2* s)
02407 {
02408    setAI_STOP_Polarity(fieldValue, s);
02409    flush(s);
02410 }
02411 inline tMSeries::tAI_START_STOP_Select::tAI_STOP_Polarity tMSeries::tAI_START_STOP_Select::readAI_STOP_Polarity(nMDBG::tStatus2* s)
02412 {
02413    return getAI_STOP_Polarity(s);
02414 }
02415 
02416 inline tMSeries::tAI_START_STOP_Select& tMSeries::tAI_START_STOP_Select::setAI_START_Polarity(tAI_START_Polarity fieldValue, nMDBG::tStatus2* s)
02417 {
02418    if (s && s->isFatal()) return *this;
02419    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
02420    setRegister(newValue, s);
02421    return *this;
02422 }
02423 
02424 inline tMSeries::tAI_START_STOP_Select::tAI_START_Polarity tMSeries::tAI_START_STOP_Select::getAI_START_Polarity(nMDBG::tStatus2*) const
02425 {
02426    return (tAI_START_Polarity)((_softCopy & ~0x7fff) >> 0xf);
02427 }
02428 
02429 inline void tMSeries::tAI_START_STOP_Select::writeAI_START_Polarity(tAI_START_Polarity fieldValue, nMDBG::tStatus2* s)
02430 {
02431    setAI_START_Polarity(fieldValue, s);
02432    flush(s);
02433 }
02434 inline tMSeries::tAI_START_STOP_Select::tAI_START_Polarity tMSeries::tAI_START_STOP_Select::readAI_START_Polarity(nMDBG::tStatus2* s)
02435 {
02436    return getAI_START_Polarity(s);
02437 }
02438 
02439 inline void tMSeries::tAI_START_STOP_Select::setRegisterMap(tMSeries* pMSeries)
02440 {
02441    _MSeries = pMSeries;
02442 }
02443 
02444 inline tMSeries::tAI_Status_1::tAI_Status_1()
02445 {
02446    _softCopy = 0;
02447 }
02448 
02449 inline tMSeries* tMSeries::tAI_Status_1::registerMap(void)
02450 {
02451    return _MSeries;
02452 }
02453 
02454 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
02455 {
02456    if (s && s->isFatal()) return *this;
02457    _softCopy = fieldValue;
02458    return *this;
02459 }
02460 
02461 inline u16 tMSeries::tAI_Status_1::getRegister(nMDBG::tStatus2*) const
02462 {
02463    return _softCopy;
02464 }
02465 
02466 inline void tMSeries::tAI_Status_1::refresh(nMDBG::tStatus2* s)
02467 {
02468    _softCopy = tIOStrategy::read(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), s);
02469 }
02470 
02471 inline u16 tMSeries::tAI_Status_1::readRegister(nMDBG::tStatus2* s) 
02472 {
02473    refresh(s);
02474    return _softCopy;
02475 }
02476 
02477 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setPass_Thru_0_Interrupt_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02478 {
02479    if (s && s->isFatal()) return *this;
02480    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
02481    setRegister(newValue, s);
02482    return *this;
02483 }
02484 
02485 inline tBoolean tMSeries::tAI_Status_1::getPass_Thru_0_Interrupt_St(nMDBG::tStatus2*) const
02486 {
02487    return (tBoolean)((_softCopy & ~0xfffe) >> 0x0);
02488 }
02489 
02490 inline tBoolean tMSeries::tAI_Status_1::readPass_Thru_0_Interrupt_St(nMDBG::tStatus2* s)
02491 {
02492    refresh(s);
02493    return getPass_Thru_0_Interrupt_St(s);
02494 }
02495 
02496 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_FIFO_Request_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02497 {
02498    if (s && s->isFatal()) return *this;
02499    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffd)) | (((u16)fieldValue << 0x1) & ~0xfffd);
02500    setRegister(newValue, s);
02501    return *this;
02502 }
02503 
02504 inline tBoolean tMSeries::tAI_Status_1::getAI_FIFO_Request_St(nMDBG::tStatus2*) const
02505 {
02506    return (tBoolean)((_softCopy & ~0xfffd) >> 0x1);
02507 }
02508 
02509 inline tBoolean tMSeries::tAI_Status_1::readAI_FIFO_Request_St(nMDBG::tStatus2* s)
02510 {
02511    refresh(s);
02512    return getAI_FIFO_Request_St(s);
02513 }
02514 
02515 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setG0_Gate_Interrupt_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02516 {
02517    if (s && s->isFatal()) return *this;
02518    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
02519    setRegister(newValue, s);
02520    return *this;
02521 }
02522 
02523 inline tBoolean tMSeries::tAI_Status_1::getG0_Gate_Interrupt_St(nMDBG::tStatus2*) const
02524 {
02525    return (tBoolean)((_softCopy & ~0xfffb) >> 0x2);
02526 }
02527 
02528 inline tBoolean tMSeries::tAI_Status_1::readG0_Gate_Interrupt_St(nMDBG::tStatus2* s)
02529 {
02530    refresh(s);
02531    return getG0_Gate_Interrupt_St(s);
02532 }
02533 
02534 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setG0_TC_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02535 {
02536    if (s && s->isFatal()) return *this;
02537    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
02538    setRegister(newValue, s);
02539    return *this;
02540 }
02541 
02542 inline tBoolean tMSeries::tAI_Status_1::getG0_TC_St(nMDBG::tStatus2*) const
02543 {
02544    return (tBoolean)((_softCopy & ~0xfff7) >> 0x3);
02545 }
02546 
02547 inline tBoolean tMSeries::tAI_Status_1::readG0_TC_St(nMDBG::tStatus2* s)
02548 {
02549    refresh(s);
02550    return getG0_TC_St(s);
02551 }
02552 
02553 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_STOP_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02554 {
02555    if (s && s->isFatal()) return *this;
02556    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
02557    setRegister(newValue, s);
02558    return *this;
02559 }
02560 
02561 inline tBoolean tMSeries::tAI_Status_1::getAI_STOP_St(nMDBG::tStatus2*) const
02562 {
02563    return (tBoolean)((_softCopy & ~0xffef) >> 0x4);
02564 }
02565 
02566 inline tBoolean tMSeries::tAI_Status_1::readAI_STOP_St(nMDBG::tStatus2* s)
02567 {
02568    refresh(s);
02569    return getAI_STOP_St(s);
02570 }
02571 
02572 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_START_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02573 {
02574    if (s && s->isFatal()) return *this;
02575    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
02576    setRegister(newValue, s);
02577    return *this;
02578 }
02579 
02580 inline tBoolean tMSeries::tAI_Status_1::getAI_START_St(nMDBG::tStatus2*) const
02581 {
02582    return (tBoolean)((_softCopy & ~0xffdf) >> 0x5);
02583 }
02584 
02585 inline tBoolean tMSeries::tAI_Status_1::readAI_START_St(nMDBG::tStatus2* s)
02586 {
02587    refresh(s);
02588    return getAI_START_St(s);
02589 }
02590 
02591 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_SC_TC_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02592 {
02593    if (s && s->isFatal()) return *this;
02594    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
02595    setRegister(newValue, s);
02596    return *this;
02597 }
02598 
02599 inline tBoolean tMSeries::tAI_Status_1::getAI_SC_TC_St(nMDBG::tStatus2*) const
02600 {
02601    return (tBoolean)((_softCopy & ~0xffbf) >> 0x6);
02602 }
02603 
02604 inline tBoolean tMSeries::tAI_Status_1::readAI_SC_TC_St(nMDBG::tStatus2* s)
02605 {
02606    refresh(s);
02607    return getAI_SC_TC_St(s);
02608 }
02609 
02610 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_START1_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02611 {
02612    if (s && s->isFatal()) return *this;
02613    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
02614    setRegister(newValue, s);
02615    return *this;
02616 }
02617 
02618 inline tBoolean tMSeries::tAI_Status_1::getAI_START1_St(nMDBG::tStatus2*) const
02619 {
02620    return (tBoolean)((_softCopy & ~0xff7f) >> 0x7);
02621 }
02622 
02623 inline tBoolean tMSeries::tAI_Status_1::readAI_START1_St(nMDBG::tStatus2* s)
02624 {
02625    refresh(s);
02626    return getAI_START1_St(s);
02627 }
02628 
02629 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_START2_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02630 {
02631    if (s && s->isFatal()) return *this;
02632    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
02633    setRegister(newValue, s);
02634    return *this;
02635 }
02636 
02637 inline tBoolean tMSeries::tAI_Status_1::getAI_START2_St(nMDBG::tStatus2*) const
02638 {
02639    return (tBoolean)((_softCopy & ~0xfeff) >> 0x8);
02640 }
02641 
02642 inline tBoolean tMSeries::tAI_Status_1::readAI_START2_St(nMDBG::tStatus2* s)
02643 {
02644    refresh(s);
02645    return getAI_START2_St(s);
02646 }
02647 
02648 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_SC_TC_Error_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02649 {
02650    if (s && s->isFatal()) return *this;
02651    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
02652    setRegister(newValue, s);
02653    return *this;
02654 }
02655 
02656 inline tBoolean tMSeries::tAI_Status_1::getAI_SC_TC_Error_St(nMDBG::tStatus2*) const
02657 {
02658    return (tBoolean)((_softCopy & ~0xfdff) >> 0x9);
02659 }
02660 
02661 inline tBoolean tMSeries::tAI_Status_1::readAI_SC_TC_Error_St(nMDBG::tStatus2* s)
02662 {
02663    refresh(s);
02664    return getAI_SC_TC_Error_St(s);
02665 }
02666 
02667 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_Overflow_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02668 {
02669    if (s && s->isFatal()) return *this;
02670    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
02671    setRegister(newValue, s);
02672    return *this;
02673 }
02674 
02675 inline tBoolean tMSeries::tAI_Status_1::getAI_Overflow_St(nMDBG::tStatus2*) const
02676 {
02677    return (tBoolean)((_softCopy & ~0xfbff) >> 0xa);
02678 }
02679 
02680 inline tBoolean tMSeries::tAI_Status_1::readAI_Overflow_St(nMDBG::tStatus2* s)
02681 {
02682    refresh(s);
02683    return getAI_Overflow_St(s);
02684 }
02685 
02686 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_Overrun_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02687 {
02688    if (s && s->isFatal()) return *this;
02689    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
02690    setRegister(newValue, s);
02691    return *this;
02692 }
02693 
02694 inline tBoolean tMSeries::tAI_Status_1::getAI_Overrun_St(nMDBG::tStatus2*) const
02695 {
02696    return (tBoolean)((_softCopy & ~0xf7ff) >> 0xb);
02697 }
02698 
02699 inline tBoolean tMSeries::tAI_Status_1::readAI_Overrun_St(nMDBG::tStatus2* s)
02700 {
02701    refresh(s);
02702    return getAI_Overrun_St(s);
02703 }
02704 
02705 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_FIFO_Empty_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02706 {
02707    if (s && s->isFatal()) return *this;
02708    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
02709    setRegister(newValue, s);
02710    return *this;
02711 }
02712 
02713 inline tBoolean tMSeries::tAI_Status_1::getAI_FIFO_Empty_St(nMDBG::tStatus2*) const
02714 {
02715    return (tBoolean)((_softCopy & ~0xefff) >> 0xc);
02716 }
02717 
02718 inline tBoolean tMSeries::tAI_Status_1::readAI_FIFO_Empty_St(nMDBG::tStatus2* s)
02719 {
02720    refresh(s);
02721    return getAI_FIFO_Empty_St(s);
02722 }
02723 
02724 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_FIFO_Half_Full_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02725 {
02726    if (s && s->isFatal()) return *this;
02727    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
02728    setRegister(newValue, s);
02729    return *this;
02730 }
02731 
02732 inline tBoolean tMSeries::tAI_Status_1::getAI_FIFO_Half_Full_St(nMDBG::tStatus2*) const
02733 {
02734    return (tBoolean)((_softCopy & ~0xdfff) >> 0xd);
02735 }
02736 
02737 inline tBoolean tMSeries::tAI_Status_1::readAI_FIFO_Half_Full_St(nMDBG::tStatus2* s)
02738 {
02739    refresh(s);
02740    return getAI_FIFO_Half_Full_St(s);
02741 }
02742 
02743 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setAI_FIFO_Full_St(tBoolean fieldValue, nMDBG::tStatus2* s)
02744 {
02745    if (s && s->isFatal()) return *this;
02746    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
02747    setRegister(newValue, s);
02748    return *this;
02749 }
02750 
02751 inline tBoolean tMSeries::tAI_Status_1::getAI_FIFO_Full_St(nMDBG::tStatus2*) const
02752 {
02753    return (tBoolean)((_softCopy & ~0xbfff) >> 0xe);
02754 }
02755 
02756 inline tBoolean tMSeries::tAI_Status_1::readAI_FIFO_Full_St(nMDBG::tStatus2* s)
02757 {
02758    refresh(s);
02759    return getAI_FIFO_Full_St(s);
02760 }
02761 
02762 inline tMSeries::tAI_Status_1& tMSeries::tAI_Status_1::setInterrupt_Group_A_Status(tBoolean fieldValue, nMDBG::tStatus2* s)
02763 {
02764    if (s && s->isFatal()) return *this;
02765    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
02766    setRegister(newValue, s);
02767    return *this;
02768 }
02769 
02770 inline tBoolean tMSeries::tAI_Status_1::getInterrupt_Group_A_Status(nMDBG::tStatus2*) const
02771 {
02772    return (tBoolean)((_softCopy & ~0x7fff) >> 0xf);
02773 }
02774 
02775 inline tBoolean tMSeries::tAI_Status_1::readInterrupt_Group_A_Status(nMDBG::tStatus2* s)
02776 {
02777    refresh(s);
02778    return getInterrupt_Group_A_Status(s);
02779 }
02780 
02781 inline void tMSeries::tAI_Status_1::setRegisterMap(tMSeries* pMSeries)
02782 {
02783    _MSeries = pMSeries;
02784 }
02785 
02786 inline tMSeries::tAnalog_Trigger_Etc::tAnalog_Trigger_Etc()
02787 {
02788    _softCopy = 0;
02789 }
02790 
02791 inline tMSeries* tMSeries::tAnalog_Trigger_Etc::registerMap(void)
02792 {
02793    return _MSeries;
02794 }
02795 
02796 inline void tMSeries::tAnalog_Trigger_Etc::flushBus(nMDBG::tStatus2* s)
02797 {
02798    _MSeries->flushBus(s);
02799 }
02800 
02801 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
02802 {
02803    if (s && s->isFatal()) return *this;
02804    _softCopy = fieldValue;
02805    return *this;
02806 }
02807 
02808 inline u16 tMSeries::tAnalog_Trigger_Etc::getRegister(nMDBG::tStatus2*) const
02809 {
02810    return _softCopy;
02811 }
02812 
02813 inline void tMSeries::tAnalog_Trigger_Etc::flush(nMDBG::tStatus2* s)
02814 {
02815    if (s && s->isFatal()) return;
02816    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
02817    _softCopy &= (u16)(0xffffffdf);
02818 }
02819 
02820 inline void tMSeries::tAnalog_Trigger_Etc::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
02821 {
02822    if (s && s->isFatal()) return;
02823    _softCopy = fieldValue;
02824    flush(s);
02825 }
02826 
02827 inline u16 tMSeries::tAnalog_Trigger_Etc::readRegister(nMDBG::tStatus2*) 
02828 {
02829    return _softCopy;
02830 }
02831 
02832 
02833 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setAnalog_Trigger_Mode(tAnalog_Trigger_Mode fieldValue, nMDBG::tStatus2* s)
02834 {
02835    if (s && s->isFatal()) return *this;
02836    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff8)) | (((u16)fieldValue << 0x0) & ~0xfff8);
02837    setRegister(newValue, s);
02838    return *this;
02839 }
02840 
02841 inline tMSeries::tAnalog_Trigger_Etc::tAnalog_Trigger_Mode tMSeries::tAnalog_Trigger_Etc::getAnalog_Trigger_Mode(nMDBG::tStatus2*) const
02842 {
02843    return (tAnalog_Trigger_Mode)((_softCopy & ~0xfff8) >> 0x0);
02844 }
02845 
02846 inline void tMSeries::tAnalog_Trigger_Etc::writeAnalog_Trigger_Mode(tAnalog_Trigger_Mode fieldValue, nMDBG::tStatus2* s)
02847 {
02848    setAnalog_Trigger_Mode(fieldValue, s);
02849    flush(s);
02850 }
02851 inline tMSeries::tAnalog_Trigger_Etc::tAnalog_Trigger_Mode tMSeries::tAnalog_Trigger_Etc::readAnalog_Trigger_Mode(nMDBG::tStatus2* s)
02852 {
02853    return getAnalog_Trigger_Mode(s);
02854 }
02855 
02856 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setAnalog_Trigger_Enable(tAnalog_Trigger_Enable fieldValue, nMDBG::tStatus2* s)
02857 {
02858    if (s && s->isFatal()) return *this;
02859    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
02860    setRegister(newValue, s);
02861    return *this;
02862 }
02863 
02864 inline tMSeries::tAnalog_Trigger_Etc::tAnalog_Trigger_Enable tMSeries::tAnalog_Trigger_Etc::getAnalog_Trigger_Enable(nMDBG::tStatus2*) const
02865 {
02866    return (tAnalog_Trigger_Enable)((_softCopy & ~0xfff7) >> 0x3);
02867 }
02868 
02869 inline void tMSeries::tAnalog_Trigger_Etc::writeAnalog_Trigger_Enable(tAnalog_Trigger_Enable fieldValue, nMDBG::tStatus2* s)
02870 {
02871    setAnalog_Trigger_Enable(fieldValue, s);
02872    flush(s);
02873 }
02874 inline tMSeries::tAnalog_Trigger_Etc::tAnalog_Trigger_Enable tMSeries::tAnalog_Trigger_Etc::readAnalog_Trigger_Enable(nMDBG::tStatus2* s)
02875 {
02876    return getAnalog_Trigger_Enable(s);
02877 }
02878 
02879 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setAnalog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* s)
02880 {
02881    if (s && s->isFatal()) return *this;
02882    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
02883    setRegister(newValue, s);
02884    return *this;
02885 }
02886 
02887 inline u16 tMSeries::tAnalog_Trigger_Etc::getAnalog_Trigger_Reset(nMDBG::tStatus2*) const
02888 {
02889    return (u16)((_softCopy & ~0xffdf) >> 0x5);
02890 }
02891 
02892 inline void tMSeries::tAnalog_Trigger_Etc::writeAnalog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* s)
02893 {
02894    setAnalog_Trigger_Reset(fieldValue, s);
02895    flush(s);
02896 }
02897 inline u16 tMSeries::tAnalog_Trigger_Etc::readAnalog_Trigger_Reset(nMDBG::tStatus2* s)
02898 {
02899    return getAnalog_Trigger_Reset(s);
02900 }
02901 
02902 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setMisc_Counter_TCs_Output_Enable(u16 fieldValue, nMDBG::tStatus2* s)
02903 {
02904    if (s && s->isFatal()) return *this;
02905    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
02906    setRegister(newValue, s);
02907    return *this;
02908 }
02909 
02910 inline u16 tMSeries::tAnalog_Trigger_Etc::getMisc_Counter_TCs_Output_Enable(nMDBG::tStatus2*) const
02911 {
02912    return (u16)((_softCopy & ~0xffbf) >> 0x6);
02913 }
02914 
02915 inline void tMSeries::tAnalog_Trigger_Etc::writeMisc_Counter_TCs_Output_Enable(u16 fieldValue, nMDBG::tStatus2* s)
02916 {
02917    setMisc_Counter_TCs_Output_Enable(fieldValue, s);
02918    flush(s);
02919 }
02920 inline u16 tMSeries::tAnalog_Trigger_Etc::readMisc_Counter_TCs_Output_Enable(nMDBG::tStatus2* s)
02921 {
02922    return getMisc_Counter_TCs_Output_Enable(s);
02923 }
02924 
02925 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setGPFO_1_Output_Select(tGPFO_1_Output_Select fieldValue, nMDBG::tStatus2* s)
02926 {
02927    if (s && s->isFatal()) return *this;
02928    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
02929    setRegister(newValue, s);
02930    return *this;
02931 }
02932 
02933 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_1_Output_Select tMSeries::tAnalog_Trigger_Etc::getGPFO_1_Output_Select(nMDBG::tStatus2*) const
02934 {
02935    return (tGPFO_1_Output_Select)((_softCopy & ~0xff7f) >> 0x7);
02936 }
02937 
02938 inline void tMSeries::tAnalog_Trigger_Etc::writeGPFO_1_Output_Select(tGPFO_1_Output_Select fieldValue, nMDBG::tStatus2* s)
02939 {
02940    setGPFO_1_Output_Select(fieldValue, s);
02941    flush(s);
02942 }
02943 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_1_Output_Select tMSeries::tAnalog_Trigger_Etc::readGPFO_1_Output_Select(nMDBG::tStatus2* s)
02944 {
02945    return getGPFO_1_Output_Select(s);
02946 }
02947 
02948 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setGPFO_0_Output_Select(tGPFO_0_Output_Select fieldValue, nMDBG::tStatus2* s)
02949 {
02950    if (s && s->isFatal()) return *this;
02951    u16 newValue;   newValue = ((u16)(_softCopy & 0xc7ff)) | (((u16)fieldValue << 0xb) & ~0xc7ff);
02952    setRegister(newValue, s);
02953    return *this;
02954 }
02955 
02956 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_0_Output_Select tMSeries::tAnalog_Trigger_Etc::getGPFO_0_Output_Select(nMDBG::tStatus2*) const
02957 {
02958    return (tGPFO_0_Output_Select)((_softCopy & ~0xc7ff) >> 0xb);
02959 }
02960 
02961 inline void tMSeries::tAnalog_Trigger_Etc::writeGPFO_0_Output_Select(tGPFO_0_Output_Select fieldValue, nMDBG::tStatus2* s)
02962 {
02963    setGPFO_0_Output_Select(fieldValue, s);
02964    flush(s);
02965 }
02966 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_0_Output_Select tMSeries::tAnalog_Trigger_Etc::readGPFO_0_Output_Select(nMDBG::tStatus2* s)
02967 {
02968    return getGPFO_0_Output_Select(s);
02969 }
02970 
02971 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setGPFO_0_Output_Enable(tGPFO_0_Output_Enable fieldValue, nMDBG::tStatus2* s)
02972 {
02973    if (s && s->isFatal()) return *this;
02974    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
02975    setRegister(newValue, s);
02976    return *this;
02977 }
02978 
02979 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_0_Output_Enable tMSeries::tAnalog_Trigger_Etc::getGPFO_0_Output_Enable(nMDBG::tStatus2*) const
02980 {
02981    return (tGPFO_0_Output_Enable)((_softCopy & ~0xbfff) >> 0xe);
02982 }
02983 
02984 inline void tMSeries::tAnalog_Trigger_Etc::writeGPFO_0_Output_Enable(tGPFO_0_Output_Enable fieldValue, nMDBG::tStatus2* s)
02985 {
02986    setGPFO_0_Output_Enable(fieldValue, s);
02987    flush(s);
02988 }
02989 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_0_Output_Enable tMSeries::tAnalog_Trigger_Etc::readGPFO_0_Output_Enable(nMDBG::tStatus2* s)
02990 {
02991    return getGPFO_0_Output_Enable(s);
02992 }
02993 
02994 inline tMSeries::tAnalog_Trigger_Etc& tMSeries::tAnalog_Trigger_Etc::setGPFO_1_Output_Enable(tGPFO_1_Output_Enable fieldValue, nMDBG::tStatus2* s)
02995 {
02996    if (s && s->isFatal()) return *this;
02997    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
02998    setRegister(newValue, s);
02999    return *this;
03000 }
03001 
03002 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_1_Output_Enable tMSeries::tAnalog_Trigger_Etc::getGPFO_1_Output_Enable(nMDBG::tStatus2*) const
03003 {
03004    return (tGPFO_1_Output_Enable)((_softCopy & ~0x7fff) >> 0xf);
03005 }
03006 
03007 inline void tMSeries::tAnalog_Trigger_Etc::writeGPFO_1_Output_Enable(tGPFO_1_Output_Enable fieldValue, nMDBG::tStatus2* s)
03008 {
03009    setGPFO_1_Output_Enable(fieldValue, s);
03010    flush(s);
03011 }
03012 inline tMSeries::tAnalog_Trigger_Etc::tGPFO_1_Output_Enable tMSeries::tAnalog_Trigger_Etc::readGPFO_1_Output_Enable(nMDBG::tStatus2* s)
03013 {
03014    return getGPFO_1_Output_Enable(s);
03015 }
03016 
03017 inline void tMSeries::tAnalog_Trigger_Etc::setRegisterMap(tMSeries* pMSeries)
03018 {
03019    _MSeries = pMSeries;
03020 }
03021 
03022 inline tMSeries::tAI_Trigger_Select::tAI_Trigger_Select()
03023 {
03024    _softCopy = 0;
03025 }
03026 
03027 inline tMSeries* tMSeries::tAI_Trigger_Select::registerMap(void)
03028 {
03029    return _MSeries;
03030 }
03031 
03032 inline void tMSeries::tAI_Trigger_Select::flushBus(nMDBG::tStatus2* s)
03033 {
03034    _MSeries->flushBus(s);
03035 }
03036 
03037 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
03038 {
03039    if (s && s->isFatal()) return *this;
03040    _softCopy = fieldValue;
03041    return *this;
03042 }
03043 
03044 inline u16 tMSeries::tAI_Trigger_Select::getRegister(nMDBG::tStatus2*) const
03045 {
03046    return _softCopy;
03047 }
03048 
03049 inline void tMSeries::tAI_Trigger_Select::flush(nMDBG::tStatus2* s)
03050 {
03051    if (s && s->isFatal()) return;
03052    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
03053    _softCopy &= (u16)(0xffffffff);
03054 }
03055 
03056 inline void tMSeries::tAI_Trigger_Select::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
03057 {
03058    if (s && s->isFatal()) return;
03059    _softCopy = fieldValue;
03060    flush(s);
03061 }
03062 
03063 inline u16 tMSeries::tAI_Trigger_Select::readRegister(nMDBG::tStatus2*) 
03064 {
03065    return _softCopy;
03066 }
03067 
03068 
03069 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START1_Select(tAI_START1_Select fieldValue, nMDBG::tStatus2* s)
03070 {
03071    if (s && s->isFatal()) return *this;
03072    u16 newValue;   newValue = ((u16)(_softCopy & 0xffe0)) | (((u16)fieldValue << 0x0) & ~0xffe0);
03073    setRegister(newValue, s);
03074    return *this;
03075 }
03076 
03077 inline tMSeries::tAI_Trigger_Select::tAI_START1_Select tMSeries::tAI_Trigger_Select::getAI_START1_Select(nMDBG::tStatus2*) const
03078 {
03079    return (tAI_START1_Select)((_softCopy & ~0xffe0) >> 0x0);
03080 }
03081 
03082 inline void tMSeries::tAI_Trigger_Select::writeAI_START1_Select(tAI_START1_Select fieldValue, nMDBG::tStatus2* s)
03083 {
03084    setAI_START1_Select(fieldValue, s);
03085    flush(s);
03086 }
03087 inline tMSeries::tAI_Trigger_Select::tAI_START1_Select tMSeries::tAI_Trigger_Select::readAI_START1_Select(nMDBG::tStatus2* s)
03088 {
03089    return getAI_START1_Select(s);
03090 }
03091 
03092 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
03093 {
03094    if (s && s->isFatal()) return *this;
03095    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
03096    setRegister(newValue, s);
03097    return *this;
03098 }
03099 
03100 inline tBoolean tMSeries::tAI_Trigger_Select::getAI_START1_Edge(nMDBG::tStatus2*) const
03101 {
03102    return (tBoolean)((_softCopy & ~0xffdf) >> 0x5);
03103 }
03104 
03105 inline void tMSeries::tAI_Trigger_Select::writeAI_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
03106 {
03107    setAI_START1_Edge(fieldValue, s);
03108    flush(s);
03109 }
03110 inline tBoolean tMSeries::tAI_Trigger_Select::readAI_START1_Edge(nMDBG::tStatus2* s)
03111 {
03112    return getAI_START1_Edge(s);
03113 }
03114 
03115 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
03116 {
03117    if (s && s->isFatal()) return *this;
03118    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
03119    setRegister(newValue, s);
03120    return *this;
03121 }
03122 
03123 inline tBoolean tMSeries::tAI_Trigger_Select::getAI_START1_Sync(nMDBG::tStatus2*) const
03124 {
03125    return (tBoolean)((_softCopy & ~0xffbf) >> 0x6);
03126 }
03127 
03128 inline void tMSeries::tAI_Trigger_Select::writeAI_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
03129 {
03130    setAI_START1_Sync(fieldValue, s);
03131    flush(s);
03132 }
03133 inline tBoolean tMSeries::tAI_Trigger_Select::readAI_START1_Sync(nMDBG::tStatus2* s)
03134 {
03135    return getAI_START1_Sync(s);
03136 }
03137 
03138 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START2_Select(tAI_START2_Select fieldValue, nMDBG::tStatus2* s)
03139 {
03140    if (s && s->isFatal()) return *this;
03141    u16 newValue;   newValue = ((u16)(_softCopy & 0xf07f)) | (((u16)fieldValue << 0x7) & ~0xf07f);
03142    setRegister(newValue, s);
03143    return *this;
03144 }
03145 
03146 inline tMSeries::tAI_Trigger_Select::tAI_START2_Select tMSeries::tAI_Trigger_Select::getAI_START2_Select(nMDBG::tStatus2*) const
03147 {
03148    return (tAI_START2_Select)((_softCopy & ~0xf07f) >> 0x7);
03149 }
03150 
03151 inline void tMSeries::tAI_Trigger_Select::writeAI_START2_Select(tAI_START2_Select fieldValue, nMDBG::tStatus2* s)
03152 {
03153    setAI_START2_Select(fieldValue, s);
03154    flush(s);
03155 }
03156 inline tMSeries::tAI_Trigger_Select::tAI_START2_Select tMSeries::tAI_Trigger_Select::readAI_START2_Select(nMDBG::tStatus2* s)
03157 {
03158    return getAI_START2_Select(s);
03159 }
03160 
03161 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START2_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
03162 {
03163    if (s && s->isFatal()) return *this;
03164    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
03165    setRegister(newValue, s);
03166    return *this;
03167 }
03168 
03169 inline tBoolean tMSeries::tAI_Trigger_Select::getAI_START2_Edge(nMDBG::tStatus2*) const
03170 {
03171    return (tBoolean)((_softCopy & ~0xefff) >> 0xc);
03172 }
03173 
03174 inline void tMSeries::tAI_Trigger_Select::writeAI_START2_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
03175 {
03176    setAI_START2_Edge(fieldValue, s);
03177    flush(s);
03178 }
03179 inline tBoolean tMSeries::tAI_Trigger_Select::readAI_START2_Edge(nMDBG::tStatus2* s)
03180 {
03181    return getAI_START2_Edge(s);
03182 }
03183 
03184 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START2_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
03185 {
03186    if (s && s->isFatal()) return *this;
03187    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
03188    setRegister(newValue, s);
03189    return *this;
03190 }
03191 
03192 inline tBoolean tMSeries::tAI_Trigger_Select::getAI_START2_Sync(nMDBG::tStatus2*) const
03193 {
03194    return (tBoolean)((_softCopy & ~0xdfff) >> 0xd);
03195 }
03196 
03197 inline void tMSeries::tAI_Trigger_Select::writeAI_START2_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
03198 {
03199    setAI_START2_Sync(fieldValue, s);
03200    flush(s);
03201 }
03202 inline tBoolean tMSeries::tAI_Trigger_Select::readAI_START2_Sync(nMDBG::tStatus2* s)
03203 {
03204    return getAI_START2_Sync(s);
03205 }
03206 
03207 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START2_Polarity(tAI_START2_Polarity fieldValue, nMDBG::tStatus2* s)
03208 {
03209    if (s && s->isFatal()) return *this;
03210    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
03211    setRegister(newValue, s);
03212    return *this;
03213 }
03214 
03215 inline tMSeries::tAI_Trigger_Select::tAI_START2_Polarity tMSeries::tAI_Trigger_Select::getAI_START2_Polarity(nMDBG::tStatus2*) const
03216 {
03217    return (tAI_START2_Polarity)((_softCopy & ~0xbfff) >> 0xe);
03218 }
03219 
03220 inline void tMSeries::tAI_Trigger_Select::writeAI_START2_Polarity(tAI_START2_Polarity fieldValue, nMDBG::tStatus2* s)
03221 {
03222    setAI_START2_Polarity(fieldValue, s);
03223    flush(s);
03224 }
03225 inline tMSeries::tAI_Trigger_Select::tAI_START2_Polarity tMSeries::tAI_Trigger_Select::readAI_START2_Polarity(nMDBG::tStatus2* s)
03226 {
03227    return getAI_START2_Polarity(s);
03228 }
03229 
03230 inline tMSeries::tAI_Trigger_Select& tMSeries::tAI_Trigger_Select::setAI_START1_Polarity(tAI_START1_Polarity fieldValue, nMDBG::tStatus2* s)
03231 {
03232    if (s && s->isFatal()) return *this;
03233    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
03234    setRegister(newValue, s);
03235    return *this;
03236 }
03237 
03238 inline tMSeries::tAI_Trigger_Select::tAI_START1_Polarity tMSeries::tAI_Trigger_Select::getAI_START1_Polarity(nMDBG::tStatus2*) const
03239 {
03240    return (tAI_START1_Polarity)((_softCopy & ~0x7fff) >> 0xf);
03241 }
03242 
03243 inline void tMSeries::tAI_Trigger_Select::writeAI_START1_Polarity(tAI_START1_Polarity fieldValue, nMDBG::tStatus2* s)
03244 {
03245    setAI_START1_Polarity(fieldValue, s);
03246    flush(s);
03247 }
03248 inline tMSeries::tAI_Trigger_Select::tAI_START1_Polarity tMSeries::tAI_Trigger_Select::readAI_START1_Polarity(nMDBG::tStatus2* s)
03249 {
03250    return getAI_START1_Polarity(s);
03251 }
03252 
03253 inline void tMSeries::tAI_Trigger_Select::setRegisterMap(tMSeries* pMSeries)
03254 {
03255    _MSeries = pMSeries;
03256 }
03257 
03258 inline tMSeries::tAO_BC_Load_A::tAO_BC_Load_A()
03259 {
03260    _softCopy = 0;
03261 }
03262 
03263 inline tMSeries* tMSeries::tAO_BC_Load_A::registerMap(void)
03264 {
03265    return _MSeries;
03266 }
03267 
03268 inline void tMSeries::tAO_BC_Load_A::flushBus(nMDBG::tStatus2* s)
03269 {
03270    _MSeries->flushBus(s);
03271 }
03272 
03273 inline tMSeries::tAO_BC_Load_A& tMSeries::tAO_BC_Load_A::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
03274 {
03275    if (s && s->isFatal()) return *this;
03276    _softCopy = fieldValue;
03277    return *this;
03278 }
03279 
03280 inline u32 tMSeries::tAO_BC_Load_A::getRegister(nMDBG::tStatus2*) const
03281 {
03282    return _softCopy;
03283 }
03284 
03285 inline void tMSeries::tAO_BC_Load_A::flush(nMDBG::tStatus2* s)
03286 {
03287    if (s && s->isFatal()) return;
03288    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
03289    _softCopy &= (u32)(0xffffffff);
03290 }
03291 
03292 inline void tMSeries::tAO_BC_Load_A::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
03293 {
03294    if (s && s->isFatal()) return;
03295    _softCopy = fieldValue;
03296    flush(s);
03297 }
03298 
03299 inline u32 tMSeries::tAO_BC_Load_A::readRegister(nMDBG::tStatus2*) 
03300 {
03301    return _softCopy;
03302 }
03303 
03304 
03305 inline tMSeries::tAO_BC_Load_A& tMSeries::tAO_BC_Load_A::set(u32 fieldValue, nMDBG::tStatus2* s)
03306 {
03307    if (s && s->isFatal()) return *this;
03308    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
03309    setRegister(newValue, s);
03310    return *this;
03311 }
03312 
03313 inline u32 tMSeries::tAO_BC_Load_A::get(nMDBG::tStatus2*) const
03314 {
03315    return (u32)((_softCopy & ~0x0) >> 0x0);
03316 }
03317 
03318 inline void tMSeries::tAO_BC_Load_A::write(u32 fieldValue, nMDBG::tStatus2* s)
03319 {
03320    set(fieldValue, s);
03321    flush(s);
03322 }
03323 inline u32 tMSeries::tAO_BC_Load_A::read(nMDBG::tStatus2* s)
03324 {
03325    return get(s);
03326 }
03327 
03328 inline void tMSeries::tAO_BC_Load_A::setRegisterMap(tMSeries* pMSeries)
03329 {
03330    _MSeries = pMSeries;
03331 }
03332 
03333 inline tMSeries::tAO_BC_Load_B::tAO_BC_Load_B()
03334 {
03335    _softCopy = 0;
03336 }
03337 
03338 inline tMSeries* tMSeries::tAO_BC_Load_B::registerMap(void)
03339 {
03340    return _MSeries;
03341 }
03342 
03343 inline void tMSeries::tAO_BC_Load_B::flushBus(nMDBG::tStatus2* s)
03344 {
03345    _MSeries->flushBus(s);
03346 }
03347 
03348 inline tMSeries::tAO_BC_Load_B& tMSeries::tAO_BC_Load_B::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
03349 {
03350    if (s && s->isFatal()) return *this;
03351    _softCopy = fieldValue;
03352    return *this;
03353 }
03354 
03355 inline u32 tMSeries::tAO_BC_Load_B::getRegister(nMDBG::tStatus2*) const
03356 {
03357    return _softCopy;
03358 }
03359 
03360 inline void tMSeries::tAO_BC_Load_B::flush(nMDBG::tStatus2* s)
03361 {
03362    if (s && s->isFatal()) return;
03363    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
03364    _softCopy &= (u32)(0xffffffff);
03365 }
03366 
03367 inline void tMSeries::tAO_BC_Load_B::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
03368 {
03369    if (s && s->isFatal()) return;
03370    _softCopy = fieldValue;
03371    flush(s);
03372 }
03373 
03374 inline u32 tMSeries::tAO_BC_Load_B::readRegister(nMDBG::tStatus2*) 
03375 {
03376    return _softCopy;
03377 }
03378 
03379 
03380 inline tMSeries::tAO_BC_Load_B& tMSeries::tAO_BC_Load_B::set(u32 fieldValue, nMDBG::tStatus2* s)
03381 {
03382    if (s && s->isFatal()) return *this;
03383    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
03384    setRegister(newValue, s);
03385    return *this;
03386 }
03387 
03388 inline u32 tMSeries::tAO_BC_Load_B::get(nMDBG::tStatus2*) const
03389 {
03390    return (u32)((_softCopy & ~0x0) >> 0x0);
03391 }
03392 
03393 inline void tMSeries::tAO_BC_Load_B::write(u32 fieldValue, nMDBG::tStatus2* s)
03394 {
03395    set(fieldValue, s);
03396    flush(s);
03397 }
03398 inline u32 tMSeries::tAO_BC_Load_B::read(nMDBG::tStatus2* s)
03399 {
03400    return get(s);
03401 }
03402 
03403 inline void tMSeries::tAO_BC_Load_B::setRegisterMap(tMSeries* pMSeries)
03404 {
03405    _MSeries = pMSeries;
03406 }
03407 
03408 inline tMSeries::tAO_BC_Save::tAO_BC_Save()
03409 {
03410    _softCopy = 0;
03411 }
03412 
03413 inline tMSeries* tMSeries::tAO_BC_Save::registerMap(void)
03414 {
03415    return _MSeries;
03416 }
03417 
03418 inline tMSeries::tAO_BC_Save& tMSeries::tAO_BC_Save::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
03419 {
03420    if (s && s->isFatal()) return *this;
03421    _softCopy = fieldValue;
03422    return *this;
03423 }
03424 
03425 inline u32 tMSeries::tAO_BC_Save::getRegister(nMDBG::tStatus2*) const
03426 {
03427    return _softCopy;
03428 }
03429 
03430 inline void tMSeries::tAO_BC_Save::refresh(nMDBG::tStatus2* s)
03431 {
03432    _softCopy = tIOStrategy::read(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), s);
03433 }
03434 
03435 inline u32 tMSeries::tAO_BC_Save::readRegister(nMDBG::tStatus2* s) 
03436 {
03437    refresh(s);
03438    return _softCopy;
03439 }
03440 
03441 inline tMSeries::tAO_BC_Save& tMSeries::tAO_BC_Save::set(u32 fieldValue, nMDBG::tStatus2* s)
03442 {
03443    if (s && s->isFatal()) return *this;
03444    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
03445    setRegister(newValue, s);
03446    return *this;
03447 }
03448 
03449 inline u32 tMSeries::tAO_BC_Save::get(nMDBG::tStatus2*) const
03450 {
03451    return (u32)((_softCopy & ~0x0) >> 0x0);
03452 }
03453 
03454 inline u32 tMSeries::tAO_BC_Save::read(nMDBG::tStatus2* s)
03455 {
03456    refresh(s);
03457    return get(s);
03458 }
03459 
03460 inline void tMSeries::tAO_BC_Save::setRegisterMap(tMSeries* pMSeries)
03461 {
03462    _MSeries = pMSeries;
03463 }
03464 
03465 inline tMSeries::tAO_Command_2::tAO_Command_2()
03466 {
03467    _softCopy = 0;
03468 }
03469 
03470 inline tMSeries* tMSeries::tAO_Command_2::registerMap(void)
03471 {
03472    return _MSeries;
03473 }
03474 
03475 inline void tMSeries::tAO_Command_2::flushBus(nMDBG::tStatus2* s)
03476 {
03477    _MSeries->flushBus(s);
03478 }
03479 
03480 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
03481 {
03482    if (s && s->isFatal()) return *this;
03483    _softCopy = fieldValue;
03484    return *this;
03485 }
03486 
03487 inline u16 tMSeries::tAO_Command_2::getRegister(nMDBG::tStatus2*) const
03488 {
03489    return _softCopy;
03490 }
03491 
03492 inline void tMSeries::tAO_Command_2::flush(nMDBG::tStatus2* s)
03493 {
03494    if (s && s->isFatal()) return;
03495    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
03496    _softCopy &= (u16)(0xffff3c0e);
03497 }
03498 
03499 inline void tMSeries::tAO_Command_2::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
03500 {
03501    if (s && s->isFatal()) return;
03502    _softCopy = fieldValue;
03503    flush(s);
03504 }
03505 
03506 inline u16 tMSeries::tAO_Command_2::readRegister(nMDBG::tStatus2*) 
03507 {
03508    return _softCopy;
03509 }
03510 
03511 
03512 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
03513 {
03514    if (s && s->isFatal()) return *this;
03515    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
03516    setRegister(newValue, s);
03517    return *this;
03518 }
03519 
03520 inline u16 tMSeries::tAO_Command_2::getAO_START1_Pulse(nMDBG::tStatus2*) const
03521 {
03522    return (u16)((_softCopy & ~0xfffe) >> 0x0);
03523 }
03524 
03525 inline void tMSeries::tAO_Command_2::writeAO_START1_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
03526 {
03527    setAO_START1_Pulse(fieldValue, s);
03528    flush(s);
03529 }
03530 inline u16 tMSeries::tAO_Command_2::readAO_START1_Pulse(nMDBG::tStatus2* s)
03531 {
03532    return getAO_START1_Pulse(s);
03533 }
03534 
03535 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_Mute_A(u16 fieldValue, nMDBG::tStatus2* s)
03536 {
03537    if (s && s->isFatal()) return *this;
03538    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
03539    setRegister(newValue, s);
03540    return *this;
03541 }
03542 
03543 inline u16 tMSeries::tAO_Command_2::getAO_Mute_A(nMDBG::tStatus2*) const
03544 {
03545    return (u16)((_softCopy & ~0xfffb) >> 0x2);
03546 }
03547 
03548 inline void tMSeries::tAO_Command_2::writeAO_Mute_A(u16 fieldValue, nMDBG::tStatus2* s)
03549 {
03550    setAO_Mute_A(fieldValue, s);
03551    flush(s);
03552 }
03553 inline u16 tMSeries::tAO_Command_2::readAO_Mute_A(nMDBG::tStatus2* s)
03554 {
03555    return getAO_Mute_A(s);
03556 }
03557 
03558 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_Mute_B(u16 fieldValue, nMDBG::tStatus2* s)
03559 {
03560    if (s && s->isFatal()) return *this;
03561    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
03562    setRegister(newValue, s);
03563    return *this;
03564 }
03565 
03566 inline u16 tMSeries::tAO_Command_2::getAO_Mute_B(nMDBG::tStatus2*) const
03567 {
03568    return (u16)((_softCopy & ~0xfff7) >> 0x3);
03569 }
03570 
03571 inline void tMSeries::tAO_Command_2::writeAO_Mute_B(u16 fieldValue, nMDBG::tStatus2* s)
03572 {
03573    setAO_Mute_B(fieldValue, s);
03574    flush(s);
03575 }
03576 inline u16 tMSeries::tAO_Command_2::readAO_Mute_B(nMDBG::tStatus2* s)
03577 {
03578    return getAO_Mute_B(s);
03579 }
03580 
03581 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_BC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
03582 {
03583    if (s && s->isFatal()) return *this;
03584    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
03585    setRegister(newValue, s);
03586    return *this;
03587 }
03588 
03589 inline u16 tMSeries::tAO_Command_2::getAO_BC_Switch_Load_On_TC(nMDBG::tStatus2*) const
03590 {
03591    return (u16)((_softCopy & ~0xffef) >> 0x4);
03592 }
03593 
03594 inline void tMSeries::tAO_Command_2::writeAO_BC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
03595 {
03596    setAO_BC_Switch_Load_On_TC(fieldValue, s);
03597    flush(s);
03598 }
03599 inline u16 tMSeries::tAO_Command_2::readAO_BC_Switch_Load_On_TC(nMDBG::tStatus2* s)
03600 {
03601    return getAO_BC_Switch_Load_On_TC(s);
03602 }
03603 
03604 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_UC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
03605 {
03606    if (s && s->isFatal()) return *this;
03607    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
03608    setRegister(newValue, s);
03609    return *this;
03610 }
03611 
03612 inline u16 tMSeries::tAO_Command_2::getAO_UC_Switch_Load_On_TC(nMDBG::tStatus2*) const
03613 {
03614    return (u16)((_softCopy & ~0xffdf) >> 0x5);
03615 }
03616 
03617 inline void tMSeries::tAO_Command_2::writeAO_UC_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
03618 {
03619    setAO_UC_Switch_Load_On_TC(fieldValue, s);
03620    flush(s);
03621 }
03622 inline u16 tMSeries::tAO_Command_2::readAO_UC_Switch_Load_On_TC(nMDBG::tStatus2* s)
03623 {
03624    return getAO_UC_Switch_Load_On_TC(s);
03625 }
03626 
03627 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_UC_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03628 {
03629    if (s && s->isFatal()) return *this;
03630    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
03631    setRegister(newValue, s);
03632    return *this;
03633 }
03634 
03635 inline u16 tMSeries::tAO_Command_2::getAO_UC_Switch_Load_On_BC_TC(nMDBG::tStatus2*) const
03636 {
03637    return (u16)((_softCopy & ~0xffbf) >> 0x6);
03638 }
03639 
03640 inline void tMSeries::tAO_Command_2::writeAO_UC_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03641 {
03642    setAO_UC_Switch_Load_On_BC_TC(fieldValue, s);
03643    flush(s);
03644 }
03645 inline u16 tMSeries::tAO_Command_2::readAO_UC_Switch_Load_On_BC_TC(nMDBG::tStatus2* s)
03646 {
03647    return getAO_UC_Switch_Load_On_BC_TC(s);
03648 }
03649 
03650 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_UI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
03651 {
03652    if (s && s->isFatal()) return *this;
03653    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
03654    setRegister(newValue, s);
03655    return *this;
03656 }
03657 
03658 inline u16 tMSeries::tAO_Command_2::getAO_UI_Switch_Load_On_TC(nMDBG::tStatus2*) const
03659 {
03660    return (u16)((_softCopy & ~0xff7f) >> 0x7);
03661 }
03662 
03663 inline void tMSeries::tAO_Command_2::writeAO_UI_Switch_Load_On_TC(u16 fieldValue, nMDBG::tStatus2* s)
03664 {
03665    setAO_UI_Switch_Load_On_TC(fieldValue, s);
03666    flush(s);
03667 }
03668 inline u16 tMSeries::tAO_Command_2::readAO_UI_Switch_Load_On_TC(nMDBG::tStatus2* s)
03669 {
03670    return getAO_UI_Switch_Load_On_TC(s);
03671 }
03672 
03673 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_UI_Switch_Load_On_Stop(u16 fieldValue, nMDBG::tStatus2* s)
03674 {
03675    if (s && s->isFatal()) return *this;
03676    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
03677    setRegister(newValue, s);
03678    return *this;
03679 }
03680 
03681 inline u16 tMSeries::tAO_Command_2::getAO_UI_Switch_Load_On_Stop(nMDBG::tStatus2*) const
03682 {
03683    return (u16)((_softCopy & ~0xfeff) >> 0x8);
03684 }
03685 
03686 inline void tMSeries::tAO_Command_2::writeAO_UI_Switch_Load_On_Stop(u16 fieldValue, nMDBG::tStatus2* s)
03687 {
03688    setAO_UI_Switch_Load_On_Stop(fieldValue, s);
03689    flush(s);
03690 }
03691 inline u16 tMSeries::tAO_Command_2::readAO_UI_Switch_Load_On_Stop(nMDBG::tStatus2* s)
03692 {
03693    return getAO_UI_Switch_Load_On_Stop(s);
03694 }
03695 
03696 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_UI_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03697 {
03698    if (s && s->isFatal()) return *this;
03699    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
03700    setRegister(newValue, s);
03701    return *this;
03702 }
03703 
03704 inline u16 tMSeries::tAO_Command_2::getAO_UI_Switch_Load_On_BC_TC(nMDBG::tStatus2*) const
03705 {
03706    return (u16)((_softCopy & ~0xfdff) >> 0x9);
03707 }
03708 
03709 inline void tMSeries::tAO_Command_2::writeAO_UI_Switch_Load_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03710 {
03711    setAO_UI_Switch_Load_On_BC_TC(fieldValue, s);
03712    flush(s);
03713 }
03714 inline u16 tMSeries::tAO_Command_2::readAO_UI_Switch_Load_On_BC_TC(nMDBG::tStatus2* s)
03715 {
03716    return getAO_UI_Switch_Load_On_BC_TC(s);
03717 }
03718 
03719 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_BC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* s)
03720 {
03721    if (s && s->isFatal()) return *this;
03722    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
03723    setRegister(newValue, s);
03724    return *this;
03725 }
03726 
03727 inline u16 tMSeries::tAO_Command_2::getAO_BC_Save_Trace(nMDBG::tStatus2*) const
03728 {
03729    return (u16)((_softCopy & ~0xfbff) >> 0xa);
03730 }
03731 
03732 inline void tMSeries::tAO_Command_2::writeAO_BC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* s)
03733 {
03734    setAO_BC_Save_Trace(fieldValue, s);
03735    flush(s);
03736 }
03737 inline u16 tMSeries::tAO_Command_2::readAO_BC_Save_Trace(nMDBG::tStatus2* s)
03738 {
03739    return getAO_BC_Save_Trace(s);
03740 }
03741 
03742 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_BC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
03743 {
03744    if (s && s->isFatal()) return *this;
03745    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
03746    setRegister(newValue, s);
03747    return *this;
03748 }
03749 
03750 inline tBoolean tMSeries::tAO_Command_2::getAO_BC_Gate_Enable(nMDBG::tStatus2*) const
03751 {
03752    return (tBoolean)((_softCopy & ~0xf7ff) >> 0xb);
03753 }
03754 
03755 inline void tMSeries::tAO_Command_2::writeAO_BC_Gate_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
03756 {
03757    setAO_BC_Gate_Enable(fieldValue, s);
03758    flush(s);
03759 }
03760 inline tBoolean tMSeries::tAO_Command_2::readAO_BC_Gate_Enable(nMDBG::tStatus2* s)
03761 {
03762    return getAO_BC_Gate_Enable(s);
03763 }
03764 
03765 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_UC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* s)
03766 {
03767    if (s && s->isFatal()) return *this;
03768    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
03769    setRegister(newValue, s);
03770    return *this;
03771 }
03772 
03773 inline u16 tMSeries::tAO_Command_2::getAO_UC_Save_Trace(nMDBG::tStatus2*) const
03774 {
03775    return (u16)((_softCopy & ~0xefff) >> 0xc);
03776 }
03777 
03778 inline void tMSeries::tAO_Command_2::writeAO_UC_Save_Trace(u16 fieldValue, nMDBG::tStatus2* s)
03779 {
03780    setAO_UC_Save_Trace(fieldValue, s);
03781    flush(s);
03782 }
03783 inline u16 tMSeries::tAO_Command_2::readAO_UC_Save_Trace(nMDBG::tStatus2* s)
03784 {
03785    return getAO_UC_Save_Trace(s);
03786 }
03787 
03788 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_Start_Stop_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* s)
03789 {
03790    if (s && s->isFatal()) return *this;
03791    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
03792    setRegister(newValue, s);
03793    return *this;
03794 }
03795 
03796 inline u16 tMSeries::tAO_Command_2::getAO_Start_Stop_Gate_Enable(nMDBG::tStatus2*) const
03797 {
03798    return (u16)((_softCopy & ~0xdfff) >> 0xd);
03799 }
03800 
03801 inline void tMSeries::tAO_Command_2::writeAO_Start_Stop_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* s)
03802 {
03803    setAO_Start_Stop_Gate_Enable(fieldValue, s);
03804    flush(s);
03805 }
03806 inline u16 tMSeries::tAO_Command_2::readAO_Start_Stop_Gate_Enable(nMDBG::tStatus2* s)
03807 {
03808    return getAO_Start_Stop_Gate_Enable(s);
03809 }
03810 
03811 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_End_On_UC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03812 {
03813    if (s && s->isFatal()) return *this;
03814    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
03815    setRegister(newValue, s);
03816    return *this;
03817 }
03818 
03819 inline u16 tMSeries::tAO_Command_2::getAO_End_On_UC_TC(nMDBG::tStatus2*) const
03820 {
03821    return (u16)((_softCopy & ~0xbfff) >> 0xe);
03822 }
03823 
03824 inline void tMSeries::tAO_Command_2::writeAO_End_On_UC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03825 {
03826    setAO_End_On_UC_TC(fieldValue, s);
03827    flush(s);
03828 }
03829 inline u16 tMSeries::tAO_Command_2::readAO_End_On_UC_TC(nMDBG::tStatus2* s)
03830 {
03831    return getAO_End_On_UC_TC(s);
03832 }
03833 
03834 inline tMSeries::tAO_Command_2& tMSeries::tAO_Command_2::setAO_End_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03835 {
03836    if (s && s->isFatal()) return *this;
03837    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
03838    setRegister(newValue, s);
03839    return *this;
03840 }
03841 
03842 inline u16 tMSeries::tAO_Command_2::getAO_End_On_BC_TC(nMDBG::tStatus2*) const
03843 {
03844    return (u16)((_softCopy & ~0x7fff) >> 0xf);
03845 }
03846 
03847 inline void tMSeries::tAO_Command_2::writeAO_End_On_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
03848 {
03849    setAO_End_On_BC_TC(fieldValue, s);
03850    flush(s);
03851 }
03852 inline u16 tMSeries::tAO_Command_2::readAO_End_On_BC_TC(nMDBG::tStatus2* s)
03853 {
03854    return getAO_End_On_BC_TC(s);
03855 }
03856 
03857 inline void tMSeries::tAO_Command_2::setRegisterMap(tMSeries* pMSeries)
03858 {
03859    _MSeries = pMSeries;
03860 }
03861 
03862 inline tMSeries::tAO_Command_1::tAO_Command_1()
03863 {
03864    _softCopy = 0;
03865 }
03866 
03867 inline tMSeries* tMSeries::tAO_Command_1::registerMap(void)
03868 {
03869    return _MSeries;
03870 }
03871 
03872 inline void tMSeries::tAO_Command_1::flushBus(nMDBG::tStatus2* s)
03873 {
03874    _MSeries->flushBus(s);
03875 }
03876 
03877 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
03878 {
03879    if (s && s->isFatal()) return *this;
03880    _softCopy = fieldValue;
03881    return *this;
03882 }
03883 
03884 inline u16 tMSeries::tAO_Command_1::getRegister(nMDBG::tStatus2*) const
03885 {
03886    return _softCopy;
03887 }
03888 
03889 inline void tMSeries::tAO_Command_1::flush(nMDBG::tStatus2* s)
03890 {
03891    if (s && s->isFatal()) return;
03892    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
03893    _softCopy &= (u16)(0xffff181e);
03894 }
03895 
03896 inline void tMSeries::tAO_Command_1::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
03897 {
03898    if (s && s->isFatal()) return;
03899    _softCopy = fieldValue;
03900    flush(s);
03901 }
03902 
03903 inline u16 tMSeries::tAO_Command_1::readRegister(nMDBG::tStatus2*) 
03904 {
03905    return _softCopy;
03906 }
03907 
03908 
03909 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_UPDATE_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
03910 {
03911    if (s && s->isFatal()) return *this;
03912    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
03913    setRegister(newValue, s);
03914    return *this;
03915 }
03916 
03917 inline u16 tMSeries::tAO_Command_1::getAO_UPDATE_Pulse(nMDBG::tStatus2*) const
03918 {
03919    return (u16)((_softCopy & ~0xfffe) >> 0x0);
03920 }
03921 
03922 inline void tMSeries::tAO_Command_1::writeAO_UPDATE_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
03923 {
03924    setAO_UPDATE_Pulse(fieldValue, s);
03925    flush(s);
03926 }
03927 inline u16 tMSeries::tAO_Command_1::readAO_UPDATE_Pulse(nMDBG::tStatus2* s)
03928 {
03929    return getAO_UPDATE_Pulse(s);
03930 }
03931 
03932 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_DAC0_Update_Mode(tAO_DAC0_Update_Mode fieldValue, nMDBG::tStatus2* s)
03933 {
03934    if (s && s->isFatal()) return *this;
03935    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
03936    setRegister(newValue, s);
03937    return *this;
03938 }
03939 
03940 inline tMSeries::tAO_Command_1::tAO_DAC0_Update_Mode tMSeries::tAO_Command_1::getAO_DAC0_Update_Mode(nMDBG::tStatus2*) const
03941 {
03942    return (tAO_DAC0_Update_Mode)((_softCopy & ~0xfffb) >> 0x2);
03943 }
03944 
03945 inline void tMSeries::tAO_Command_1::writeAO_DAC0_Update_Mode(tAO_DAC0_Update_Mode fieldValue, nMDBG::tStatus2* s)
03946 {
03947    setAO_DAC0_Update_Mode(fieldValue, s);
03948    flush(s);
03949 }
03950 inline tMSeries::tAO_Command_1::tAO_DAC0_Update_Mode tMSeries::tAO_Command_1::readAO_DAC0_Update_Mode(nMDBG::tStatus2* s)
03951 {
03952    return getAO_DAC0_Update_Mode(s);
03953 }
03954 
03955 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_DAC1_Update_Mode(tAO_DAC1_Update_Mode fieldValue, nMDBG::tStatus2* s)
03956 {
03957    if (s && s->isFatal()) return *this;
03958    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
03959    setRegister(newValue, s);
03960    return *this;
03961 }
03962 
03963 inline tMSeries::tAO_Command_1::tAO_DAC1_Update_Mode tMSeries::tAO_Command_1::getAO_DAC1_Update_Mode(nMDBG::tStatus2*) const
03964 {
03965    return (tAO_DAC1_Update_Mode)((_softCopy & ~0xffef) >> 0x4);
03966 }
03967 
03968 inline void tMSeries::tAO_Command_1::writeAO_DAC1_Update_Mode(tAO_DAC1_Update_Mode fieldValue, nMDBG::tStatus2* s)
03969 {
03970    setAO_DAC1_Update_Mode(fieldValue, s);
03971    flush(s);
03972 }
03973 inline tMSeries::tAO_Command_1::tAO_DAC1_Update_Mode tMSeries::tAO_Command_1::readAO_DAC1_Update_Mode(nMDBG::tStatus2* s)
03974 {
03975    return getAO_DAC1_Update_Mode(s);
03976 }
03977 
03978 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_BC_Load(u16 fieldValue, nMDBG::tStatus2* s)
03979 {
03980    if (s && s->isFatal()) return *this;
03981    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
03982    setRegister(newValue, s);
03983    return *this;
03984 }
03985 
03986 inline u16 tMSeries::tAO_Command_1::getAO_BC_Load(nMDBG::tStatus2*) const
03987 {
03988    return (u16)((_softCopy & ~0xffdf) >> 0x5);
03989 }
03990 
03991 inline void tMSeries::tAO_Command_1::writeAO_BC_Load(u16 fieldValue, nMDBG::tStatus2* s)
03992 {
03993    setAO_BC_Load(fieldValue, s);
03994    flush(s);
03995 }
03996 inline u16 tMSeries::tAO_Command_1::readAO_BC_Load(nMDBG::tStatus2* s)
03997 {
03998    return getAO_BC_Load(s);
03999 }
04000 
04001 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_BC_Arm(u16 fieldValue, nMDBG::tStatus2* s)
04002 {
04003    if (s && s->isFatal()) return *this;
04004    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
04005    setRegister(newValue, s);
04006    return *this;
04007 }
04008 
04009 inline u16 tMSeries::tAO_Command_1::getAO_BC_Arm(nMDBG::tStatus2*) const
04010 {
04011    return (u16)((_softCopy & ~0xffbf) >> 0x6);
04012 }
04013 
04014 inline void tMSeries::tAO_Command_1::writeAO_BC_Arm(u16 fieldValue, nMDBG::tStatus2* s)
04015 {
04016    setAO_BC_Arm(fieldValue, s);
04017    flush(s);
04018 }
04019 inline u16 tMSeries::tAO_Command_1::readAO_BC_Arm(nMDBG::tStatus2* s)
04020 {
04021    return getAO_BC_Arm(s);
04022 }
04023 
04024 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_UC_Load(u16 fieldValue, nMDBG::tStatus2* s)
04025 {
04026    if (s && s->isFatal()) return *this;
04027    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
04028    setRegister(newValue, s);
04029    return *this;
04030 }
04031 
04032 inline u16 tMSeries::tAO_Command_1::getAO_UC_Load(nMDBG::tStatus2*) const
04033 {
04034    return (u16)((_softCopy & ~0xff7f) >> 0x7);
04035 }
04036 
04037 inline void tMSeries::tAO_Command_1::writeAO_UC_Load(u16 fieldValue, nMDBG::tStatus2* s)
04038 {
04039    setAO_UC_Load(fieldValue, s);
04040    flush(s);
04041 }
04042 inline u16 tMSeries::tAO_Command_1::readAO_UC_Load(nMDBG::tStatus2* s)
04043 {
04044    return getAO_UC_Load(s);
04045 }
04046 
04047 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_UC_Arm(u16 fieldValue, nMDBG::tStatus2* s)
04048 {
04049    if (s && s->isFatal()) return *this;
04050    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
04051    setRegister(newValue, s);
04052    return *this;
04053 }
04054 
04055 inline u16 tMSeries::tAO_Command_1::getAO_UC_Arm(nMDBG::tStatus2*) const
04056 {
04057    return (u16)((_softCopy & ~0xfeff) >> 0x8);
04058 }
04059 
04060 inline void tMSeries::tAO_Command_1::writeAO_UC_Arm(u16 fieldValue, nMDBG::tStatus2* s)
04061 {
04062    setAO_UC_Arm(fieldValue, s);
04063    flush(s);
04064 }
04065 inline u16 tMSeries::tAO_Command_1::readAO_UC_Arm(nMDBG::tStatus2* s)
04066 {
04067    return getAO_UC_Arm(s);
04068 }
04069 
04070 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_UI_Load(u16 fieldValue, nMDBG::tStatus2* s)
04071 {
04072    if (s && s->isFatal()) return *this;
04073    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
04074    setRegister(newValue, s);
04075    return *this;
04076 }
04077 
04078 inline u16 tMSeries::tAO_Command_1::getAO_UI_Load(nMDBG::tStatus2*) const
04079 {
04080    return (u16)((_softCopy & ~0xfdff) >> 0x9);
04081 }
04082 
04083 inline void tMSeries::tAO_Command_1::writeAO_UI_Load(u16 fieldValue, nMDBG::tStatus2* s)
04084 {
04085    setAO_UI_Load(fieldValue, s);
04086    flush(s);
04087 }
04088 inline u16 tMSeries::tAO_Command_1::readAO_UI_Load(nMDBG::tStatus2* s)
04089 {
04090    return getAO_UI_Load(s);
04091 }
04092 
04093 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_UI_Arm(u16 fieldValue, nMDBG::tStatus2* s)
04094 {
04095    if (s && s->isFatal()) return *this;
04096    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
04097    setRegister(newValue, s);
04098    return *this;
04099 }
04100 
04101 inline u16 tMSeries::tAO_Command_1::getAO_UI_Arm(nMDBG::tStatus2*) const
04102 {
04103    return (u16)((_softCopy & ~0xfbff) >> 0xa);
04104 }
04105 
04106 inline void tMSeries::tAO_Command_1::writeAO_UI_Arm(u16 fieldValue, nMDBG::tStatus2* s)
04107 {
04108    setAO_UI_Arm(fieldValue, s);
04109    flush(s);
04110 }
04111 inline u16 tMSeries::tAO_Command_1::readAO_UI_Arm(nMDBG::tStatus2* s)
04112 {
04113    return getAO_UI_Arm(s);
04114 }
04115 
04116 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_Disarm(u16 fieldValue, nMDBG::tStatus2* s)
04117 {
04118    if (s && s->isFatal()) return *this;
04119    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
04120    setRegister(newValue, s);
04121    return *this;
04122 }
04123 
04124 inline u16 tMSeries::tAO_Command_1::getAO_Disarm(nMDBG::tStatus2*) const
04125 {
04126    return (u16)((_softCopy & ~0xdfff) >> 0xd);
04127 }
04128 
04129 inline void tMSeries::tAO_Command_1::writeAO_Disarm(u16 fieldValue, nMDBG::tStatus2* s)
04130 {
04131    setAO_Disarm(fieldValue, s);
04132    flush(s);
04133 }
04134 inline u16 tMSeries::tAO_Command_1::readAO_Disarm(nMDBG::tStatus2* s)
04135 {
04136    return getAO_Disarm(s);
04137 }
04138 
04139 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_START_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
04140 {
04141    if (s && s->isFatal()) return *this;
04142    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
04143    setRegister(newValue, s);
04144    return *this;
04145 }
04146 
04147 inline u16 tMSeries::tAO_Command_1::getAO_START_Pulse(nMDBG::tStatus2*) const
04148 {
04149    return (u16)((_softCopy & ~0xbfff) >> 0xe);
04150 }
04151 
04152 inline void tMSeries::tAO_Command_1::writeAO_START_Pulse(u16 fieldValue, nMDBG::tStatus2* s)
04153 {
04154    setAO_START_Pulse(fieldValue, s);
04155    flush(s);
04156 }
04157 inline u16 tMSeries::tAO_Command_1::readAO_START_Pulse(nMDBG::tStatus2* s)
04158 {
04159    return getAO_START_Pulse(s);
04160 }
04161 
04162 inline tMSeries::tAO_Command_1& tMSeries::tAO_Command_1::setAO_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* s)
04163 {
04164    if (s && s->isFatal()) return *this;
04165    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
04166    setRegister(newValue, s);
04167    return *this;
04168 }
04169 
04170 inline u16 tMSeries::tAO_Command_1::getAO_Analog_Trigger_Reset(nMDBG::tStatus2*) const
04171 {
04172    return (u16)((_softCopy & ~0x7fff) >> 0xf);
04173 }
04174 
04175 inline void tMSeries::tAO_Command_1::writeAO_Analog_Trigger_Reset(u16 fieldValue, nMDBG::tStatus2* s)
04176 {
04177    setAO_Analog_Trigger_Reset(fieldValue, s);
04178    flush(s);
04179 }
04180 inline u16 tMSeries::tAO_Command_1::readAO_Analog_Trigger_Reset(nMDBG::tStatus2* s)
04181 {
04182    return getAO_Analog_Trigger_Reset(s);
04183 }
04184 
04185 inline void tMSeries::tAO_Command_1::setRegisterMap(tMSeries* pMSeries)
04186 {
04187    _MSeries = pMSeries;
04188 }
04189 
04190 inline tMSeries::tAO_Mode_1::tAO_Mode_1()
04191 {
04192    _softCopy = 0;
04193 }
04194 
04195 inline tMSeries* tMSeries::tAO_Mode_1::registerMap(void)
04196 {
04197    return _MSeries;
04198 }
04199 
04200 inline void tMSeries::tAO_Mode_1::flushBus(nMDBG::tStatus2* s)
04201 {
04202    _MSeries->flushBus(s);
04203 }
04204 
04205 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
04206 {
04207    if (s && s->isFatal()) return *this;
04208    _softCopy = fieldValue;
04209    return *this;
04210 }
04211 
04212 inline u16 tMSeries::tAO_Mode_1::getRegister(nMDBG::tStatus2*) const
04213 {
04214    return _softCopy;
04215 }
04216 
04217 inline void tMSeries::tAO_Mode_1::flush(nMDBG::tStatus2* s)
04218 {
04219    if (s && s->isFatal()) return;
04220    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
04221    _softCopy &= (u16)(0xffffffff);
04222 }
04223 
04224 inline void tMSeries::tAO_Mode_1::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
04225 {
04226    if (s && s->isFatal()) return;
04227    _softCopy = fieldValue;
04228    flush(s);
04229 }
04230 
04231 inline u16 tMSeries::tAO_Mode_1::readRegister(nMDBG::tStatus2*) 
04232 {
04233    return _softCopy;
04234 }
04235 
04236 
04237 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_Trigger_Once(tBoolean fieldValue, nMDBG::tStatus2* s)
04238 {
04239    if (s && s->isFatal()) return *this;
04240    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
04241    setRegister(newValue, s);
04242    return *this;
04243 }
04244 
04245 inline tBoolean tMSeries::tAO_Mode_1::getAO_Trigger_Once(nMDBG::tStatus2*) const
04246 {
04247    return (tBoolean)((_softCopy & ~0xfffe) >> 0x0);
04248 }
04249 
04250 inline void tMSeries::tAO_Mode_1::writeAO_Trigger_Once(tBoolean fieldValue, nMDBG::tStatus2* s)
04251 {
04252    setAO_Trigger_Once(fieldValue, s);
04253    flush(s);
04254 }
04255 inline tBoolean tMSeries::tAO_Mode_1::readAO_Trigger_Once(nMDBG::tStatus2* s)
04256 {
04257    return getAO_Trigger_Once(s);
04258 }
04259 
04260 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_Continuous(tAO_Continuous fieldValue, nMDBG::tStatus2* s)
04261 {
04262    if (s && s->isFatal()) return *this;
04263    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffd)) | (((u16)fieldValue << 0x1) & ~0xfffd);
04264    setRegister(newValue, s);
04265    return *this;
04266 }
04267 
04268 inline tMSeries::tAO_Mode_1::tAO_Continuous tMSeries::tAO_Mode_1::getAO_Continuous(nMDBG::tStatus2*) const
04269 {
04270    return (tAO_Continuous)((_softCopy & ~0xfffd) >> 0x1);
04271 }
04272 
04273 inline void tMSeries::tAO_Mode_1::writeAO_Continuous(tAO_Continuous fieldValue, nMDBG::tStatus2* s)
04274 {
04275    setAO_Continuous(fieldValue, s);
04276    flush(s);
04277 }
04278 inline tMSeries::tAO_Mode_1::tAO_Continuous tMSeries::tAO_Mode_1::readAO_Continuous(nMDBG::tStatus2* s)
04279 {
04280    return getAO_Continuous(s);
04281 }
04282 
04283 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_UC_Switch_Load_Every_TC(u16 fieldValue, nMDBG::tStatus2* s)
04284 {
04285    if (s && s->isFatal()) return *this;
04286    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
04287    setRegister(newValue, s);
04288    return *this;
04289 }
04290 
04291 inline u16 tMSeries::tAO_Mode_1::getAO_UC_Switch_Load_Every_TC(nMDBG::tStatus2*) const
04292 {
04293    return (u16)((_softCopy & ~0xfffb) >> 0x2);
04294 }
04295 
04296 inline void tMSeries::tAO_Mode_1::writeAO_UC_Switch_Load_Every_TC(u16 fieldValue, nMDBG::tStatus2* s)
04297 {
04298    setAO_UC_Switch_Load_Every_TC(fieldValue, s);
04299    flush(s);
04300 }
04301 inline u16 tMSeries::tAO_Mode_1::readAO_UC_Switch_Load_Every_TC(nMDBG::tStatus2* s)
04302 {
04303    return getAO_UC_Switch_Load_Every_TC(s);
04304 }
04305 
04306 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_UI_Source_Polarity(tAO_UI_Source_Polarity fieldValue, nMDBG::tStatus2* s)
04307 {
04308    if (s && s->isFatal()) return *this;
04309    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
04310    setRegister(newValue, s);
04311    return *this;
04312 }
04313 
04314 inline tMSeries::tAO_Mode_1::tAO_UI_Source_Polarity tMSeries::tAO_Mode_1::getAO_UI_Source_Polarity(nMDBG::tStatus2*) const
04315 {
04316    return (tAO_UI_Source_Polarity)((_softCopy & ~0xfff7) >> 0x3);
04317 }
04318 
04319 inline void tMSeries::tAO_Mode_1::writeAO_UI_Source_Polarity(tAO_UI_Source_Polarity fieldValue, nMDBG::tStatus2* s)
04320 {
04321    setAO_UI_Source_Polarity(fieldValue, s);
04322    flush(s);
04323 }
04324 inline tMSeries::tAO_Mode_1::tAO_UI_Source_Polarity tMSeries::tAO_Mode_1::readAO_UI_Source_Polarity(nMDBG::tStatus2* s)
04325 {
04326    return getAO_UI_Source_Polarity(s);
04327 }
04328 
04329 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_UPDATE_Source_Polarity(tAO_UPDATE_Source_Polarity fieldValue, nMDBG::tStatus2* s)
04330 {
04331    if (s && s->isFatal()) return *this;
04332    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
04333    setRegister(newValue, s);
04334    return *this;
04335 }
04336 
04337 inline tMSeries::tAO_Mode_1::tAO_UPDATE_Source_Polarity tMSeries::tAO_Mode_1::getAO_UPDATE_Source_Polarity(nMDBG::tStatus2*) const
04338 {
04339    return (tAO_UPDATE_Source_Polarity)((_softCopy & ~0xffef) >> 0x4);
04340 }
04341 
04342 inline void tMSeries::tAO_Mode_1::writeAO_UPDATE_Source_Polarity(tAO_UPDATE_Source_Polarity fieldValue, nMDBG::tStatus2* s)
04343 {
04344    setAO_UPDATE_Source_Polarity(fieldValue, s);
04345    flush(s);
04346 }
04347 inline tMSeries::tAO_Mode_1::tAO_UPDATE_Source_Polarity tMSeries::tAO_Mode_1::readAO_UPDATE_Source_Polarity(nMDBG::tStatus2* s)
04348 {
04349    return getAO_UPDATE_Source_Polarity(s);
04350 }
04351 
04352 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_Multiple_Channels(tBoolean fieldValue, nMDBG::tStatus2* s)
04353 {
04354    if (s && s->isFatal()) return *this;
04355    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
04356    setRegister(newValue, s);
04357    return *this;
04358 }
04359 
04360 inline tBoolean tMSeries::tAO_Mode_1::getAO_Multiple_Channels(nMDBG::tStatus2*) const
04361 {
04362    return (tBoolean)((_softCopy & ~0xffdf) >> 0x5);
04363 }
04364 
04365 inline void tMSeries::tAO_Mode_1::writeAO_Multiple_Channels(tBoolean fieldValue, nMDBG::tStatus2* s)
04366 {
04367    setAO_Multiple_Channels(fieldValue, s);
04368    flush(s);
04369 }
04370 inline tBoolean tMSeries::tAO_Mode_1::readAO_Multiple_Channels(nMDBG::tStatus2* s)
04371 {
04372    return getAO_Multiple_Channels(s);
04373 }
04374 
04375 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_UI_Source_Select(tAO_UI_Source_Select fieldValue, nMDBG::tStatus2* s)
04376 {
04377    if (s && s->isFatal()) return *this;
04378    u16 newValue;   newValue = ((u16)(_softCopy & 0xf83f)) | (((u16)fieldValue << 0x6) & ~0xf83f);
04379    setRegister(newValue, s);
04380    return *this;
04381 }
04382 
04383 inline tMSeries::tAO_Mode_1::tAO_UI_Source_Select tMSeries::tAO_Mode_1::getAO_UI_Source_Select(nMDBG::tStatus2*) const
04384 {
04385    return (tAO_UI_Source_Select)((_softCopy & ~0xf83f) >> 0x6);
04386 }
04387 
04388 inline void tMSeries::tAO_Mode_1::writeAO_UI_Source_Select(tAO_UI_Source_Select fieldValue, nMDBG::tStatus2* s)
04389 {
04390    setAO_UI_Source_Select(fieldValue, s);
04391    flush(s);
04392 }
04393 inline tMSeries::tAO_Mode_1::tAO_UI_Source_Select tMSeries::tAO_Mode_1::readAO_UI_Source_Select(nMDBG::tStatus2* s)
04394 {
04395    return getAO_UI_Source_Select(s);
04396 }
04397 
04398 inline tMSeries::tAO_Mode_1& tMSeries::tAO_Mode_1::setAO_UPDATE_Source_Select(tAO_UPDATE_Source_Select fieldValue, nMDBG::tStatus2* s)
04399 {
04400    if (s && s->isFatal()) return *this;
04401    u16 newValue;   newValue = ((u16)(_softCopy & 0x7ff)) | (((u16)fieldValue << 0xb) & ~0x7ff);
04402    setRegister(newValue, s);
04403    return *this;
04404 }
04405 
04406 inline tMSeries::tAO_Mode_1::tAO_UPDATE_Source_Select tMSeries::tAO_Mode_1::getAO_UPDATE_Source_Select(nMDBG::tStatus2*) const
04407 {
04408    return (tAO_UPDATE_Source_Select)((_softCopy & ~0x7ff) >> 0xb);
04409 }
04410 
04411 inline void tMSeries::tAO_Mode_1::writeAO_UPDATE_Source_Select(tAO_UPDATE_Source_Select fieldValue, nMDBG::tStatus2* s)
04412 {
04413    setAO_UPDATE_Source_Select(fieldValue, s);
04414    flush(s);
04415 }
04416 inline tMSeries::tAO_Mode_1::tAO_UPDATE_Source_Select tMSeries::tAO_Mode_1::readAO_UPDATE_Source_Select(nMDBG::tStatus2* s)
04417 {
04418    return getAO_UPDATE_Source_Select(s);
04419 }
04420 
04421 inline void tMSeries::tAO_Mode_1::setRegisterMap(tMSeries* pMSeries)
04422 {
04423    _MSeries = pMSeries;
04424 }
04425 
04426 inline tMSeries::tAO_Mode_2::tAO_Mode_2()
04427 {
04428    _softCopy = 0;
04429 }
04430 
04431 inline tMSeries* tMSeries::tAO_Mode_2::registerMap(void)
04432 {
04433    return _MSeries;
04434 }
04435 
04436 inline void tMSeries::tAO_Mode_2::flushBus(nMDBG::tStatus2* s)
04437 {
04438    _MSeries->flushBus(s);
04439 }
04440 
04441 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
04442 {
04443    if (s && s->isFatal()) return *this;
04444    _softCopy = fieldValue;
04445    return *this;
04446 }
04447 
04448 inline u16 tMSeries::tAO_Mode_2::getRegister(nMDBG::tStatus2*) const
04449 {
04450    return _softCopy;
04451 }
04452 
04453 inline void tMSeries::tAO_Mode_2::flush(nMDBG::tStatus2* s)
04454 {
04455    if (s && s->isFatal()) return;
04456    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
04457    _softCopy &= (u16)(0xffffffff);
04458 }
04459 
04460 inline void tMSeries::tAO_Mode_2::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
04461 {
04462    if (s && s->isFatal()) return;
04463    _softCopy = fieldValue;
04464    flush(s);
04465 }
04466 
04467 inline u16 tMSeries::tAO_Mode_2::readRegister(nMDBG::tStatus2*) 
04468 {
04469    return _softCopy;
04470 }
04471 
04472 
04473 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_BC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
04474 {
04475    if (s && s->isFatal()) return *this;
04476    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
04477    setRegister(newValue, s);
04478    return *this;
04479 }
04480 
04481 inline u16 tMSeries::tAO_Mode_2::getAO_BC_Write_Switch(nMDBG::tStatus2*) const
04482 {
04483    return (u16)((_softCopy & ~0xfffe) >> 0x0);
04484 }
04485 
04486 inline void tMSeries::tAO_Mode_2::writeAO_BC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
04487 {
04488    setAO_BC_Write_Switch(fieldValue, s);
04489    flush(s);
04490 }
04491 inline u16 tMSeries::tAO_Mode_2::readAO_BC_Write_Switch(nMDBG::tStatus2* s)
04492 {
04493    return getAO_BC_Write_Switch(s);
04494 }
04495 
04496 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_BC_Reload_Mode(u16 fieldValue, nMDBG::tStatus2* s)
04497 {
04498    if (s && s->isFatal()) return *this;
04499    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffd)) | (((u16)fieldValue << 0x1) & ~0xfffd);
04500    setRegister(newValue, s);
04501    return *this;
04502 }
04503 
04504 inline u16 tMSeries::tAO_Mode_2::getAO_BC_Reload_Mode(nMDBG::tStatus2*) const
04505 {
04506    return (u16)((_softCopy & ~0xfffd) >> 0x1);
04507 }
04508 
04509 inline void tMSeries::tAO_Mode_2::writeAO_BC_Reload_Mode(u16 fieldValue, nMDBG::tStatus2* s)
04510 {
04511    setAO_BC_Reload_Mode(fieldValue, s);
04512    flush(s);
04513 }
04514 inline u16 tMSeries::tAO_Mode_2::readAO_BC_Reload_Mode(nMDBG::tStatus2* s)
04515 {
04516    return getAO_BC_Reload_Mode(s);
04517 }
04518 
04519 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_BC_Initial_Load_Source(tAO_BC_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
04520 {
04521    if (s && s->isFatal()) return *this;
04522    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
04523    setRegister(newValue, s);
04524    return *this;
04525 }
04526 
04527 inline tMSeries::tAO_Mode_2::tAO_BC_Initial_Load_Source tMSeries::tAO_Mode_2::getAO_BC_Initial_Load_Source(nMDBG::tStatus2*) const
04528 {
04529    return (tAO_BC_Initial_Load_Source)((_softCopy & ~0xfffb) >> 0x2);
04530 }
04531 
04532 inline void tMSeries::tAO_Mode_2::writeAO_BC_Initial_Load_Source(tAO_BC_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
04533 {
04534    setAO_BC_Initial_Load_Source(fieldValue, s);
04535    flush(s);
04536 }
04537 inline tMSeries::tAO_Mode_2::tAO_BC_Initial_Load_Source tMSeries::tAO_Mode_2::readAO_BC_Initial_Load_Source(nMDBG::tStatus2* s)
04538 {
04539    return getAO_BC_Initial_Load_Source(s);
04540 }
04541 
04542 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_UI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
04543 {
04544    if (s && s->isFatal()) return *this;
04545    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
04546    setRegister(newValue, s);
04547    return *this;
04548 }
04549 
04550 inline u16 tMSeries::tAO_Mode_2::getAO_UI_Write_Switch(nMDBG::tStatus2*) const
04551 {
04552    return (u16)((_softCopy & ~0xfff7) >> 0x3);
04553 }
04554 
04555 inline void tMSeries::tAO_Mode_2::writeAO_UI_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
04556 {
04557    setAO_UI_Write_Switch(fieldValue, s);
04558    flush(s);
04559 }
04560 inline u16 tMSeries::tAO_Mode_2::readAO_UI_Write_Switch(nMDBG::tStatus2* s)
04561 {
04562    return getAO_UI_Write_Switch(s);
04563 }
04564 
04565 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_UI_Reload_Mode(tAO_UI_Reload_Mode fieldValue, nMDBG::tStatus2* s)
04566 {
04567    if (s && s->isFatal()) return *this;
04568    u16 newValue;   newValue = ((u16)(_softCopy & 0xff8f)) | (((u16)fieldValue << 0x4) & ~0xff8f);
04569    setRegister(newValue, s);
04570    return *this;
04571 }
04572 
04573 inline tMSeries::tAO_Mode_2::tAO_UI_Reload_Mode tMSeries::tAO_Mode_2::getAO_UI_Reload_Mode(nMDBG::tStatus2*) const
04574 {
04575    return (tAO_UI_Reload_Mode)((_softCopy & ~0xff8f) >> 0x4);
04576 }
04577 
04578 inline void tMSeries::tAO_Mode_2::writeAO_UI_Reload_Mode(tAO_UI_Reload_Mode fieldValue, nMDBG::tStatus2* s)
04579 {
04580    setAO_UI_Reload_Mode(fieldValue, s);
04581    flush(s);
04582 }
04583 inline tMSeries::tAO_Mode_2::tAO_UI_Reload_Mode tMSeries::tAO_Mode_2::readAO_UI_Reload_Mode(nMDBG::tStatus2* s)
04584 {
04585    return getAO_UI_Reload_Mode(s);
04586 }
04587 
04588 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_UI_Initial_Load_Source(tAO_UI_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
04589 {
04590    if (s && s->isFatal()) return *this;
04591    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
04592    setRegister(newValue, s);
04593    return *this;
04594 }
04595 
04596 inline tMSeries::tAO_Mode_2::tAO_UI_Initial_Load_Source tMSeries::tAO_Mode_2::getAO_UI_Initial_Load_Source(nMDBG::tStatus2*) const
04597 {
04598    return (tAO_UI_Initial_Load_Source)((_softCopy & ~0xff7f) >> 0x7);
04599 }
04600 
04601 inline void tMSeries::tAO_Mode_2::writeAO_UI_Initial_Load_Source(tAO_UI_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
04602 {
04603    setAO_UI_Initial_Load_Source(fieldValue, s);
04604    flush(s);
04605 }
04606 inline tMSeries::tAO_Mode_2::tAO_UI_Initial_Load_Source tMSeries::tAO_Mode_2::readAO_UI_Initial_Load_Source(nMDBG::tStatus2* s)
04607 {
04608    return getAO_UI_Initial_Load_Source(s);
04609 }
04610 
04611 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_UC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
04612 {
04613    if (s && s->isFatal()) return *this;
04614    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
04615    setRegister(newValue, s);
04616    return *this;
04617 }
04618 
04619 inline u16 tMSeries::tAO_Mode_2::getAO_UC_Write_Switch(nMDBG::tStatus2*) const
04620 {
04621    return (u16)((_softCopy & ~0xfbff) >> 0xa);
04622 }
04623 
04624 inline void tMSeries::tAO_Mode_2::writeAO_UC_Write_Switch(u16 fieldValue, nMDBG::tStatus2* s)
04625 {
04626    setAO_UC_Write_Switch(fieldValue, s);
04627    flush(s);
04628 }
04629 inline u16 tMSeries::tAO_Mode_2::readAO_UC_Write_Switch(nMDBG::tStatus2* s)
04630 {
04631    return getAO_UC_Write_Switch(s);
04632 }
04633 
04634 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_UC_Initial_Load_Source(tAO_UC_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
04635 {
04636    if (s && s->isFatal()) return *this;
04637    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
04638    setRegister(newValue, s);
04639    return *this;
04640 }
04641 
04642 inline tMSeries::tAO_Mode_2::tAO_UC_Initial_Load_Source tMSeries::tAO_Mode_2::getAO_UC_Initial_Load_Source(nMDBG::tStatus2*) const
04643 {
04644    return (tAO_UC_Initial_Load_Source)((_softCopy & ~0xf7ff) >> 0xb);
04645 }
04646 
04647 inline void tMSeries::tAO_Mode_2::writeAO_UC_Initial_Load_Source(tAO_UC_Initial_Load_Source fieldValue, nMDBG::tStatus2* s)
04648 {
04649    setAO_UC_Initial_Load_Source(fieldValue, s);
04650    flush(s);
04651 }
04652 inline tMSeries::tAO_Mode_2::tAO_UC_Initial_Load_Source tMSeries::tAO_Mode_2::readAO_UC_Initial_Load_Source(nMDBG::tStatus2* s)
04653 {
04654    return getAO_UC_Initial_Load_Source(s);
04655 }
04656 
04657 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_START1_Disable(u16 fieldValue, nMDBG::tStatus2* s)
04658 {
04659    if (s && s->isFatal()) return *this;
04660    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
04661    setRegister(newValue, s);
04662    return *this;
04663 }
04664 
04665 inline u16 tMSeries::tAO_Mode_2::getAO_START1_Disable(nMDBG::tStatus2*) const
04666 {
04667    return (u16)((_softCopy & ~0xefff) >> 0xc);
04668 }
04669 
04670 inline void tMSeries::tAO_Mode_2::writeAO_START1_Disable(u16 fieldValue, nMDBG::tStatus2* s)
04671 {
04672    setAO_START1_Disable(fieldValue, s);
04673    flush(s);
04674 }
04675 inline u16 tMSeries::tAO_Mode_2::readAO_START1_Disable(nMDBG::tStatus2* s)
04676 {
04677    return getAO_START1_Disable(s);
04678 }
04679 
04680 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_FIFO_Retransmit_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
04681 {
04682    if (s && s->isFatal()) return *this;
04683    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
04684    setRegister(newValue, s);
04685    return *this;
04686 }
04687 
04688 inline tBoolean tMSeries::tAO_Mode_2::getAO_FIFO_Retransmit_Enable(nMDBG::tStatus2*) const
04689 {
04690    return (tBoolean)((_softCopy & ~0xdfff) >> 0xd);
04691 }
04692 
04693 inline void tMSeries::tAO_Mode_2::writeAO_FIFO_Retransmit_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
04694 {
04695    setAO_FIFO_Retransmit_Enable(fieldValue, s);
04696    flush(s);
04697 }
04698 inline tBoolean tMSeries::tAO_Mode_2::readAO_FIFO_Retransmit_Enable(nMDBG::tStatus2* s)
04699 {
04700    return getAO_FIFO_Retransmit_Enable(s);
04701 }
04702 
04703 inline tMSeries::tAO_Mode_2& tMSeries::tAO_Mode_2::setAO_FIFO_Mode(tAO_FIFO_Mode fieldValue, nMDBG::tStatus2* s)
04704 {
04705    if (s && s->isFatal()) return *this;
04706    u16 newValue;   newValue = ((u16)(_softCopy & 0x3fff)) | (((u16)fieldValue << 0xe) & ~0x3fff);
04707    setRegister(newValue, s);
04708    return *this;
04709 }
04710 
04711 inline tMSeries::tAO_Mode_2::tAO_FIFO_Mode tMSeries::tAO_Mode_2::getAO_FIFO_Mode(nMDBG::tStatus2*) const
04712 {
04713    return (tAO_FIFO_Mode)((_softCopy & ~0x3fff) >> 0xe);
04714 }
04715 
04716 inline void tMSeries::tAO_Mode_2::writeAO_FIFO_Mode(tAO_FIFO_Mode fieldValue, nMDBG::tStatus2* s)
04717 {
04718    setAO_FIFO_Mode(fieldValue, s);
04719    flush(s);
04720 }
04721 inline tMSeries::tAO_Mode_2::tAO_FIFO_Mode tMSeries::tAO_Mode_2::readAO_FIFO_Mode(nMDBG::tStatus2* s)
04722 {
04723    return getAO_FIFO_Mode(s);
04724 }
04725 
04726 inline void tMSeries::tAO_Mode_2::setRegisterMap(tMSeries* pMSeries)
04727 {
04728    _MSeries = pMSeries;
04729 }
04730 
04731 inline tMSeries::tAO_Output_Control::tAO_Output_Control()
04732 {
04733    _softCopy = 0;
04734 }
04735 
04736 inline tMSeries* tMSeries::tAO_Output_Control::registerMap(void)
04737 {
04738    return _MSeries;
04739 }
04740 
04741 inline void tMSeries::tAO_Output_Control::flushBus(nMDBG::tStatus2* s)
04742 {
04743    _MSeries->flushBus(s);
04744 }
04745 
04746 inline tMSeries::tAO_Output_Control& tMSeries::tAO_Output_Control::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
04747 {
04748    if (s && s->isFatal()) return *this;
04749    _softCopy = fieldValue;
04750    return *this;
04751 }
04752 
04753 inline u16 tMSeries::tAO_Output_Control::getRegister(nMDBG::tStatus2*) const
04754 {
04755    return _softCopy;
04756 }
04757 
04758 inline void tMSeries::tAO_Output_Control::flush(nMDBG::tStatus2* s)
04759 {
04760    if (s && s->isFatal()) return;
04761    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
04762    _softCopy &= (u16)(0xffffffff);
04763 }
04764 
04765 inline void tMSeries::tAO_Output_Control::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
04766 {
04767    if (s && s->isFatal()) return;
04768    _softCopy = fieldValue;
04769    flush(s);
04770 }
04771 
04772 inline u16 tMSeries::tAO_Output_Control::readRegister(nMDBG::tStatus2*) 
04773 {
04774    return _softCopy;
04775 }
04776 
04777 
04778 inline tMSeries::tAO_Output_Control& tMSeries::tAO_Output_Control::setAO_UPDATE_Output_Select(tAO_UPDATE_Output_Select fieldValue, nMDBG::tStatus2* s)
04779 {
04780    if (s && s->isFatal()) return *this;
04781    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffc)) | (((u16)fieldValue << 0x0) & ~0xfffc);
04782    setRegister(newValue, s);
04783    return *this;
04784 }
04785 
04786 inline tMSeries::tAO_Output_Control::tAO_UPDATE_Output_Select tMSeries::tAO_Output_Control::getAO_UPDATE_Output_Select(nMDBG::tStatus2*) const
04787 {
04788    return (tAO_UPDATE_Output_Select)((_softCopy & ~0xfffc) >> 0x0);
04789 }
04790 
04791 inline void tMSeries::tAO_Output_Control::writeAO_UPDATE_Output_Select(tAO_UPDATE_Output_Select fieldValue, nMDBG::tStatus2* s)
04792 {
04793    setAO_UPDATE_Output_Select(fieldValue, s);
04794    flush(s);
04795 }
04796 inline tMSeries::tAO_Output_Control::tAO_UPDATE_Output_Select tMSeries::tAO_Output_Control::readAO_UPDATE_Output_Select(nMDBG::tStatus2* s)
04797 {
04798    return getAO_UPDATE_Output_Select(s);
04799 }
04800 
04801 inline tMSeries::tAO_Output_Control& tMSeries::tAO_Output_Control::setAO_External_Gate_Polarity(tAO_External_Gate_Polarity fieldValue, nMDBG::tStatus2* s)
04802 {
04803    if (s && s->isFatal()) return *this;
04804    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
04805    setRegister(newValue, s);
04806    return *this;
04807 }
04808 
04809 inline tMSeries::tAO_Output_Control::tAO_External_Gate_Polarity tMSeries::tAO_Output_Control::getAO_External_Gate_Polarity(nMDBG::tStatus2*) const
04810 {
04811    return (tAO_External_Gate_Polarity)((_softCopy & ~0xfff7) >> 0x3);
04812 }
04813 
04814 inline void tMSeries::tAO_Output_Control::writeAO_External_Gate_Polarity(tAO_External_Gate_Polarity fieldValue, nMDBG::tStatus2* s)
04815 {
04816    setAO_External_Gate_Polarity(fieldValue, s);
04817    flush(s);
04818 }
04819 inline tMSeries::tAO_Output_Control::tAO_External_Gate_Polarity tMSeries::tAO_Output_Control::readAO_External_Gate_Polarity(nMDBG::tStatus2* s)
04820 {
04821    return getAO_External_Gate_Polarity(s);
04822 }
04823 
04824 inline tMSeries::tAO_Output_Control& tMSeries::tAO_Output_Control::setAO_Number_Of_Channels(u16 fieldValue, nMDBG::tStatus2* s)
04825 {
04826    if (s && s->isFatal()) return *this;
04827    u16 newValue;   newValue = ((u16)(_softCopy & 0xfc3f)) | (((u16)fieldValue << 0x6) & ~0xfc3f);
04828    setRegister(newValue, s);
04829    return *this;
04830 }
04831 
04832 inline u16 tMSeries::tAO_Output_Control::getAO_Number_Of_Channels(nMDBG::tStatus2*) const
04833 {
04834    return (u16)((_softCopy & ~0xfc3f) >> 0x6);
04835 }
04836 
04837 inline void tMSeries::tAO_Output_Control::writeAO_Number_Of_Channels(u16 fieldValue, nMDBG::tStatus2* s)
04838 {
04839    setAO_Number_Of_Channels(fieldValue, s);
04840    flush(s);
04841 }
04842 inline u16 tMSeries::tAO_Output_Control::readAO_Number_Of_Channels(nMDBG::tStatus2* s)
04843 {
04844    return getAO_Number_Of_Channels(s);
04845 }
04846 
04847 inline tMSeries::tAO_Output_Control& tMSeries::tAO_Output_Control::setAO_External_Gate_Select(tAO_External_Gate_Select fieldValue, nMDBG::tStatus2* s)
04848 {
04849    if (s && s->isFatal()) return *this;
04850    u16 newValue;   newValue = ((u16)(_softCopy & 0x83ff)) | (((u16)fieldValue << 0xa) & ~0x83ff);
04851    setRegister(newValue, s);
04852    return *this;
04853 }
04854 
04855 inline tMSeries::tAO_Output_Control::tAO_External_Gate_Select tMSeries::tAO_Output_Control::getAO_External_Gate_Select(nMDBG::tStatus2*) const
04856 {
04857    return (tAO_External_Gate_Select)((_softCopy & ~0x83ff) >> 0xa);
04858 }
04859 
04860 inline void tMSeries::tAO_Output_Control::writeAO_External_Gate_Select(tAO_External_Gate_Select fieldValue, nMDBG::tStatus2* s)
04861 {
04862    setAO_External_Gate_Select(fieldValue, s);
04863    flush(s);
04864 }
04865 inline tMSeries::tAO_Output_Control::tAO_External_Gate_Select tMSeries::tAO_Output_Control::readAO_External_Gate_Select(nMDBG::tStatus2* s)
04866 {
04867    return getAO_External_Gate_Select(s);
04868 }
04869 
04870 inline tMSeries::tAO_Output_Control& tMSeries::tAO_Output_Control::setAO_External_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* s)
04871 {
04872    if (s && s->isFatal()) return *this;
04873    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
04874    setRegister(newValue, s);
04875    return *this;
04876 }
04877 
04878 inline u16 tMSeries::tAO_Output_Control::getAO_External_Gate_Enable(nMDBG::tStatus2*) const
04879 {
04880    return (u16)((_softCopy & ~0x7fff) >> 0xf);
04881 }
04882 
04883 inline void tMSeries::tAO_Output_Control::writeAO_External_Gate_Enable(u16 fieldValue, nMDBG::tStatus2* s)
04884 {
04885    setAO_External_Gate_Enable(fieldValue, s);
04886    flush(s);
04887 }
04888 inline u16 tMSeries::tAO_Output_Control::readAO_External_Gate_Enable(nMDBG::tStatus2* s)
04889 {
04890    return getAO_External_Gate_Enable(s);
04891 }
04892 
04893 inline void tMSeries::tAO_Output_Control::setRegisterMap(tMSeries* pMSeries)
04894 {
04895    _MSeries = pMSeries;
04896 }
04897 
04898 inline tMSeries::tAO_Mode_3::tAO_Mode_3()
04899 {
04900    _softCopy = 0;
04901 }
04902 
04903 inline tMSeries* tMSeries::tAO_Mode_3::registerMap(void)
04904 {
04905    return _MSeries;
04906 }
04907 
04908 inline void tMSeries::tAO_Mode_3::flushBus(nMDBG::tStatus2* s)
04909 {
04910    _MSeries->flushBus(s);
04911 }
04912 
04913 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
04914 {
04915    if (s && s->isFatal()) return *this;
04916    _softCopy = fieldValue;
04917    return *this;
04918 }
04919 
04920 inline u16 tMSeries::tAO_Mode_3::getRegister(nMDBG::tStatus2*) const
04921 {
04922    return _softCopy;
04923 }
04924 
04925 inline void tMSeries::tAO_Mode_3::flush(nMDBG::tStatus2* s)
04926 {
04927    if (s && s->isFatal()) return;
04928    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
04929    _softCopy &= (u16)(0xffffffff);
04930 }
04931 
04932 inline void tMSeries::tAO_Mode_3::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
04933 {
04934    if (s && s->isFatal()) return;
04935    _softCopy = fieldValue;
04936    flush(s);
04937 }
04938 
04939 inline u16 tMSeries::tAO_Mode_3::readRegister(nMDBG::tStatus2*) 
04940 {
04941    return _softCopy;
04942 }
04943 
04944 
04945 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_Last_Gate_Disable(u16 fieldValue, nMDBG::tStatus2* s)
04946 {
04947    if (s && s->isFatal()) return *this;
04948    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
04949    setRegister(newValue, s);
04950    return *this;
04951 }
04952 
04953 inline u16 tMSeries::tAO_Mode_3::getAO_Last_Gate_Disable(nMDBG::tStatus2*) const
04954 {
04955    return (u16)((_softCopy & ~0xfffe) >> 0x0);
04956 }
04957 
04958 inline void tMSeries::tAO_Mode_3::writeAO_Last_Gate_Disable(u16 fieldValue, nMDBG::tStatus2* s)
04959 {
04960    setAO_Last_Gate_Disable(fieldValue, s);
04961    flush(s);
04962 }
04963 inline u16 tMSeries::tAO_Mode_3::readAO_Last_Gate_Disable(nMDBG::tStatus2* s)
04964 {
04965    return getAO_Last_Gate_Disable(s);
04966 }
04967 
04968 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_Software_Gate(u16 fieldValue, nMDBG::tStatus2* s)
04969 {
04970    if (s && s->isFatal()) return *this;
04971    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffd)) | (((u16)fieldValue << 0x1) & ~0xfffd);
04972    setRegister(newValue, s);
04973    return *this;
04974 }
04975 
04976 inline u16 tMSeries::tAO_Mode_3::getAO_Software_Gate(nMDBG::tStatus2*) const
04977 {
04978    return (u16)((_softCopy & ~0xfffd) >> 0x1);
04979 }
04980 
04981 inline void tMSeries::tAO_Mode_3::writeAO_Software_Gate(u16 fieldValue, nMDBG::tStatus2* s)
04982 {
04983    setAO_Software_Gate(fieldValue, s);
04984    flush(s);
04985 }
04986 inline u16 tMSeries::tAO_Mode_3::readAO_Software_Gate(nMDBG::tStatus2* s)
04987 {
04988    return getAO_Software_Gate(s);
04989 }
04990 
04991 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_Not_An_UPDATE(u16 fieldValue, nMDBG::tStatus2* s)
04992 {
04993    if (s && s->isFatal()) return *this;
04994    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
04995    setRegister(newValue, s);
04996    return *this;
04997 }
04998 
04999 inline u16 tMSeries::tAO_Mode_3::getAO_Not_An_UPDATE(nMDBG::tStatus2*) const
05000 {
05001    return (u16)((_softCopy & ~0xfffb) >> 0x2);
05002 }
05003 
05004 inline void tMSeries::tAO_Mode_3::writeAO_Not_An_UPDATE(u16 fieldValue, nMDBG::tStatus2* s)
05005 {
05006    setAO_Not_An_UPDATE(fieldValue, s);
05007    flush(s);
05008 }
05009 inline u16 tMSeries::tAO_Mode_3::readAO_Not_An_UPDATE(nMDBG::tStatus2* s)
05010 {
05011    return getAO_Not_An_UPDATE(s);
05012 }
05013 
05014 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_Stop_On_BC_TC_Error(tBoolean fieldValue, nMDBG::tStatus2* s)
05015 {
05016    if (s && s->isFatal()) return *this;
05017    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
05018    setRegister(newValue, s);
05019    return *this;
05020 }
05021 
05022 inline tBoolean tMSeries::tAO_Mode_3::getAO_Stop_On_BC_TC_Error(nMDBG::tStatus2*) const
05023 {
05024    return (tBoolean)((_softCopy & ~0xfff7) >> 0x3);
05025 }
05026 
05027 inline void tMSeries::tAO_Mode_3::writeAO_Stop_On_BC_TC_Error(tBoolean fieldValue, nMDBG::tStatus2* s)
05028 {
05029    setAO_Stop_On_BC_TC_Error(fieldValue, s);
05030    flush(s);
05031 }
05032 inline tBoolean tMSeries::tAO_Mode_3::readAO_Stop_On_BC_TC_Error(nMDBG::tStatus2* s)
05033 {
05034    return getAO_Stop_On_BC_TC_Error(s);
05035 }
05036 
05037 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_Stop_On_BC_TC_Trigger_Error(tBoolean fieldValue, nMDBG::tStatus2* s)
05038 {
05039    if (s && s->isFatal()) return *this;
05040    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
05041    setRegister(newValue, s);
05042    return *this;
05043 }
05044 
05045 inline tBoolean tMSeries::tAO_Mode_3::getAO_Stop_On_BC_TC_Trigger_Error(nMDBG::tStatus2*) const
05046 {
05047    return (tBoolean)((_softCopy & ~0xffef) >> 0x4);
05048 }
05049 
05050 inline void tMSeries::tAO_Mode_3::writeAO_Stop_On_BC_TC_Trigger_Error(tBoolean fieldValue, nMDBG::tStatus2* s)
05051 {
05052    setAO_Stop_On_BC_TC_Trigger_Error(fieldValue, s);
05053    flush(s);
05054 }
05055 inline tBoolean tMSeries::tAO_Mode_3::readAO_Stop_On_BC_TC_Trigger_Error(nMDBG::tStatus2* s)
05056 {
05057    return getAO_Stop_On_BC_TC_Trigger_Error(s);
05058 }
05059 
05060 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_Stop_On_Overrun_Error(tBoolean fieldValue, nMDBG::tStatus2* s)
05061 {
05062    if (s && s->isFatal()) return *this;
05063    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
05064    setRegister(newValue, s);
05065    return *this;
05066 }
05067 
05068 inline tBoolean tMSeries::tAO_Mode_3::getAO_Stop_On_Overrun_Error(nMDBG::tStatus2*) const
05069 {
05070    return (tBoolean)((_softCopy & ~0xffdf) >> 0x5);
05071 }
05072 
05073 inline void tMSeries::tAO_Mode_3::writeAO_Stop_On_Overrun_Error(tBoolean fieldValue, nMDBG::tStatus2* s)
05074 {
05075    setAO_Stop_On_Overrun_Error(fieldValue, s);
05076    flush(s);
05077 }
05078 inline tBoolean tMSeries::tAO_Mode_3::readAO_Stop_On_Overrun_Error(nMDBG::tStatus2* s)
05079 {
05080    return getAO_Stop_On_Overrun_Error(s);
05081 }
05082 
05083 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_Trigger_Length(tAO_Trigger_Length fieldValue, nMDBG::tStatus2* s)
05084 {
05085    if (s && s->isFatal()) return *this;
05086    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
05087    setRegister(newValue, s);
05088    return *this;
05089 }
05090 
05091 inline tMSeries::tAO_Mode_3::tAO_Trigger_Length tMSeries::tAO_Mode_3::getAO_Trigger_Length(nMDBG::tStatus2*) const
05092 {
05093    return (tAO_Trigger_Length)((_softCopy & ~0xf7ff) >> 0xb);
05094 }
05095 
05096 inline void tMSeries::tAO_Mode_3::writeAO_Trigger_Length(tAO_Trigger_Length fieldValue, nMDBG::tStatus2* s)
05097 {
05098    setAO_Trigger_Length(fieldValue, s);
05099    flush(s);
05100 }
05101 inline tMSeries::tAO_Mode_3::tAO_Trigger_Length tMSeries::tAO_Mode_3::readAO_Trigger_Length(nMDBG::tStatus2* s)
05102 {
05103    return getAO_Trigger_Length(s);
05104 }
05105 
05106 inline tMSeries::tAO_Mode_3& tMSeries::tAO_Mode_3::setAO_UC_Switch_Load_Every_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
05107 {
05108    if (s && s->isFatal()) return *this;
05109    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
05110    setRegister(newValue, s);
05111    return *this;
05112 }
05113 
05114 inline u16 tMSeries::tAO_Mode_3::getAO_UC_Switch_Load_Every_BC_TC(nMDBG::tStatus2*) const
05115 {
05116    return (u16)((_softCopy & ~0xefff) >> 0xc);
05117 }
05118 
05119 inline void tMSeries::tAO_Mode_3::writeAO_UC_Switch_Load_Every_BC_TC(u16 fieldValue, nMDBG::tStatus2* s)
05120 {
05121    setAO_UC_Switch_Load_Every_BC_TC(fieldValue, s);
05122    flush(s);
05123 }
05124 inline u16 tMSeries::tAO_Mode_3::readAO_UC_Switch_Load_Every_BC_TC(nMDBG::tStatus2* s)
05125 {
05126    return getAO_UC_Switch_Load_Every_BC_TC(s);
05127 }
05128 
05129 inline void tMSeries::tAO_Mode_3::setRegisterMap(tMSeries* pMSeries)
05130 {
05131    _MSeries = pMSeries;
05132 }
05133 
05134 inline tMSeries::tAO_Personal::tAO_Personal()
05135 {
05136    _softCopy = 0;
05137 }
05138 
05139 inline tMSeries* tMSeries::tAO_Personal::registerMap(void)
05140 {
05141    return _MSeries;
05142 }
05143 
05144 inline void tMSeries::tAO_Personal::flushBus(nMDBG::tStatus2* s)
05145 {
05146    _MSeries->flushBus(s);
05147 }
05148 
05149 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
05150 {
05151    if (s && s->isFatal()) return *this;
05152    _softCopy = fieldValue;
05153    return *this;
05154 }
05155 
05156 inline u16 tMSeries::tAO_Personal::getRegister(nMDBG::tStatus2*) const
05157 {
05158    return _softCopy;
05159 }
05160 
05161 inline void tMSeries::tAO_Personal::flush(nMDBG::tStatus2* s)
05162 {
05163    if (s && s->isFatal()) return;
05164    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
05165    _softCopy &= (u16)(0xffffffff);
05166 }
05167 
05168 inline void tMSeries::tAO_Personal::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
05169 {
05170    if (s && s->isFatal()) return;
05171    _softCopy = fieldValue;
05172    flush(s);
05173 }
05174 
05175 inline u16 tMSeries::tAO_Personal::readRegister(nMDBG::tStatus2*) 
05176 {
05177    return _softCopy;
05178 }
05179 
05180 
05181 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_Interval_Buffer_Mode(tBoolean fieldValue, nMDBG::tStatus2* s)
05182 {
05183    if (s && s->isFatal()) return *this;
05184    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
05185    setRegister(newValue, s);
05186    return *this;
05187 }
05188 
05189 inline tBoolean tMSeries::tAO_Personal::getAO_Interval_Buffer_Mode(nMDBG::tStatus2*) const
05190 {
05191    return (tBoolean)((_softCopy & ~0xfff7) >> 0x3);
05192 }
05193 
05194 inline void tMSeries::tAO_Personal::writeAO_Interval_Buffer_Mode(tBoolean fieldValue, nMDBG::tStatus2* s)
05195 {
05196    setAO_Interval_Buffer_Mode(fieldValue, s);
05197    flush(s);
05198 }
05199 inline tBoolean tMSeries::tAO_Personal::readAO_Interval_Buffer_Mode(nMDBG::tStatus2* s)
05200 {
05201    return getAO_Interval_Buffer_Mode(s);
05202 }
05203 
05204 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_BC_Source_Select(tAO_BC_Source_Select fieldValue, nMDBG::tStatus2* s)
05205 {
05206    if (s && s->isFatal()) return *this;
05207    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
05208    setRegister(newValue, s);
05209    return *this;
05210 }
05211 
05212 inline tMSeries::tAO_Personal::tAO_BC_Source_Select tMSeries::tAO_Personal::getAO_BC_Source_Select(nMDBG::tStatus2*) const
05213 {
05214    return (tAO_BC_Source_Select)((_softCopy & ~0xffef) >> 0x4);
05215 }
05216 
05217 inline void tMSeries::tAO_Personal::writeAO_BC_Source_Select(tAO_BC_Source_Select fieldValue, nMDBG::tStatus2* s)
05218 {
05219    setAO_BC_Source_Select(fieldValue, s);
05220    flush(s);
05221 }
05222 inline tMSeries::tAO_Personal::tAO_BC_Source_Select tMSeries::tAO_Personal::readAO_BC_Source_Select(nMDBG::tStatus2* s)
05223 {
05224    return getAO_BC_Source_Select(s);
05225 }
05226 
05227 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_UPDATE_Pulse_Width(tAO_UPDATE_Pulse_Width fieldValue, nMDBG::tStatus2* s)
05228 {
05229    if (s && s->isFatal()) return *this;
05230    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
05231    setRegister(newValue, s);
05232    return *this;
05233 }
05234 
05235 inline tMSeries::tAO_Personal::tAO_UPDATE_Pulse_Width tMSeries::tAO_Personal::getAO_UPDATE_Pulse_Width(nMDBG::tStatus2*) const
05236 {
05237    return (tAO_UPDATE_Pulse_Width)((_softCopy & ~0xffdf) >> 0x5);
05238 }
05239 
05240 inline void tMSeries::tAO_Personal::writeAO_UPDATE_Pulse_Width(tAO_UPDATE_Pulse_Width fieldValue, nMDBG::tStatus2* s)
05241 {
05242    setAO_UPDATE_Pulse_Width(fieldValue, s);
05243    flush(s);
05244 }
05245 inline tMSeries::tAO_Personal::tAO_UPDATE_Pulse_Width tMSeries::tAO_Personal::readAO_UPDATE_Pulse_Width(nMDBG::tStatus2* s)
05246 {
05247    return getAO_UPDATE_Pulse_Width(s);
05248 }
05249 
05250 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_UPDATE_Pulse_Timebase(tAO_UPDATE_Pulse_Timebase fieldValue, nMDBG::tStatus2* s)
05251 {
05252    if (s && s->isFatal()) return *this;
05253    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
05254    setRegister(newValue, s);
05255    return *this;
05256 }
05257 
05258 inline tMSeries::tAO_Personal::tAO_UPDATE_Pulse_Timebase tMSeries::tAO_Personal::getAO_UPDATE_Pulse_Timebase(nMDBG::tStatus2*) const
05259 {
05260    return (tAO_UPDATE_Pulse_Timebase)((_softCopy & ~0xffbf) >> 0x6);
05261 }
05262 
05263 inline void tMSeries::tAO_Personal::writeAO_UPDATE_Pulse_Timebase(tAO_UPDATE_Pulse_Timebase fieldValue, nMDBG::tStatus2* s)
05264 {
05265    setAO_UPDATE_Pulse_Timebase(fieldValue, s);
05266    flush(s);
05267 }
05268 inline tMSeries::tAO_Personal::tAO_UPDATE_Pulse_Timebase tMSeries::tAO_Personal::readAO_UPDATE_Pulse_Timebase(nMDBG::tStatus2* s)
05269 {
05270    return getAO_UPDATE_Pulse_Timebase(s);
05271 }
05272 
05273 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_UPDATE_Original_Pulse(tAO_UPDATE_Original_Pulse fieldValue, nMDBG::tStatus2* s)
05274 {
05275    if (s && s->isFatal()) return *this;
05276    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
05277    setRegister(newValue, s);
05278    return *this;
05279 }
05280 
05281 inline tMSeries::tAO_Personal::tAO_UPDATE_Original_Pulse tMSeries::tAO_Personal::getAO_UPDATE_Original_Pulse(nMDBG::tStatus2*) const
05282 {
05283    return (tAO_UPDATE_Original_Pulse)((_softCopy & ~0xff7f) >> 0x7);
05284 }
05285 
05286 inline void tMSeries::tAO_Personal::writeAO_UPDATE_Original_Pulse(tAO_UPDATE_Original_Pulse fieldValue, nMDBG::tStatus2* s)
05287 {
05288    setAO_UPDATE_Original_Pulse(fieldValue, s);
05289    flush(s);
05290 }
05291 inline tMSeries::tAO_Personal::tAO_UPDATE_Original_Pulse tMSeries::tAO_Personal::readAO_UPDATE_Original_Pulse(nMDBG::tStatus2* s)
05292 {
05293    return getAO_UPDATE_Original_Pulse(s);
05294 }
05295 
05296 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_FIFO_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
05297 {
05298    if (s && s->isFatal()) return *this;
05299    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
05300    setRegister(newValue, s);
05301    return *this;
05302 }
05303 
05304 inline tBoolean tMSeries::tAO_Personal::getAO_FIFO_Enable(nMDBG::tStatus2*) const
05305 {
05306    return (tBoolean)((_softCopy & ~0xfbff) >> 0xa);
05307 }
05308 
05309 inline void tMSeries::tAO_Personal::writeAO_FIFO_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
05310 {
05311    setAO_FIFO_Enable(fieldValue, s);
05312    flush(s);
05313 }
05314 inline tBoolean tMSeries::tAO_Personal::readAO_FIFO_Enable(nMDBG::tStatus2* s)
05315 {
05316    return getAO_FIFO_Enable(s);
05317 }
05318 
05319 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_TMRDACWR_Pulse_Width(tAO_TMRDACWR_Pulse_Width fieldValue, nMDBG::tStatus2* s)
05320 {
05321    if (s && s->isFatal()) return *this;
05322    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
05323    setRegister(newValue, s);
05324    return *this;
05325 }
05326 
05327 inline tMSeries::tAO_Personal::tAO_TMRDACWR_Pulse_Width tMSeries::tAO_Personal::getAO_TMRDACWR_Pulse_Width(nMDBG::tStatus2*) const
05328 {
05329    return (tAO_TMRDACWR_Pulse_Width)((_softCopy & ~0xefff) >> 0xc);
05330 }
05331 
05332 inline void tMSeries::tAO_Personal::writeAO_TMRDACWR_Pulse_Width(tAO_TMRDACWR_Pulse_Width fieldValue, nMDBG::tStatus2* s)
05333 {
05334    setAO_TMRDACWR_Pulse_Width(fieldValue, s);
05335    flush(s);
05336 }
05337 inline tMSeries::tAO_Personal::tAO_TMRDACWR_Pulse_Width tMSeries::tAO_Personal::readAO_TMRDACWR_Pulse_Width(nMDBG::tStatus2* s)
05338 {
05339    return getAO_TMRDACWR_Pulse_Width(s);
05340 }
05341 
05342 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_Number_Of_DAC_Packages(tAO_Number_Of_DAC_Packages fieldValue, nMDBG::tStatus2* s)
05343 {
05344    if (s && s->isFatal()) return *this;
05345    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
05346    setRegister(newValue, s);
05347    return *this;
05348 }
05349 
05350 inline tMSeries::tAO_Personal::tAO_Number_Of_DAC_Packages tMSeries::tAO_Personal::getAO_Number_Of_DAC_Packages(nMDBG::tStatus2*) const
05351 {
05352    return (tAO_Number_Of_DAC_Packages)((_softCopy & ~0xbfff) >> 0xe);
05353 }
05354 
05355 inline void tMSeries::tAO_Personal::writeAO_Number_Of_DAC_Packages(tAO_Number_Of_DAC_Packages fieldValue, nMDBG::tStatus2* s)
05356 {
05357    setAO_Number_Of_DAC_Packages(fieldValue, s);
05358    flush(s);
05359 }
05360 inline tMSeries::tAO_Personal::tAO_Number_Of_DAC_Packages tMSeries::tAO_Personal::readAO_Number_Of_DAC_Packages(nMDBG::tStatus2* s)
05361 {
05362    return getAO_Number_Of_DAC_Packages(s);
05363 }
05364 
05365 inline tMSeries::tAO_Personal& tMSeries::tAO_Personal::setAO_Multiple_DACS_Per_Package(tBoolean fieldValue, nMDBG::tStatus2* s)
05366 {
05367    if (s && s->isFatal()) return *this;
05368    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
05369    setRegister(newValue, s);
05370    return *this;
05371 }
05372 
05373 inline tBoolean tMSeries::tAO_Personal::getAO_Multiple_DACS_Per_Package(nMDBG::tStatus2*) const
05374 {
05375    return (tBoolean)((_softCopy & ~0x7fff) >> 0xf);
05376 }
05377 
05378 inline void tMSeries::tAO_Personal::writeAO_Multiple_DACS_Per_Package(tBoolean fieldValue, nMDBG::tStatus2* s)
05379 {
05380    setAO_Multiple_DACS_Per_Package(fieldValue, s);
05381    flush(s);
05382 }
05383 inline tBoolean tMSeries::tAO_Personal::readAO_Multiple_DACS_Per_Package(nMDBG::tStatus2* s)
05384 {
05385    return getAO_Multiple_DACS_Per_Package(s);
05386 }
05387 
05388 inline void tMSeries::tAO_Personal::setRegisterMap(tMSeries* pMSeries)
05389 {
05390    _MSeries = pMSeries;
05391 }
05392 
05393 inline tMSeries::tAO_START_Select::tAO_START_Select()
05394 {
05395    _softCopy = 0;
05396 }
05397 
05398 inline tMSeries* tMSeries::tAO_START_Select::registerMap(void)
05399 {
05400    return _MSeries;
05401 }
05402 
05403 inline void tMSeries::tAO_START_Select::flushBus(nMDBG::tStatus2* s)
05404 {
05405    _MSeries->flushBus(s);
05406 }
05407 
05408 inline tMSeries::tAO_START_Select& tMSeries::tAO_START_Select::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
05409 {
05410    if (s && s->isFatal()) return *this;
05411    _softCopy = fieldValue;
05412    return *this;
05413 }
05414 
05415 inline u16 tMSeries::tAO_START_Select::getRegister(nMDBG::tStatus2*) const
05416 {
05417    return _softCopy;
05418 }
05419 
05420 inline void tMSeries::tAO_START_Select::flush(nMDBG::tStatus2* s)
05421 {
05422    if (s && s->isFatal()) return;
05423    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
05424    _softCopy &= (u16)(0xffffffff);
05425 }
05426 
05427 inline void tMSeries::tAO_START_Select::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
05428 {
05429    if (s && s->isFatal()) return;
05430    _softCopy = fieldValue;
05431    flush(s);
05432 }
05433 
05434 inline u16 tMSeries::tAO_START_Select::readRegister(nMDBG::tStatus2*) 
05435 {
05436    return _softCopy;
05437 }
05438 
05439 
05440 inline tMSeries::tAO_START_Select& tMSeries::tAO_START_Select::set(tDefault fieldValue, nMDBG::tStatus2* s)
05441 {
05442    if (s && s->isFatal()) return *this;
05443    u16 newValue;   newValue = ((u16)(_softCopy & 0xffe0)) | (((u16)fieldValue << 0x0) & ~0xffe0);
05444    setRegister(newValue, s);
05445    return *this;
05446 }
05447 
05448 inline tMSeries::tAO_START_Select::tDefault tMSeries::tAO_START_Select::get(nMDBG::tStatus2*) const
05449 {
05450    return (tDefault)((_softCopy & ~0xffe0) >> 0x0);
05451 }
05452 
05453 inline void tMSeries::tAO_START_Select::write(tDefault fieldValue, nMDBG::tStatus2* s)
05454 {
05455    set(fieldValue, s);
05456    flush(s);
05457 }
05458 inline tMSeries::tAO_START_Select::tDefault tMSeries::tAO_START_Select::read(nMDBG::tStatus2* s)
05459 {
05460    return get(s);
05461 }
05462 
05463 inline tMSeries::tAO_START_Select& tMSeries::tAO_START_Select::setAO_START_Edge(u16 fieldValue, nMDBG::tStatus2* s)
05464 {
05465    if (s && s->isFatal()) return *this;
05466    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
05467    setRegister(newValue, s);
05468    return *this;
05469 }
05470 
05471 inline u16 tMSeries::tAO_START_Select::getAO_START_Edge(nMDBG::tStatus2*) const
05472 {
05473    return (u16)((_softCopy & ~0xffdf) >> 0x5);
05474 }
05475 
05476 inline void tMSeries::tAO_START_Select::writeAO_START_Edge(u16 fieldValue, nMDBG::tStatus2* s)
05477 {
05478    setAO_START_Edge(fieldValue, s);
05479    flush(s);
05480 }
05481 inline u16 tMSeries::tAO_START_Select::readAO_START_Edge(nMDBG::tStatus2* s)
05482 {
05483    return getAO_START_Edge(s);
05484 }
05485 
05486 inline tMSeries::tAO_START_Select& tMSeries::tAO_START_Select::setAO_START_Sync(u16 fieldValue, nMDBG::tStatus2* s)
05487 {
05488    if (s && s->isFatal()) return *this;
05489    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
05490    setRegister(newValue, s);
05491    return *this;
05492 }
05493 
05494 inline u16 tMSeries::tAO_START_Select::getAO_START_Sync(nMDBG::tStatus2*) const
05495 {
05496    return (u16)((_softCopy & ~0xffbf) >> 0x6);
05497 }
05498 
05499 inline void tMSeries::tAO_START_Select::writeAO_START_Sync(u16 fieldValue, nMDBG::tStatus2* s)
05500 {
05501    setAO_START_Sync(fieldValue, s);
05502    flush(s);
05503 }
05504 inline u16 tMSeries::tAO_START_Select::readAO_START_Sync(nMDBG::tStatus2* s)
05505 {
05506    return getAO_START_Sync(s);
05507 }
05508 
05509 inline tMSeries::tAO_START_Select& tMSeries::tAO_START_Select::setAO_AOFREQ_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
05510 {
05511    if (s && s->isFatal()) return *this;
05512    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
05513    setRegister(newValue, s);
05514    return *this;
05515 }
05516 
05517 inline tBoolean tMSeries::tAO_START_Select::getAO_AOFREQ_Enable(nMDBG::tStatus2*) const
05518 {
05519    return (tBoolean)((_softCopy & ~0xefff) >> 0xc);
05520 }
05521 
05522 inline void tMSeries::tAO_START_Select::writeAO_AOFREQ_Enable(tBoolean fieldValue, nMDBG::tStatus2* s)
05523 {
05524    setAO_AOFREQ_Enable(fieldValue, s);
05525    flush(s);
05526 }
05527 inline tBoolean tMSeries::tAO_START_Select::readAO_AOFREQ_Enable(nMDBG::tStatus2* s)
05528 {
05529    return getAO_AOFREQ_Enable(s);
05530 }
05531 
05532 inline tMSeries::tAO_START_Select& tMSeries::tAO_START_Select::setAO_START_Polarity(tAO_START_Polarity fieldValue, nMDBG::tStatus2* s)
05533 {
05534    if (s && s->isFatal()) return *this;
05535    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
05536    setRegister(newValue, s);
05537    return *this;
05538 }
05539 
05540 inline tMSeries::tAO_START_Select::tAO_START_Polarity tMSeries::tAO_START_Select::getAO_START_Polarity(nMDBG::tStatus2*) const
05541 {
05542    return (tAO_START_Polarity)((_softCopy & ~0xdfff) >> 0xd);
05543 }
05544 
05545 inline void tMSeries::tAO_START_Select::writeAO_START_Polarity(tAO_START_Polarity fieldValue, nMDBG::tStatus2* s)
05546 {
05547    setAO_START_Polarity(fieldValue, s);
05548    flush(s);
05549 }
05550 inline tMSeries::tAO_START_Select::tAO_START_Polarity tMSeries::tAO_START_Select::readAO_START_Polarity(nMDBG::tStatus2* s)
05551 {
05552    return getAO_START_Polarity(s);
05553 }
05554 
05555 inline void tMSeries::tAO_START_Select::setRegisterMap(tMSeries* pMSeries)
05556 {
05557    _MSeries = pMSeries;
05558 }
05559 
05560 inline tMSeries::tAO_Status_2::tAO_Status_2()
05561 {
05562    _softCopy = 0;
05563 }
05564 
05565 inline tMSeries* tMSeries::tAO_Status_2::registerMap(void)
05566 {
05567    return _MSeries;
05568 }
05569 
05570 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
05571 {
05572    if (s && s->isFatal()) return *this;
05573    _softCopy = fieldValue;
05574    return *this;
05575 }
05576 
05577 inline u16 tMSeries::tAO_Status_2::getRegister(nMDBG::tStatus2*) const
05578 {
05579    return _softCopy;
05580 }
05581 
05582 inline void tMSeries::tAO_Status_2::refresh(nMDBG::tStatus2* s)
05583 {
05584    _softCopy = tIOStrategy::read(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), s);
05585 }
05586 
05587 inline u16 tMSeries::tAO_Status_2::readRegister(nMDBG::tStatus2* s) 
05588 {
05589    refresh(s);
05590    return _softCopy;
05591 }
05592 
05593 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_BC_Armed_St(u16 fieldValue, nMDBG::tStatus2* s)
05594 {
05595    if (s && s->isFatal()) return *this;
05596    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
05597    setRegister(newValue, s);
05598    return *this;
05599 }
05600 
05601 inline u16 tMSeries::tAO_Status_2::getAO_BC_Armed_St(nMDBG::tStatus2*) const
05602 {
05603    return (u16)((_softCopy & ~0xfffe) >> 0x0);
05604 }
05605 
05606 inline u16 tMSeries::tAO_Status_2::readAO_BC_Armed_St(nMDBG::tStatus2* s)
05607 {
05608    refresh(s);
05609    return getAO_BC_Armed_St(s);
05610 }
05611 
05612 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_BC_Save_St(u16 fieldValue, nMDBG::tStatus2* s)
05613 {
05614    if (s && s->isFatal()) return *this;
05615    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
05616    setRegister(newValue, s);
05617    return *this;
05618 }
05619 
05620 inline u16 tMSeries::tAO_Status_2::getAO_BC_Save_St(nMDBG::tStatus2*) const
05621 {
05622    return (u16)((_softCopy & ~0xfffb) >> 0x2);
05623 }
05624 
05625 inline u16 tMSeries::tAO_Status_2::readAO_BC_Save_St(nMDBG::tStatus2* s)
05626 {
05627    refresh(s);
05628    return getAO_BC_Save_St(s);
05629 }
05630 
05631 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_BC_Q_St(u16 fieldValue, nMDBG::tStatus2* s)
05632 {
05633    if (s && s->isFatal()) return *this;
05634    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
05635    setRegister(newValue, s);
05636    return *this;
05637 }
05638 
05639 inline u16 tMSeries::tAO_Status_2::getAO_BC_Q_St(nMDBG::tStatus2*) const
05640 {
05641    return (u16)((_softCopy & ~0xfff7) >> 0x3);
05642 }
05643 
05644 inline u16 tMSeries::tAO_Status_2::readAO_BC_Q_St(nMDBG::tStatus2* s)
05645 {
05646    refresh(s);
05647    return getAO_BC_Q_St(s);
05648 }
05649 
05650 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_BC_TC_Trigger_Error_St(u16 fieldValue, nMDBG::tStatus2* s)
05651 {
05652    if (s && s->isFatal()) return *this;
05653    u16 newValue;   newValue = ((u16)(_softCopy & 0xffef)) | (((u16)fieldValue << 0x4) & ~0xffef);
05654    setRegister(newValue, s);
05655    return *this;
05656 }
05657 
05658 inline u16 tMSeries::tAO_Status_2::getAO_BC_TC_Trigger_Error_St(nMDBG::tStatus2*) const
05659 {
05660    return (u16)((_softCopy & ~0xffef) >> 0x4);
05661 }
05662 
05663 inline u16 tMSeries::tAO_Status_2::readAO_BC_TC_Trigger_Error_St(nMDBG::tStatus2* s)
05664 {
05665    refresh(s);
05666    return getAO_BC_TC_Trigger_Error_St(s);
05667 }
05668 
05669 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_UI_Armed_St(u16 fieldValue, nMDBG::tStatus2* s)
05670 {
05671    if (s && s->isFatal()) return *this;
05672    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
05673    setRegister(newValue, s);
05674    return *this;
05675 }
05676 
05677 inline u16 tMSeries::tAO_Status_2::getAO_UI_Armed_St(nMDBG::tStatus2*) const
05678 {
05679    return (u16)((_softCopy & ~0xffdf) >> 0x5);
05680 }
05681 
05682 inline u16 tMSeries::tAO_Status_2::readAO_UI_Armed_St(nMDBG::tStatus2* s)
05683 {
05684    refresh(s);
05685    return getAO_UI_Armed_St(s);
05686 }
05687 
05688 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_UI_Next_Load_Source_St(u16 fieldValue, nMDBG::tStatus2* s)
05689 {
05690    if (s && s->isFatal()) return *this;
05691    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
05692    setRegister(newValue, s);
05693    return *this;
05694 }
05695 
05696 inline u16 tMSeries::tAO_Status_2::getAO_UI_Next_Load_Source_St(nMDBG::tStatus2*) const
05697 {
05698    return (u16)((_softCopy & ~0xffbf) >> 0x6);
05699 }
05700 
05701 inline u16 tMSeries::tAO_Status_2::readAO_UI_Next_Load_Source_St(nMDBG::tStatus2* s)
05702 {
05703    refresh(s);
05704    return getAO_UI_Next_Load_Source_St(s);
05705 }
05706 
05707 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_UC_Save_St(u16 fieldValue, nMDBG::tStatus2* s)
05708 {
05709    if (s && s->isFatal()) return *this;
05710    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
05711    setRegister(newValue, s);
05712    return *this;
05713 }
05714 
05715 inline u16 tMSeries::tAO_Status_2::getAO_UC_Save_St(nMDBG::tStatus2*) const
05716 {
05717    return (u16)((_softCopy & ~0xff7f) >> 0x7);
05718 }
05719 
05720 inline u16 tMSeries::tAO_Status_2::readAO_UC_Save_St(nMDBG::tStatus2* s)
05721 {
05722    refresh(s);
05723    return getAO_UC_Save_St(s);
05724 }
05725 
05726 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_UI_Count_Enabled_St(u16 fieldValue, nMDBG::tStatus2* s)
05727 {
05728    if (s && s->isFatal()) return *this;
05729    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
05730    setRegister(newValue, s);
05731    return *this;
05732 }
05733 
05734 inline u16 tMSeries::tAO_Status_2::getAO_UI_Count_Enabled_St(nMDBG::tStatus2*) const
05735 {
05736    return (u16)((_softCopy & ~0xfeff) >> 0x8);
05737 }
05738 
05739 inline u16 tMSeries::tAO_Status_2::readAO_UI_Count_Enabled_St(nMDBG::tStatus2* s)
05740 {
05741    refresh(s);
05742    return getAO_UI_Count_Enabled_St(s);
05743 }
05744 
05745 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_UI_Q_St(u16 fieldValue, nMDBG::tStatus2* s)
05746 {
05747    if (s && s->isFatal()) return *this;
05748    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
05749    setRegister(newValue, s);
05750    return *this;
05751 }
05752 
05753 inline u16 tMSeries::tAO_Status_2::getAO_UI_Q_St(nMDBG::tStatus2*) const
05754 {
05755    return (u16)((_softCopy & ~0xfdff) >> 0x9);
05756 }
05757 
05758 inline u16 tMSeries::tAO_Status_2::readAO_UI_Q_St(nMDBG::tStatus2* s)
05759 {
05760    refresh(s);
05761    return getAO_UI_Q_St(s);
05762 }
05763 
05764 inline tMSeries::tAO_Status_2& tMSeries::tAO_Status_2::setAO_UC_Armed_St(u16 fieldValue, nMDBG::tStatus2* s)
05765 {
05766    if (s && s->isFatal()) return *this;
05767    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
05768    setRegister(newValue, s);
05769    return *this;
05770 }
05771 
05772 inline u16 tMSeries::tAO_Status_2::getAO_UC_Armed_St(nMDBG::tStatus2*) const
05773 {
05774    return (u16)((_softCopy & ~0xbfff) >> 0xe);
05775 }
05776 
05777 inline u16 tMSeries::tAO_Status_2::readAO_UC_Armed_St(nMDBG::tStatus2* s)
05778 {
05779    refresh(s);
05780    return getAO_UC_Armed_St(s);
05781 }
05782 
05783 inline void tMSeries::tAO_Status_2::setRegisterMap(tMSeries* pMSeries)
05784 {
05785    _MSeries = pMSeries;
05786 }
05787 
05788 inline tMSeries::tAO_Status_1::tAO_Status_1()
05789 {
05790    _softCopy = 0;
05791 }
05792 
05793 inline tMSeries* tMSeries::tAO_Status_1::registerMap(void)
05794 {
05795    return _MSeries;
05796 }
05797 
05798 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
05799 {
05800    if (s && s->isFatal()) return *this;
05801    _softCopy = fieldValue;
05802    return *this;
05803 }
05804 
05805 inline u16 tMSeries::tAO_Status_1::getRegister(nMDBG::tStatus2*) const
05806 {
05807    return _softCopy;
05808 }
05809 
05810 inline void tMSeries::tAO_Status_1::refresh(nMDBG::tStatus2* s)
05811 {
05812    _softCopy = tIOStrategy::read(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), s);
05813 }
05814 
05815 inline u16 tMSeries::tAO_Status_1::readRegister(nMDBG::tStatus2* s) 
05816 {
05817    refresh(s);
05818    return _softCopy;
05819 }
05820 
05821 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setPass_Thru_1_Interrupt_St(u16 fieldValue, nMDBG::tStatus2* s)
05822 {
05823    if (s && s->isFatal()) return *this;
05824    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffe)) | (((u16)fieldValue << 0x0) & ~0xfffe);
05825    setRegister(newValue, s);
05826    return *this;
05827 }
05828 
05829 inline u16 tMSeries::tAO_Status_1::getPass_Thru_1_Interrupt_St(nMDBG::tStatus2*) const
05830 {
05831    return (u16)((_softCopy & ~0xfffe) >> 0x0);
05832 }
05833 
05834 inline u16 tMSeries::tAO_Status_1::readPass_Thru_1_Interrupt_St(nMDBG::tStatus2* s)
05835 {
05836    refresh(s);
05837    return getPass_Thru_1_Interrupt_St(s);
05838 }
05839 
05840 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_FIFO_Request_St(u16 fieldValue, nMDBG::tStatus2* s)
05841 {
05842    if (s && s->isFatal()) return *this;
05843    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffd)) | (((u16)fieldValue << 0x1) & ~0xfffd);
05844    setRegister(newValue, s);
05845    return *this;
05846 }
05847 
05848 inline u16 tMSeries::tAO_Status_1::getAO_FIFO_Request_St(nMDBG::tStatus2*) const
05849 {
05850    return (u16)((_softCopy & ~0xfffd) >> 0x1);
05851 }
05852 
05853 inline u16 tMSeries::tAO_Status_1::readAO_FIFO_Request_St(nMDBG::tStatus2* s)
05854 {
05855    refresh(s);
05856    return getAO_FIFO_Request_St(s);
05857 }
05858 
05859 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setG1_Gate_Interrupt_St(u16 fieldValue, nMDBG::tStatus2* s)
05860 {
05861    if (s && s->isFatal()) return *this;
05862    u16 newValue;   newValue = ((u16)(_softCopy & 0xfffb)) | (((u16)fieldValue << 0x2) & ~0xfffb);
05863    setRegister(newValue, s);
05864    return *this;
05865 }
05866 
05867 inline u16 tMSeries::tAO_Status_1::getG1_Gate_Interrupt_St(nMDBG::tStatus2*) const
05868 {
05869    return (u16)((_softCopy & ~0xfffb) >> 0x2);
05870 }
05871 
05872 inline u16 tMSeries::tAO_Status_1::readG1_Gate_Interrupt_St(nMDBG::tStatus2* s)
05873 {
05874    refresh(s);
05875    return getG1_Gate_Interrupt_St(s);
05876 }
05877 
05878 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setG1_TC_St(u16 fieldValue, nMDBG::tStatus2* s)
05879 {
05880    if (s && s->isFatal()) return *this;
05881    u16 newValue;   newValue = ((u16)(_softCopy & 0xfff7)) | (((u16)fieldValue << 0x3) & ~0xfff7);
05882    setRegister(newValue, s);
05883    return *this;
05884 }
05885 
05886 inline u16 tMSeries::tAO_Status_1::getG1_TC_St(nMDBG::tStatus2*) const
05887 {
05888    return (u16)((_softCopy & ~0xfff7) >> 0x3);
05889 }
05890 
05891 inline u16 tMSeries::tAO_Status_1::readG1_TC_St(nMDBG::tStatus2* s)
05892 {
05893    refresh(s);
05894    return getG1_TC_St(s);
05895 }
05896 
05897 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_UPDATE_St(u16 fieldValue, nMDBG::tStatus2* s)
05898 {
05899    if (s && s->isFatal()) return *this;
05900    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
05901    setRegister(newValue, s);
05902    return *this;
05903 }
05904 
05905 inline u16 tMSeries::tAO_Status_1::getAO_UPDATE_St(nMDBG::tStatus2*) const
05906 {
05907    return (u16)((_softCopy & ~0xffdf) >> 0x5);
05908 }
05909 
05910 inline u16 tMSeries::tAO_Status_1::readAO_UPDATE_St(nMDBG::tStatus2* s)
05911 {
05912    refresh(s);
05913    return getAO_UPDATE_St(s);
05914 }
05915 
05916 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_UC_TC_St(u16 fieldValue, nMDBG::tStatus2* s)
05917 {
05918    if (s && s->isFatal()) return *this;
05919    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
05920    setRegister(newValue, s);
05921    return *this;
05922 }
05923 
05924 inline u16 tMSeries::tAO_Status_1::getAO_UC_TC_St(nMDBG::tStatus2*) const
05925 {
05926    return (u16)((_softCopy & ~0xffbf) >> 0x6);
05927 }
05928 
05929 inline u16 tMSeries::tAO_Status_1::readAO_UC_TC_St(nMDBG::tStatus2* s)
05930 {
05931    refresh(s);
05932    return getAO_UC_TC_St(s);
05933 }
05934 
05935 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_BC_TC_St(u16 fieldValue, nMDBG::tStatus2* s)
05936 {
05937    if (s && s->isFatal()) return *this;
05938    u16 newValue;   newValue = ((u16)(_softCopy & 0xff7f)) | (((u16)fieldValue << 0x7) & ~0xff7f);
05939    setRegister(newValue, s);
05940    return *this;
05941 }
05942 
05943 inline u16 tMSeries::tAO_Status_1::getAO_BC_TC_St(nMDBG::tStatus2*) const
05944 {
05945    return (u16)((_softCopy & ~0xff7f) >> 0x7);
05946 }
05947 
05948 inline u16 tMSeries::tAO_Status_1::readAO_BC_TC_St(nMDBG::tStatus2* s)
05949 {
05950    refresh(s);
05951    return getAO_BC_TC_St(s);
05952 }
05953 
05954 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_START1_St(u16 fieldValue, nMDBG::tStatus2* s)
05955 {
05956    if (s && s->isFatal()) return *this;
05957    u16 newValue;   newValue = ((u16)(_softCopy & 0xfeff)) | (((u16)fieldValue << 0x8) & ~0xfeff);
05958    setRegister(newValue, s);
05959    return *this;
05960 }
05961 
05962 inline u16 tMSeries::tAO_Status_1::getAO_START1_St(nMDBG::tStatus2*) const
05963 {
05964    return (u16)((_softCopy & ~0xfeff) >> 0x8);
05965 }
05966 
05967 inline u16 tMSeries::tAO_Status_1::readAO_START1_St(nMDBG::tStatus2* s)
05968 {
05969    refresh(s);
05970    return getAO_START1_St(s);
05971 }
05972 
05973 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_Overrun_St(u16 fieldValue, nMDBG::tStatus2* s)
05974 {
05975    if (s && s->isFatal()) return *this;
05976    u16 newValue;   newValue = ((u16)(_softCopy & 0xfdff)) | (((u16)fieldValue << 0x9) & ~0xfdff);
05977    setRegister(newValue, s);
05978    return *this;
05979 }
05980 
05981 inline u16 tMSeries::tAO_Status_1::getAO_Overrun_St(nMDBG::tStatus2*) const
05982 {
05983    return (u16)((_softCopy & ~0xfdff) >> 0x9);
05984 }
05985 
05986 inline u16 tMSeries::tAO_Status_1::readAO_Overrun_St(nMDBG::tStatus2* s)
05987 {
05988    refresh(s);
05989    return getAO_Overrun_St(s);
05990 }
05991 
05992 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_START_St(u16 fieldValue, nMDBG::tStatus2* s)
05993 {
05994    if (s && s->isFatal()) return *this;
05995    u16 newValue;   newValue = ((u16)(_softCopy & 0xfbff)) | (((u16)fieldValue << 0xa) & ~0xfbff);
05996    setRegister(newValue, s);
05997    return *this;
05998 }
05999 
06000 inline u16 tMSeries::tAO_Status_1::getAO_START_St(nMDBG::tStatus2*) const
06001 {
06002    return (u16)((_softCopy & ~0xfbff) >> 0xa);
06003 }
06004 
06005 inline u16 tMSeries::tAO_Status_1::readAO_START_St(nMDBG::tStatus2* s)
06006 {
06007    refresh(s);
06008    return getAO_START_St(s);
06009 }
06010 
06011 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_BC_TC_Error_St(u16 fieldValue, nMDBG::tStatus2* s)
06012 {
06013    if (s && s->isFatal()) return *this;
06014    u16 newValue;   newValue = ((u16)(_softCopy & 0xf7ff)) | (((u16)fieldValue << 0xb) & ~0xf7ff);
06015    setRegister(newValue, s);
06016    return *this;
06017 }
06018 
06019 inline u16 tMSeries::tAO_Status_1::getAO_BC_TC_Error_St(nMDBG::tStatus2*) const
06020 {
06021    return (u16)((_softCopy & ~0xf7ff) >> 0xb);
06022 }
06023 
06024 inline u16 tMSeries::tAO_Status_1::readAO_BC_TC_Error_St(nMDBG::tStatus2* s)
06025 {
06026    refresh(s);
06027    return getAO_BC_TC_Error_St(s);
06028 }
06029 
06030 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_FIFO_Empty_St(u16 fieldValue, nMDBG::tStatus2* s)
06031 {
06032    if (s && s->isFatal()) return *this;
06033    u16 newValue;   newValue = ((u16)(_softCopy & 0xefff)) | (((u16)fieldValue << 0xc) & ~0xefff);
06034    setRegister(newValue, s);
06035    return *this;
06036 }
06037 
06038 inline u16 tMSeries::tAO_Status_1::getAO_FIFO_Empty_St(nMDBG::tStatus2*) const
06039 {
06040    return (u16)((_softCopy & ~0xefff) >> 0xc);
06041 }
06042 
06043 inline u16 tMSeries::tAO_Status_1::readAO_FIFO_Empty_St(nMDBG::tStatus2* s)
06044 {
06045    refresh(s);
06046    return getAO_FIFO_Empty_St(s);
06047 }
06048 
06049 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_FIFO_Half_Full_St(u16 fieldValue, nMDBG::tStatus2* s)
06050 {
06051    if (s && s->isFatal()) return *this;
06052    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
06053    setRegister(newValue, s);
06054    return *this;
06055 }
06056 
06057 inline u16 tMSeries::tAO_Status_1::getAO_FIFO_Half_Full_St(nMDBG::tStatus2*) const
06058 {
06059    return (u16)((_softCopy & ~0xdfff) >> 0xd);
06060 }
06061 
06062 inline u16 tMSeries::tAO_Status_1::readAO_FIFO_Half_Full_St(nMDBG::tStatus2* s)
06063 {
06064    refresh(s);
06065    return getAO_FIFO_Half_Full_St(s);
06066 }
06067 
06068 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setAO_FIFO_Full_St(u16 fieldValue, nMDBG::tStatus2* s)
06069 {
06070    if (s && s->isFatal()) return *this;
06071    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
06072    setRegister(newValue, s);
06073    return *this;
06074 }
06075 
06076 inline u16 tMSeries::tAO_Status_1::getAO_FIFO_Full_St(nMDBG::tStatus2*) const
06077 {
06078    return (u16)((_softCopy & ~0xbfff) >> 0xe);
06079 }
06080 
06081 inline u16 tMSeries::tAO_Status_1::readAO_FIFO_Full_St(nMDBG::tStatus2* s)
06082 {
06083    refresh(s);
06084    return getAO_FIFO_Full_St(s);
06085 }
06086 
06087 inline tMSeries::tAO_Status_1& tMSeries::tAO_Status_1::setInterrupt_Group_B_Status(u16 fieldValue, nMDBG::tStatus2* s)
06088 {
06089    if (s && s->isFatal()) return *this;
06090    u16 newValue;   newValue = ((u16)(_softCopy & 0x7fff)) | (((u16)fieldValue << 0xf) & ~0x7fff);
06091    setRegister(newValue, s);
06092    return *this;
06093 }
06094 
06095 inline u16 tMSeries::tAO_Status_1::getInterrupt_Group_B_Status(nMDBG::tStatus2*) const
06096 {
06097    return (u16)((_softCopy & ~0x7fff) >> 0xf);
06098 }
06099 
06100 inline u16 tMSeries::tAO_Status_1::readInterrupt_Group_B_Status(nMDBG::tStatus2* s)
06101 {
06102    refresh(s);
06103    return getInterrupt_Group_B_Status(s);
06104 }
06105 
06106 inline void tMSeries::tAO_Status_1::setRegisterMap(tMSeries* pMSeries)
06107 {
06108    _MSeries = pMSeries;
06109 }
06110 
06111 inline tMSeries::tAO_Trigger_Select::tAO_Trigger_Select()
06112 {
06113    _softCopy = 0;
06114 }
06115 
06116 inline tMSeries* tMSeries::tAO_Trigger_Select::registerMap(void)
06117 {
06118    return _MSeries;
06119 }
06120 
06121 inline void tMSeries::tAO_Trigger_Select::flushBus(nMDBG::tStatus2* s)
06122 {
06123    _MSeries->flushBus(s);
06124 }
06125 
06126 inline tMSeries::tAO_Trigger_Select& tMSeries::tAO_Trigger_Select::setRegister(u16 fieldValue, nMDBG::tStatus2* s)
06127 {
06128    if (s && s->isFatal()) return *this;
06129    _softCopy = fieldValue;
06130    return *this;
06131 }
06132 
06133 inline u16 tMSeries::tAO_Trigger_Select::getRegister(nMDBG::tStatus2*) const
06134 {
06135    return _softCopy;
06136 }
06137 
06138 inline void tMSeries::tAO_Trigger_Select::flush(nMDBG::tStatus2* s)
06139 {
06140    if (s && s->isFatal()) return;
06141    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
06142    _softCopy &= (u16)(0xffffffff);
06143 }
06144 
06145 inline void tMSeries::tAO_Trigger_Select::writeRegister(u16 fieldValue, nMDBG::tStatus2* s)
06146 {
06147    if (s && s->isFatal()) return;
06148    _softCopy = fieldValue;
06149    flush(s);
06150 }
06151 
06152 inline u16 tMSeries::tAO_Trigger_Select::readRegister(nMDBG::tStatus2*) 
06153 {
06154    return _softCopy;
06155 }
06156 
06157 
06158 inline tMSeries::tAO_Trigger_Select& tMSeries::tAO_Trigger_Select::setAO_START1_Select(tAO_START1_Select fieldValue, nMDBG::tStatus2* s)
06159 {
06160    if (s && s->isFatal()) return *this;
06161    u16 newValue;   newValue = ((u16)(_softCopy & 0xffe0)) | (((u16)fieldValue << 0x0) & ~0xffe0);
06162    setRegister(newValue, s);
06163    return *this;
06164 }
06165 
06166 inline tMSeries::tAO_Trigger_Select::tAO_START1_Select tMSeries::tAO_Trigger_Select::getAO_START1_Select(nMDBG::tStatus2*) const
06167 {
06168    return (tAO_START1_Select)((_softCopy & ~0xffe0) >> 0x0);
06169 }
06170 
06171 inline void tMSeries::tAO_Trigger_Select::writeAO_START1_Select(tAO_START1_Select fieldValue, nMDBG::tStatus2* s)
06172 {
06173    setAO_START1_Select(fieldValue, s);
06174    flush(s);
06175 }
06176 inline tMSeries::tAO_Trigger_Select::tAO_START1_Select tMSeries::tAO_Trigger_Select::readAO_START1_Select(nMDBG::tStatus2* s)
06177 {
06178    return getAO_START1_Select(s);
06179 }
06180 
06181 inline tMSeries::tAO_Trigger_Select& tMSeries::tAO_Trigger_Select::setAO_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
06182 {
06183    if (s && s->isFatal()) return *this;
06184    u16 newValue;   newValue = ((u16)(_softCopy & 0xffdf)) | (((u16)fieldValue << 0x5) & ~0xffdf);
06185    setRegister(newValue, s);
06186    return *this;
06187 }
06188 
06189 inline tBoolean tMSeries::tAO_Trigger_Select::getAO_START1_Edge(nMDBG::tStatus2*) const
06190 {
06191    return (tBoolean)((_softCopy & ~0xffdf) >> 0x5);
06192 }
06193 
06194 inline void tMSeries::tAO_Trigger_Select::writeAO_START1_Edge(tBoolean fieldValue, nMDBG::tStatus2* s)
06195 {
06196    setAO_START1_Edge(fieldValue, s);
06197    flush(s);
06198 }
06199 inline tBoolean tMSeries::tAO_Trigger_Select::readAO_START1_Edge(nMDBG::tStatus2* s)
06200 {
06201    return getAO_START1_Edge(s);
06202 }
06203 
06204 inline tMSeries::tAO_Trigger_Select& tMSeries::tAO_Trigger_Select::setAO_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
06205 {
06206    if (s && s->isFatal()) return *this;
06207    u16 newValue;   newValue = ((u16)(_softCopy & 0xffbf)) | (((u16)fieldValue << 0x6) & ~0xffbf);
06208    setRegister(newValue, s);
06209    return *this;
06210 }
06211 
06212 inline tBoolean tMSeries::tAO_Trigger_Select::getAO_START1_Sync(nMDBG::tStatus2*) const
06213 {
06214    return (tBoolean)((_softCopy & ~0xffbf) >> 0x6);
06215 }
06216 
06217 inline void tMSeries::tAO_Trigger_Select::writeAO_START1_Sync(tBoolean fieldValue, nMDBG::tStatus2* s)
06218 {
06219    setAO_START1_Sync(fieldValue, s);
06220    flush(s);
06221 }
06222 inline tBoolean tMSeries::tAO_Trigger_Select::readAO_START1_Sync(nMDBG::tStatus2* s)
06223 {
06224    return getAO_START1_Sync(s);
06225 }
06226 
06227 inline tMSeries::tAO_Trigger_Select& tMSeries::tAO_Trigger_Select::setAO_START1_Polarity(tAO_START1_Polarity fieldValue, nMDBG::tStatus2* s)
06228 {
06229    if (s && s->isFatal()) return *this;
06230    u16 newValue;   newValue = ((u16)(_softCopy & 0xdfff)) | (((u16)fieldValue << 0xd) & ~0xdfff);
06231    setRegister(newValue, s);
06232    return *this;
06233 }
06234 
06235 inline tMSeries::tAO_Trigger_Select::tAO_START1_Polarity tMSeries::tAO_Trigger_Select::getAO_START1_Polarity(nMDBG::tStatus2*) const
06236 {
06237    return (tAO_START1_Polarity)((_softCopy & ~0xdfff) >> 0xd);
06238 }
06239 
06240 inline void tMSeries::tAO_Trigger_Select::writeAO_START1_Polarity(tAO_START1_Polarity fieldValue, nMDBG::tStatus2* s)
06241 {
06242    setAO_START1_Polarity(fieldValue, s);
06243    flush(s);
06244 }
06245 inline tMSeries::tAO_Trigger_Select::tAO_START1_Polarity tMSeries::tAO_Trigger_Select::readAO_START1_Polarity(nMDBG::tStatus2* s)
06246 {
06247    return getAO_START1_Polarity(s);
06248 }
06249 
06250 inline tMSeries::tAO_Trigger_Select& tMSeries::tAO_Trigger_Select::setAO_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* s)
06251 {
06252    if (s && s->isFatal()) return *this;
06253    u16 newValue;   newValue = ((u16)(_softCopy & 0xbfff)) | (((u16)fieldValue << 0xe) & ~0xbfff);
06254    setRegister(newValue, s);
06255    return *this;
06256 }
06257 
06258 inline tBoolean tMSeries::tAO_Trigger_Select::getAO_Delayed_START1(nMDBG::tStatus2*) const
06259 {
06260    return (tBoolean)((_softCopy & ~0xbfff) >> 0xe);
06261 }
06262 
06263 inline void tMSeries::tAO_Trigger_Select::writeAO_Delayed_START1(tBoolean fieldValue, nMDBG::tStatus2* s)
06264 {
06265    setAO_Delayed_START1(fieldValue, s);
06266    flush(s);
06267 }
06268 inline tBoolean tMSeries::tAO_Trigger_Select::readAO_Delayed_START1(nMDBG::tStatus2* s)
06269 {
06270    return getAO_Delayed_START1(s);
06271 }
06272 
06273 inline void tMSeries::tAO_Trigger_Select::setRegisterMap(tMSeries* pMSeries)
06274 {
06275    _MSeries = pMSeries;
06276 }
06277 
06278 inline tMSeries::tAO_UC_Load_A::tAO_UC_Load_A()
06279 {
06280    _softCopy = 0;
06281 }
06282 
06283 inline tMSeries* tMSeries::tAO_UC_Load_A::registerMap(void)
06284 {
06285    return _MSeries;
06286 }
06287 
06288 inline void tMSeries::tAO_UC_Load_A::flushBus(nMDBG::tStatus2* s)
06289 {
06290    _MSeries->flushBus(s);
06291 }
06292 
06293 inline tMSeries::tAO_UC_Load_A& tMSeries::tAO_UC_Load_A::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
06294 {
06295    if (s && s->isFatal()) return *this;
06296    _softCopy = fieldValue;
06297    return *this;
06298 }
06299 
06300 inline u32 tMSeries::tAO_UC_Load_A::getRegister(nMDBG::tStatus2*) const
06301 {
06302    return _softCopy;
06303 }
06304 
06305 inline void tMSeries::tAO_UC_Load_A::flush(nMDBG::tStatus2* s)
06306 {
06307    if (s && s->isFatal()) return;
06308    tIOStrategy::write(_MSeries->getBusSpaceReference(), kOffset + _MSeries->getAddressOffset(s), _softCopy, s);
06309    _softCopy &= (u32)(0xffffffff);
06310 }
06311 
06312 inline void tMSeries::tAO_UC_Load_A::writeRegister(u32 fieldValue, nMDBG::tStatus2* s)
06313 {
06314    if (s && s->isFatal()) return;
06315    _softCopy = fieldValue;
06316    flush(s);
06317 }
06318 
06319 inline u32 tMSeries::tAO_UC_Load_A::readRegister(nMDBG::tStatus2*) 
06320 {
06321    return _softCopy;
06322 }
06323 
06324 
06325 inline tMSeries::tAO_UC_Load_A& tMSeries::tAO_UC_Load_A::set(u32 fieldValue, nMDBG::tStatus2* s)
06326 {
06327    if (s && s->isFatal()) return *this;
06328    u32 newValue;   newValue = ((u32)(_softCopy & 0x0)) | (((u32)fieldValue << 0x0) & ~0x0);
06329    setRegister(newValue, s);
06330    return *this;
06331 }
06332 
06333 inline u32 tMSeries::tAO_UC_Load_A::get(nMDBG::tStatus2*) const
06334 {
06335    return (u32)((_softCopy & ~0x0) >> 0x0);
06336 }
06337 
06338 inline void tMSeries::tAO_UC_Load_A::write(u32 fieldValue, nMDBG::tStatus2* s)
06339 {
06340    set(fieldValue, s);
06341    flush(s);
06342 }
06343 inline u32 tMSeries::tAO_UC_Load_A::read(nMDBG::tStatus2* s)
06344 {
06345    return get(s);
06346 }
06347 
06348 inline void tMSeries::tAO_UC_Load_A::setRegisterMap(tMSeries* pMSeries)
06349 {
06350    _MSeries = pMSeries;
06351 }
06352 
06353 inline tMSeries::tAO_UC_Load_B::tAO_UC_Load_B()
06354 {
06355    _softCopy = 0;
06356 }
06357 
06358 inline tMSeries* tMSeries::tAO_UC_Load_B::registerMap(void)
06359 {
06360    return _MSeries;
06361 }
06362 
06363 inline void tMSeries::tAO_UC_Load_B::flushBus(nMDBG::tStatus2* s)
06364 {
06365    _MSeries->flushBus(s);
06366 }
06367 
06368 inline tMSeries::tAO_UC_Load_B& tMSeries::tAO_UC_Load_B::setRegister(u32 fieldValue, nMDBG::tStatus2* s)
06369 {
06370    if (s && s->