42 m_AutoCircTask.numTasks = 0;
43 m_AutoCircTask.taskArray = m_TaskArray;
49 m_AutoCircTask.numTasks = 0;
58 ULWord index = m_AutoCircTask.numTasks;
60 if(index >= m_AutoCircTask.maxTasks)
74 m_AutoCircTask.numTasks = index;
84 ULWord index = m_AutoCircTask.numTasks;
86 if(index >= m_AutoCircTask.maxTasks)
100 m_AutoCircTask.numTasks = index;
120 ULWord index = m_AutoCircTask.numTasks;
122 if(index >= m_AutoCircTask.maxTasks)
132 if(pTCInOut1 !=
NULL)
134 pGeneric->u.timeCodeTask.TCInOut1 = *pTCInOut1;
138 pGeneric->u.timeCodeTask.TCInOut1.
Low = 0xffffffff;
140 if(pTCInOut2 !=
NULL)
142 pGeneric->u.timeCodeTask.TCInOut2 = *pTCInOut2;
146 pGeneric->u.timeCodeTask.TCInOut2.
Low = 0xffffffff;
148 if(pTCInOut3 !=
NULL)
150 pGeneric->u.timeCodeTask.TCInOut3 = *pTCInOut3;
154 pGeneric->u.timeCodeTask.TCInOut3.
Low = 0xffffffff;
156 if(pTCInOut4 !=
NULL)
158 pGeneric->u.timeCodeTask.TCInOut4 = *pTCInOut4;
162 pGeneric->u.timeCodeTask.TCInOut4.
Low = 0xffffffff;
164 if(pTCInOut5 !=
NULL)
166 pGeneric->u.timeCodeTask.TCInOut5 = *pTCInOut5;
170 pGeneric->u.timeCodeTask.TCInOut5.
Low = 0xffffffff;
172 if(pTCInOut6 !=
NULL)
174 pGeneric->u.timeCodeTask.TCInOut6 = *pTCInOut6;
178 pGeneric->u.timeCodeTask.TCInOut6.
Low = 0xffffffff;
180 if(pTCInOut7 !=
NULL)
182 pGeneric->u.timeCodeTask.TCInOut7 = *pTCInOut7;
186 pGeneric->u.timeCodeTask.TCInOut7.
Low = 0xffffffff;
188 if(pTCInOut8 !=
NULL)
190 pGeneric->u.timeCodeTask.TCInOut8 = *pTCInOut8;
194 pGeneric->u.timeCodeTask.TCInOut8.
Low = 0xffffffff;
196 if(pLTCEmbedded !=
NULL)
198 pGeneric->u.timeCodeTask.LTCEmbedded = *pLTCEmbedded;
202 pGeneric->u.timeCodeTask.LTCEmbedded.
Low = 0xffffffff;
204 if(pLTCAnalog !=
NULL)
206 pGeneric->u.timeCodeTask.LTCAnalog = *pLTCAnalog;
210 pGeneric->u.timeCodeTask.LTCAnalog.
Low = 0xffffffff;
212 if(pLTCEmbedded2 !=
NULL)
214 pGeneric->u.timeCodeTask.LTCEmbedded2 = *pLTCEmbedded2;
218 pGeneric->u.timeCodeTask.LTCEmbedded2.
Low = 0xffffffff;
220 if(pLTCAnalog2 !=
NULL)
222 pGeneric->u.timeCodeTask.LTCAnalog2 = *pLTCAnalog2;
226 pGeneric->u.timeCodeTask.LTCAnalog2.
Low = 0xffffffff;
230 m_AutoCircTask.numTasks = index;
237 ULWord index = m_AutoCircTask.numTasks;
239 if(index >= m_AutoCircTask.maxTasks)
250 m_AutoCircTask.numTasks = index;
257 if(index >= m_AutoCircTask.numTasks)
262 return &m_TaskArray[index];
268 if (inIndex >= m_AutoCircTask.numTasks)
271 ::memset ((
void*)&nullTask, 0,
sizeof (nullTask));
275 return m_TaskArray [inIndex];
281 return m_AutoCircTask.numTasks;
286 return m_AutoCircTask.maxTasks;
291 return &m_AutoCircTask;
311 return inOutStream <<
"reg=" << inObj.
regNum <<
", mask=0x" << hex << setw (8) << setfill (
'0') << inObj.
mask << dec
312 <<
", shift=" << inObj.
shift <<
", value=0x" << hex << setw (8) << setfill (
'0') << inObj.
value << dec;
318 return inOutStream <<
" TCInOut1: " << inObj.
TCInOut1 << endl
319 <<
" TCInOut2: " << inObj.
TCInOut2 << endl
320 <<
" TCInOut3: " << inObj.
TCInOut3 << endl
321 <<
" TCInOut4: " << inObj.
TCInOut4 << endl
322 <<
" TCInOut5: " << inObj.
TCInOut5 << endl
323 <<
" TCInOut6: " << inObj.
TCInOut6 << endl
324 <<
" TCInOut7: " << inObj.
TCInOut7 << endl
325 <<
" TCInOut8: " << inObj.
TCInOut8 << endl
334 <<
" LTCAnalog: " << inObj.
LTCAnalog << endl
353 inOutStream << nTasks <<
" task(s):" << endl;
354 for (
ULWord num (0); num < nTasks; num++)
357 inOutStream <<
"[" << num <<
"] " << task << endl;
365 if(pTaskArray ==
NULL)
382 if((pSrcArray ==
NULL) || (pDstArray ==
NULL))
387 ULWord transferSize = srcSize;
388 if(transferSize > dstSize)
390 transferSize = dstSize;
393 ULWord transferNum = srcNum;
394 if(transferNum > dstMax)
396 transferNum = dstMax;
402 for(i = 0; i < transferNum; i++)
404 memcpy(pDst, pSrc, transferSize);
416 m_AutoCircTask.numTasks = CopyTaskArray(m_TaskArray, m_AutoCircTask.taskSize, m_AutoCircTask.maxTasks,