femtoos_headers/femtoos_order.h

Go to the documentation of this file.
00001 /*
00002  * Femto OS v 0.91 - Copyright (C) 2008-2009 Ruud Vlaming
00003  *
00004  * This file is part of the Femto OS distribution.
00005  *
00006  * This program is free software: you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation, version 3 of the License.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017  *
00018  * Please note that, due to the GPLv3 license, for application of this
00019  * work and/or combined work in embedded systems special obligations apply.
00020  * If these are not to you liking, please know the Femto OS is dual
00021  * licensed. A commercial license and support are available.
00022  * See http://www.femtoos.org/ for details.
00023  */
00024 
00025 #ifndef FEMTOOS_ORDER_H
00026 #define FEMTOOS_ORDER_H
00027 
00028 /* Definitions of uses in the system that are directly deduced from the configuration
00029  * parameters.*/
00030 
00031 #if (cfgIntUserDefined == cfgTrue) && (cfgIntSwitchUsesOSstack == cfgFalse)
00032   #define defUseIsrStack               cfgTrue
00033 #else
00034   #define defUseIsrStack               cfgFalse
00035 #endif
00036 
00037 #if (cfgUseDelay == cfgTrue) || ((cfgUseSynchronization != cfgSyncNon) && (cfgUseTimeout == cfgTrue))
00038   #define defUseDelay                  cfgTrue
00039 #else
00040   #define defUseDelay                  cfgFalse
00041 #endif
00042 
00043 #if ((cfgUseTaskWatchdog == cfgTrue) || (includeTaskRecreate == cfgTrue) || (includeTaskRestart == cfgTrue) || (includeTaskTerminate == cfgTrue))
00044   #define defReUseTaskInit             cfgTrue
00045 #else
00046   #define defReUseTaskInit             cfgFalse
00047 #endif
00048 
00049 #if (cfgUseFileSystem == cfgTrue) && ((defReUseTaskInit == cfgTrue) || (cfgUseLowPowerSleep == cfgTrue) || (includeTaskTerminate == cfgTrue) || (cfgCheckMethodUse == cfgTrue))
00050   #define defUseFsField                cfgTrue
00051 #else
00052   #define defUseFsField                cfgFalse
00053 #endif
00054 
00055 #if (defUseFsField == cfgTrue) || (cfgUseTaskWatchdog == cfgTrue) || (defUseBoolReturns == cfgTrue) || (includeGenSuspend == cfgTrue)
00056   #define defUseTaskMonitor            cfgTrue
00057 #else
00058   #define defUseTaskMonitor            cfgFalse
00059 #endif
00060 
00061 #if (cfgUseSynchronization  != cfgSyncNon)
00062   #define defUseTaskSlot               cfgTrue
00063 #else
00064   #define defUseTaskSlot               cfgFalse
00065 #endif
00066 
00067 #if (cfgUseNestedCriticals == cfgTrue)
00068   #define defUseTaskLevels             cfgTrue
00069 #else
00070   #define defUseTaskLevels             cfgFalse
00071 #endif
00072 
00073 #if (cfgUseSynchronization != cfgSyncNon) && ((defined(SN_01) && (SlotUse(SN_01) == cfgUseAsQueu)) || (defined(SN_02) && (SlotUse(SN_02) == cfgUseAsQueu)) || (defined(SN_03) && (SlotUse(SN_03) == cfgUseAsQueu)) || (defined(SN_04) && (SlotUse(SN_04) == cfgUseAsQueu)) || (defined(SN_05) && (SlotUse(SN_05) == cfgUseAsQueu)) || (defined(SN_06) && (SlotUse(SN_06) == cfgUseAsQueu)) || (defined(SN_07) && (SlotUse(SN_07) == cfgUseAsQueu)) || (defined(SN_08) && (SlotUse(SN_08) == cfgUseAsQueu)) || (defined(SN_09) && (SlotUse(SN_09) == cfgUseAsQueu)) || (defined(SN_10) && (SlotUse(SN_10) == cfgUseAsQueu)) || (defined(SN_11) && (SlotUse(SN_11) == cfgUseAsQueu)) || (defined(SN_12) && (SlotUse(SN_12) == cfgUseAsQueu)) || (defined(SN_13) && (SlotUse(SN_13) == cfgUseAsQueu)) || (defined(SN_14) && (SlotUse(SN_14) == cfgUseAsQueu)) || (defined(SN_15) && (SlotUse(SN_15) == cfgUseAsQueu)))
00074   #define defUseQueus                  cfgTrue
00075 #else
00076   #define defUseQueus                  cfgFalse
00077 #endif
00078 
00079 #if (cfgUseSynchronization != cfgSyncNon) && ((defined(SN_01) && (SlotUse(SN_01) == cfgUseAsMutex)) || (defined(SN_02) && (SlotUse(SN_02) == cfgUseAsMutex)) || (defined(SN_03) && (SlotUse(SN_03) == cfgUseAsMutex)) || (defined(SN_04) && (SlotUse(SN_04) == cfgUseAsMutex)) || (defined(SN_05) && (SlotUse(SN_05) == cfgUseAsMutex)) || (defined(SN_06) && (SlotUse(SN_06) == cfgUseAsMutex)) || (defined(SN_07) && (SlotUse(SN_07) == cfgUseAsMutex)) || (defined(SN_08) && (SlotUse(SN_08) == cfgUseAsMutex)) || (defined(SN_09) && (SlotUse(SN_09) == cfgUseAsMutex)) || (defined(SN_10) && (SlotUse(SN_10) == cfgUseAsMutex)) || (defined(SN_11) && (SlotUse(SN_11) == cfgUseAsMutex)) || (defined(SN_12) && (SlotUse(SN_12) == cfgUseAsMutex)) || (defined(SN_13) && (SlotUse(SN_13) == cfgUseAsMutex)) || (defined(SN_14) && (SlotUse(SN_14) == cfgUseAsMutex)) || (defined(SN_15) && (SlotUse(SN_15) == cfgUseAsMutex)))
00080   #define defUseMutexes                cfgTrue
00081 #else
00082   #define defUseMutexes                cfgFalse
00083 #endif
00084 
00085 #if (cfgUseSynchronization != cfgSyncNon) && ((defined(SN_01) && (SlotUse(SN_01) == cfgUseAsWait)) || (defined(SN_02) && (SlotUse(SN_02) == cfgUseAsWait)) || (defined(SN_03) && (SlotUse(SN_03) == cfgUseAsWait)) || (defined(SN_04) && (SlotUse(SN_04) == cfgUseAsWait)) || (defined(SN_05) && (SlotUse(SN_05) == cfgUseAsWait)) || (defined(SN_06) && (SlotUse(SN_06) == cfgUseAsWait)) || (defined(SN_07) && (SlotUse(SN_07) == cfgUseAsWait)) || (defined(SN_08) && (SlotUse(SN_08) == cfgUseAsWait)) || (defined(SN_09) && (SlotUse(SN_09) == cfgUseAsWait)) || (defined(SN_10) && (SlotUse(SN_10) == cfgUseAsWait)) || (defined(SN_11) && (SlotUse(SN_11) == cfgUseAsWait)) || (defined(SN_12) && (SlotUse(SN_12) == cfgUseAsWait)) || (defined(SN_13) && (SlotUse(SN_13) == cfgUseAsWait)) || (defined(SN_14) && (SlotUse(SN_14) == cfgUseAsWait)) || (defined(SN_15) && (SlotUse(SN_15) == cfgUseAsWait)))
00086   #define defUseWaits                 cfgTrue
00087 #else
00088   #define defUseWaits                 cfgFalse
00089 #endif
00090 
00091 
00099 #if ( (includeGenAddtoTickCount == cfgTrue) || \
00100       (includeGenCountEventBlocks == cfgTrue) || \
00101       (includeGenFireEvent  == cfgTrue) || \
00102       (includeGenFireEventSet == cfgTrue) || \
00103       (includeGenGetLastWakeTime == cfgTrue) || \
00104       (includeGenGetPriority == cfgTrue) || \
00105       (includeGenGetTaskname == cfgTrue) || \
00106       (includeGenGetTickCount == cfgTrue) || \
00107       (includeGenLogOs == cfgTrue) || \
00108       (includeGenLogTask == cfgTrue) || \
00109       (includeGenLogTask == cfgTrue) || \
00110       (includeGenQueuClear == cfgTrue) || \
00111       (includeGenQueuEmpty == cfgTrue) || \
00112       (includeGenQueuFull == cfgTrue) || \
00113       (includeGenQueuPeek == cfgTrue) || \
00114       (includeGenQueuRead == cfgTrue) || \
00115       (includeGenQueuReadable == cfgTrue) || \
00116       (includeGenQueuWrite == cfgTrue) || \
00117       (includeGenQueuWriteable == cfgTrue) || \
00118       (includeGenResume == cfgTrue) || \
00119       (includeGenSetPriority == cfgTrue) || \
00120       (includeGenSuspend == cfgTrue) || \
00121       (includeGenTrace == cfgTrue) || \
00122       (includeGenWaitRelease == cfgTrue) || \
00123       (includeTaskFeedWatchdog == cfgTrue) || \
00124       (includeTaskFileAppendByte == cfgTrue) || \
00125       (includeTaskFileFormat == cfgTrue) || \
00126       (includeTaskFileGetSize == cfgTrue) || \
00127       ((includeTaskFileReadBuffer == cfgTrue) && (cfgCheckTrace == cfgTrue)) || \
00128       (includeTaskFileReadByte == cfgTrue) || \
00129       ((includeTaskFileReadPipe == cfgTrue) && (cfgCheckTrace == cfgTrue)) || \
00130       (includeTaskFileSetSize == cfgTrue) || \
00131       ((includeTaskFileWriteBuffer == cfgTrue) && (cfgCheckTrace == cfgTrue)) || \
00132       (includeTaskFileWriteByte == cfgTrue) || \
00133       ((includeTaskFileWritePipe == cfgTrue) && (cfgCheckTrace == cfgTrue)) || \
00134       (includeTaskKillWatchdog == cfgTrue) || \
00135       (includeTaskProtectSwitchCritical == cfgTrue) || \
00136       (includeTaskProtectSwitchTasks == cfgTrue) )
00137   #define defNonSwitchingCallPresent   cfgTrue
00138 #else
00139   #define defNonSwitchingCallPresent   cfgFalse
00140 #endif
00141 
00142 
00143 
00144 /* File with preprocessor definitions needed to detect which
00145  * facilities must be activated in the Femto OS core code. First
00146  * we collect all tasks that make use of a slot, so that those
00147  * tasks get the lowest tasknumbers (more efficient in looping)
00148  * and subsequently all other tasks get numbers.
00149  */
00150 
00151 #if (cfgUseSynchronization != cfgSyncNon)
00152 
00153 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (((Capabilities(CN_00)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_00) > 0)
00154   #define TN_00 CN_00
00155 #endif
00156 
00157 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (((Capabilities(CN_01)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_01) > 0)
00158   #if !defined(TN_00)
00159     #define TN_00 CN_01
00160   #else
00161     #define TN_01 CN_01
00162   #endif
00163 #endif
00164 
00165 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (((Capabilities(CN_02)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_02) > 0)
00166   #if !defined(TN_00)
00167     #define TN_00 CN_02
00168   #elif !defined(TN_01)
00169     #define TN_01 CN_02
00170   #else
00171     #define TN_02 CN_02
00172   #endif
00173 #endif
00174 
00175 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (((Capabilities(CN_03)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_03) > 0)
00176   #if !defined(TN_00)
00177     #define TN_00 CN_03
00178   #elif !defined(TN_01)
00179     #define TN_01 CN_03
00180   #elif !defined(TN_02)
00181     #define TN_02 CN_03
00182   #else
00183     #define TN_03 CN_03
00184   #endif
00185 #endif
00186 
00187 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (((Capabilities(CN_04)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_04) > 0)
00188   #if !defined(TN_00)
00189     #define TN_00 CN_04
00190   #elif !defined(TN_01)
00191     #define TN_01 CN_04
00192   #elif !defined(TN_02)
00193     #define TN_02 CN_04
00194   #elif !defined(TN_03)
00195     #define TN_03 CN_04
00196   #else
00197     #define TN_04 CN_04
00198   #endif
00199 #endif
00200 
00201 
00202 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (((Capabilities(CN_05)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_05) > 0)
00203   #if !defined(TN_00)
00204     #define TN_00 CN_05
00205   #elif !defined(TN_01)
00206     #define TN_01 CN_05
00207   #elif !defined(TN_02)
00208     #define TN_02 CN_05
00209   #elif !defined(TN_03)
00210     #define TN_03 CN_05
00211   #elif !defined(TN_04)
00212     #define TN_04 CN_05
00213   #else
00214     #define TN_05 CN_05
00215   #endif
00216 #endif
00217 
00218 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (((Capabilities(CN_06)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_06) > 0)
00219   #if !defined(TN_00)
00220     #define TN_00 CN_06
00221   #elif !defined(TN_01)
00222     #define TN_01 CN_06
00223   #elif !defined(TN_02)
00224     #define TN_02 CN_06
00225   #elif !defined(TN_03)
00226     #define TN_03 CN_06
00227   #elif !defined(TN_04)
00228     #define TN_04 CN_06
00229   #elif !defined(TN_05)
00230     #define TN_05 CN_06
00231   #else
00232     #define TN_06 CN_06
00233   #endif
00234 #endif
00235 
00236 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (((Capabilities(CN_07)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_07) > 0)
00237   #if !defined(TN_00)
00238     #define TN_00 CN_07
00239   #elif !defined(TN_01)
00240     #define TN_01 CN_07
00241   #elif !defined(TN_02)
00242     #define TN_02 CN_07
00243   #elif !defined(TN_03)
00244     #define TN_03 CN_07
00245   #elif !defined(TN_04)
00246     #define TN_04 CN_07
00247   #elif !defined(TN_05)
00248     #define TN_05 CN_07
00249   #elif !defined(TN_06)
00250     #define TN_06 CN_07
00251   #else
00252     #define TN_07 CN_07
00253   #endif
00254 #endif
00255 
00256 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (((Capabilities(CN_08)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_08) > 0)
00257   #if !defined(TN_00)
00258     #define TN_00 CN_08
00259   #elif !defined(TN_01)
00260     #define TN_01 CN_08
00261   #elif !defined(TN_02)
00262     #define TN_02 CN_08
00263   #elif !defined(TN_03)
00264     #define TN_03 CN_08
00265   #elif !defined(TN_04)
00266     #define TN_04 CN_08
00267   #elif !defined(TN_05)
00268     #define TN_05 CN_08
00269   #elif !defined(TN_06)
00270     #define TN_06 CN_08
00271   #elif !defined(TN_07)
00272     #define TN_07 CN_08
00273   #else
00274     #define TN_08 CN_08
00275   #endif
00276 #endif
00277 
00278 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (((Capabilities(CN_09)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_09) > 0)
00279   #if !defined(TN_00)
00280     #define TN_00 CN_09
00281   #elif !defined(TN_01)
00282     #define TN_01 CN_09
00283   #elif !defined(TN_02)
00284     #define TN_02 CN_09
00285   #elif !defined(TN_03)
00286     #define TN_03 CN_09
00287   #elif !defined(TN_04)
00288     #define TN_04 CN_09
00289   #elif !defined(TN_05)
00290     #define TN_05 CN_09
00291   #elif !defined(TN_06)
00292     #define TN_06 CN_09
00293   #elif !defined(TN_07)
00294     #define TN_07 CN_09
00295   #elif !defined(TN_08)
00296     #define TN_08 CN_09
00297   #else
00298     #define TN_09 CN_09
00299   #endif
00300 #endif
00301 
00302 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (((Capabilities(CN_10)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_10) > 0)
00303   #if !defined(TN_00)
00304     #define TN_00 CN_10
00305   #elif !defined(TN_01)
00306     #define TN_01 CN_10
00307   #elif !defined(TN_02)
00308     #define TN_02 CN_10
00309   #elif !defined(TN_03)
00310     #define TN_03 CN_10
00311   #elif !defined(TN_04)
00312     #define TN_04 CN_10
00313   #elif !defined(TN_05)
00314     #define TN_05 CN_10
00315   #elif !defined(TN_06)
00316     #define TN_06 CN_10
00317   #elif !defined(TN_07)
00318     #define TN_07 CN_10
00319   #elif !defined(TN_08)
00320     #define TN_08 CN_10
00321   #elif !defined(TN_09)
00322     #define TN_09 CN_10
00323   #else
00324     #define TN_10 CN_10
00325   #endif
00326 #endif
00327 
00328 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (((Capabilities(CN_11)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_11) > 0)
00329   #if !defined(TN_00)
00330     #define TN_00 CN_11
00331   #elif !defined(TN_01)
00332     #define TN_01 CN_11
00333   #elif !defined(TN_02)
00334     #define TN_02 CN_11
00335   #elif !defined(TN_03)
00336     #define TN_03 CN_11
00337   #elif !defined(TN_04)
00338     #define TN_04 CN_11
00339   #elif !defined(TN_05)
00340     #define TN_05 CN_11
00341   #elif !defined(TN_06)
00342     #define TN_06 CN_11
00343   #elif !defined(TN_07)
00344     #define TN_07 CN_11
00345   #elif !defined(TN_08)
00346     #define TN_08 CN_11
00347   #elif !defined(TN_09)
00348     #define TN_09 CN_11
00349   #elif !defined(TN_10)
00350     #define TN_10 CN_11
00351   #else
00352     #define TN_11 CN_11
00353   #endif
00354 #endif
00355 
00356 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (((Capabilities(CN_12)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_12) > 0)
00357   #if !defined(TN_00)
00358     #define TN_00 CN_12
00359   #elif !defined(TN_01)
00360     #define TN_01 CN_12
00361   #elif !defined(TN_02)
00362     #define TN_02 CN_12
00363   #elif !defined(TN_03)
00364     #define TN_03 CN_12
00365   #elif !defined(TN_04)
00366     #define TN_04 CN_12
00367   #elif !defined(TN_05)
00368     #define TN_05 CN_12
00369   #elif !defined(TN_06)
00370     #define TN_06 CN_12
00371   #elif !defined(TN_07)
00372     #define TN_07 CN_12
00373   #elif !defined(TN_08)
00374     #define TN_08 CN_12
00375   #elif !defined(TN_09)
00376     #define TN_09 CN_12
00377   #elif !defined(TN_10)
00378     #define TN_10 CN_12
00379   #elif !defined(TN_11)
00380     #define TN_11 CN_12
00381   #else
00382     #define TN_12 CN_12
00383   #endif
00384 #endif
00385 
00386 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (((Capabilities(CN_13)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_13) > 0)
00387   #if !defined(TN_00)
00388     #define TN_00 CN_13
00389   #elif !defined(TN_01)
00390     #define TN_01 CN_13
00391   #elif !defined(TN_02)
00392     #define TN_02 CN_13
00393   #elif !defined(TN_03)
00394     #define TN_03 CN_13
00395   #elif !defined(TN_04)
00396     #define TN_04 CN_13
00397   #elif !defined(TN_05)
00398     #define TN_05 CN_13
00399   #elif !defined(TN_06)
00400     #define TN_06 CN_13
00401   #elif !defined(TN_07)
00402     #define TN_07 CN_13
00403   #elif !defined(TN_08)
00404     #define TN_08 CN_13
00405   #elif !defined(TN_09)
00406     #define TN_09 CN_13
00407   #elif !defined(TN_10)
00408     #define TN_10 CN_13
00409   #elif !defined(TN_11)
00410     #define TN_11 CN_13
00411   #elif !defined(TN_12)
00412     #define TN_12 CN_13
00413   #else
00414     #define TN_13 CN_13
00415   #endif
00416 #endif
00417 
00418 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (((Capabilities(CN_14)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_14) > 0)
00419   #if !defined(TN_00)
00420     #define TN_00 CN_14
00421   #elif !defined(TN_01)
00422     #define TN_01 CN_14
00423   #elif !defined(TN_02)
00424     #define TN_02 CN_14
00425   #elif !defined(TN_03)
00426     #define TN_03 CN_14
00427   #elif !defined(TN_04)
00428     #define TN_04 CN_14
00429   #elif !defined(TN_05)
00430     #define TN_05 CN_14
00431   #elif !defined(TN_06)
00432     #define TN_06 CN_14
00433   #elif !defined(TN_07)
00434     #define TN_07 CN_14
00435   #elif !defined(TN_08)
00436     #define TN_08 CN_14
00437   #elif !defined(TN_09)
00438     #define TN_09 CN_14
00439   #elif !defined(TN_10)
00440     #define TN_10 CN_14
00441   #elif !defined(TN_11)
00442     #define TN_11 CN_14
00443   #elif !defined(TN_12)
00444     #define TN_12 CN_14
00445   #elif !defined(TN_13)
00446     #define TN_13 CN_14
00447   #else
00448     #define TN_14 CN_14
00449   #endif
00450 #endif
00451 
00452 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (((Capabilities(CN_15)) & cfgCapSynchronization) == cfgCapSynchronization) && (SlotSize(CN_15) > 0)
00453   #if !defined(TN_00)
00454     #define TN_00 CN_15
00455   #elif !defined(TN_01)
00456     #define TN_01 CN_15
00457   #elif !defined(TN_02)
00458     #define TN_02 CN_15
00459   #elif !defined(TN_03)
00460     #define TN_03 CN_15
00461   #elif !defined(TN_04)
00462     #define TN_04 CN_15
00463   #elif !defined(TN_05)
00464     #define TN_05 CN_15
00465   #elif !defined(TN_06)
00466     #define TN_06 CN_15
00467   #elif !defined(TN_07)
00468     #define TN_07 CN_15
00469   #elif !defined(TN_08)
00470     #define TN_08 CN_15
00471   #elif !defined(TN_09)
00472     #define TN_09 CN_15
00473   #elif !defined(TN_10)
00474     #define TN_10 CN_15
00475   #elif !defined(TN_11)
00476     #define TN_11 CN_15
00477   #elif !defined(TN_12)
00478     #define TN_12 CN_15
00479   #elif !defined(TN_13)
00480     #define TN_13 CN_15
00481   #elif !defined(TN_14)
00482     #define TN_14 CN_15
00483   #else
00484     #define TN_15 CN_15
00485   #endif
00486 #endif
00487 
00498 #if !defined(TN_00)
00499   #define defNumberOfTasksWithSlot 0
00500 #elif !defined(TN_01)
00501   #define defNumberOfTasksWithSlot 1
00502 #elif !defined(TN_02)
00503   #define defNumberOfTasksWithSlot 2
00504 #elif !defined(TN_03)
00505   #define defNumberOfTasksWithSlot 3
00506 #elif !defined(TN_04)
00507   #define defNumberOfTasksWithSlot 4
00508 #elif !defined(TN_05)
00509   #define defNumberOfTasksWithSlot 5
00510 #elif !defined(TN_06)
00511   #define defNumberOfTasksWithSlot 6
00512 #elif !defined(TN_07)
00513   #define defNumberOfTasksWithSlot 7
00514 #elif !defined(TN_08)
00515   #define defNumberOfTasksWithSlot 8
00516 #elif !defined(TN_09)
00517   #define defNumberOfTasksWithSlot 9
00518 #elif !defined(TN_10)
00519   #define defNumberOfTasksWithSlot 10
00520 #elif !defined(TN_11)
00521   #define defNumberOfTasksWithSlot 11
00522 #elif !defined(TN_12)
00523   #define defNumberOfTasksWithSlot 12
00524 #elif !defined(TN_13)
00525   #define defNumberOfTasksWithSlot 13
00526 #elif !defined(TN_14)
00527   #define defNumberOfTasksWithSlot 14
00528 #elif !defined(TN_15)
00529   #define defNumberOfTasksWithSlot 15
00530 #else
00531   #define defNumberOfTasksWithSlot 16
00532 #endif
00533 
00534 
00535 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && ((((Capabilities(CN_00)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_00) == 0))
00536   #if !defined(TN_00)
00537     #define TN_00 CN_00
00538   #elif !defined(TN_01)
00539     #define TN_01 CN_00
00540   #elif !defined(TN_02)
00541     #define TN_02 CN_00
00542   #elif !defined(TN_03)
00543     #define TN_03 CN_00
00544   #elif !defined(TN_04)
00545     #define TN_04 CN_00
00546   #elif !defined(TN_05)
00547     #define TN_05 CN_00
00548   #elif !defined(TN_06)
00549     #define TN_06 CN_00
00550   #elif !defined(TN_07)
00551     #define TN_07 CN_00
00552   #elif !defined(TN_08)
00553     #define TN_08 CN_00
00554   #elif !defined(TN_09)
00555     #define TN_09 CN_00
00556   #elif !defined(TN_10)
00557     #define TN_10 CN_00
00558   #elif !defined(TN_11)
00559     #define TN_11 CN_00
00560   #elif !defined(TN_12)
00561     #define TN_12 CN_00
00562   #elif !defined(TN_13)
00563     #define TN_13 CN_00
00564   #elif !defined(TN_14)
00565     #define TN_14 CN_00
00566   #elif !defined(TN_15)
00567     #define TN_15 CN_00
00568   #else
00569     #error "Task left without fields present - you should not arrive here"
00570   #endif
00571 #endif
00572 
00573 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && ((((Capabilities(CN_01)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_01) == 0))
00574   #if !defined(TN_00)
00575     #define TN_00 CN_01
00576   #elif !defined(TN_01)
00577     #define TN_01 CN_01
00578   #elif !defined(TN_02)
00579     #define TN_02 CN_01
00580   #elif !defined(TN_03)
00581     #define TN_03 CN_01
00582   #elif !defined(TN_04)
00583     #define TN_04 CN_01
00584   #elif !defined(TN_05)
00585     #define TN_05 CN_01
00586   #elif !defined(TN_06)
00587     #define TN_06 CN_01
00588   #elif !defined(TN_07)
00589     #define TN_07 CN_01
00590   #elif !defined(TN_08)
00591     #define TN_08 CN_01
00592   #elif !defined(TN_09)
00593     #define TN_09 CN_01
00594   #elif !defined(TN_10)
00595     #define TN_10 CN_01
00596   #elif !defined(TN_11)
00597     #define TN_11 CN_01
00598   #elif !defined(TN_12)
00599     #define TN_12 CN_01
00600   #elif !defined(TN_13)
00601     #define TN_13 CN_01
00602   #elif !defined(TN_14)
00603     #define TN_14 CN_01
00604   #elif !defined(TN_15)
00605     #define TN_15 CN_01
00606   #else
00607     #error "Task left without fields present - you should not arrive here"
00608   #endif
00609 #endif
00610 
00611 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && ((((Capabilities(CN_02)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_02) == 0))
00612   #if !defined(TN_00)
00613     #define TN_00 CN_02
00614   #elif !defined(TN_01)
00615     #define TN_01 CN_02
00616   #elif !defined(TN_02)
00617     #define TN_02 CN_02
00618   #elif !defined(TN_03)
00619     #define TN_03 CN_02
00620   #elif !defined(TN_04)
00621     #define TN_04 CN_02
00622   #elif !defined(TN_05)
00623     #define TN_05 CN_02
00624   #elif !defined(TN_06)
00625     #define TN_06 CN_02
00626   #elif !defined(TN_07)
00627     #define TN_07 CN_02
00628   #elif !defined(TN_08)
00629     #define TN_08 CN_02
00630   #elif !defined(TN_09)
00631     #define TN_09 CN_02
00632   #elif !defined(TN_10)
00633     #define TN_10 CN_02
00634   #elif !defined(TN_11)
00635     #define TN_11 CN_02
00636   #elif !defined(TN_12)
00637     #define TN_12 CN_02
00638   #elif !defined(TN_13)
00639     #define TN_13 CN_02
00640   #elif !defined(TN_14)
00641     #define TN_14 CN_02
00642   #elif !defined(TN_15)
00643     #define TN_15 CN_02
00644   #else
00645     #error "Task left without fields present - you should not arrive here"
00646   #endif
00647 #endif
00648 
00649 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && ((((Capabilities(CN_03)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_03) == 0))
00650   #if !defined(TN_00)
00651     #define TN_00 CN_03
00652   #elif !defined(TN_01)
00653     #define TN_01 CN_03
00654   #elif !defined(TN_02)
00655     #define TN_02 CN_03
00656   #elif !defined(TN_03)
00657     #define TN_03 CN_03
00658   #elif !defined(TN_04)
00659     #define TN_04 CN_03
00660   #elif !defined(TN_05)
00661     #define TN_05 CN_03
00662   #elif !defined(TN_06)
00663     #define TN_06 CN_03
00664   #elif !defined(TN_07)
00665     #define TN_07 CN_03
00666   #elif !defined(TN_08)
00667     #define TN_08 CN_03
00668   #elif !defined(TN_09)
00669     #define TN_09 CN_03
00670   #elif !defined(TN_10)
00671     #define TN_10 CN_03
00672   #elif !defined(TN_11)
00673     #define TN_11 CN_03
00674   #elif !defined(TN_12)
00675     #define TN_12 CN_03
00676   #elif !defined(TN_13)
00677     #define TN_13 CN_03
00678   #elif !defined(TN_14)
00679     #define TN_14 CN_03
00680   #elif !defined(TN_15)
00681     #define TN_15 CN_03
00682   #else
00683     #error "Task left without fields present - you should not arrive here"
00684   #endif
00685 #endif
00686 
00687 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && ((((Capabilities(CN_04)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_04) == 0))
00688   #if !defined(TN_00)
00689     #define TN_00 CN_04
00690   #elif !defined(TN_01)
00691     #define TN_01 CN_04
00692   #elif !defined(TN_02)
00693     #define TN_02 CN_04
00694   #elif !defined(TN_03)
00695     #define TN_03 CN_04
00696   #elif !defined(TN_04)
00697     #define TN_04 CN_04
00698   #elif !defined(TN_05)
00699     #define TN_05 CN_04
00700   #elif !defined(TN_06)
00701     #define TN_06 CN_04
00702   #elif !defined(TN_07)
00703     #define TN_07 CN_04
00704   #elif !defined(TN_08)
00705     #define TN_08 CN_04
00706   #elif !defined(TN_09)
00707     #define TN_09 CN_04
00708   #elif !defined(TN_10)
00709     #define TN_10 CN_04
00710   #elif !defined(TN_11)
00711     #define TN_11 CN_04
00712   #elif !defined(TN_12)
00713     #define TN_12 CN_04
00714   #elif !defined(TN_13)
00715     #define TN_13 CN_04
00716   #elif !defined(TN_14)
00717     #define TN_14 CN_04
00718   #elif !defined(TN_15)
00719     #define TN_15 CN_04
00720   #else
00721     #error "Task left without fields present - you should not arrive here"
00722   #endif
00723 #endif
00724 
00725 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && ((((Capabilities(CN_05)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_05) == 0))
00726   #if !defined(TN_00)
00727     #define TN_00 CN_05
00728   #elif !defined(TN_01)
00729     #define TN_01 CN_05
00730   #elif !defined(TN_02)
00731     #define TN_02 CN_05
00732   #elif !defined(TN_03)
00733     #define TN_03 CN_05
00734   #elif !defined(TN_04)
00735     #define TN_04 CN_05
00736   #elif !defined(TN_05)
00737     #define TN_05 CN_05
00738   #elif !defined(TN_06)
00739     #define TN_06 CN_05
00740   #elif !defined(TN_07)
00741     #define TN_07 CN_05
00742   #elif !defined(TN_08)
00743     #define TN_08 CN_05
00744   #elif !defined(TN_09)
00745     #define TN_09 CN_05
00746   #elif !defined(TN_10)
00747     #define TN_10 CN_05
00748   #elif !defined(TN_11)
00749     #define TN_11 CN_05
00750   #elif !defined(TN_12)
00751     #define TN_12 CN_05
00752   #elif !defined(TN_13)
00753     #define TN_13 CN_05
00754   #elif !defined(TN_14)
00755     #define TN_14 CN_05
00756   #elif !defined(TN_15)
00757     #define TN_15 CN_05
00758   #else
00759     #error "Task left without fields present - you should not arrive here"
00760   #endif
00761 #endif
00762 
00763 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && ((((Capabilities(CN_06)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_06) == 0))
00764   #if !defined(TN_00)
00765     #define TN_00 CN_06
00766   #elif !defined(TN_01)
00767     #define TN_01 CN_06
00768   #elif !defined(TN_02)
00769     #define TN_02 CN_06
00770   #elif !defined(TN_03)
00771     #define TN_03 CN_06
00772   #elif !defined(TN_04)
00773     #define TN_04 CN_06
00774   #elif !defined(TN_05)
00775     #define TN_05 CN_06
00776   #elif !defined(TN_06)
00777     #define TN_06 CN_06
00778   #elif !defined(TN_07)
00779     #define TN_07 CN_06
00780   #elif !defined(TN_08)
00781     #define TN_08 CN_06
00782   #elif !defined(TN_09)
00783     #define TN_09 CN_06
00784   #elif !defined(TN_10)
00785     #define TN_10 CN_06
00786   #elif !defined(TN_11)
00787     #define TN_11 CN_06
00788   #elif !defined(TN_12)
00789     #define TN_12 CN_06
00790   #elif !defined(TN_13)
00791     #define TN_13 CN_06
00792   #elif !defined(TN_14)
00793     #define TN_14 CN_06
00794   #elif !defined(TN_15)
00795     #define TN_15 CN_06
00796   #else
00797     #error "Task left without fields present - you should not arrive here"
00798   #endif
00799 #endif
00800 
00801 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && ((((Capabilities(CN_07)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_07) == 0))
00802   #if !defined(TN_00)
00803     #define TN_00 CN_07
00804   #elif !defined(TN_01)
00805     #define TN_01 CN_07
00806   #elif !defined(TN_02)
00807     #define TN_02 CN_07
00808   #elif !defined(TN_03)
00809     #define TN_03 CN_07
00810   #elif !defined(TN_04)
00811     #define TN_04 CN_07
00812   #elif !defined(TN_05)
00813     #define TN_05 CN_07
00814   #elif !defined(TN_06)
00815     #define TN_06 CN_07
00816   #elif !defined(TN_07)
00817     #define TN_07 CN_07
00818   #elif !defined(TN_08)
00819     #define TN_08 CN_07
00820   #elif !defined(TN_09)
00821     #define TN_09 CN_07
00822   #elif !defined(TN_10)
00823     #define TN_10 CN_07
00824   #elif !defined(TN_11)
00825     #define TN_11 CN_07
00826   #elif !defined(TN_12)
00827     #define TN_12 CN_07
00828   #elif !defined(TN_13)
00829     #define TN_13 CN_07
00830   #elif !defined(TN_14)
00831     #define TN_14 CN_07
00832   #elif !defined(TN_15)
00833     #define TN_15 CN_07
00834   #else
00835     #error "Task left without fields present - you should not arrive here"
00836   #endif
00837 #endif
00838 
00839 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && ((((Capabilities(CN_08)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_08) == 0))
00840   #if !defined(TN_00)
00841     #define TN_00 CN_08
00842   #elif !defined(TN_01)
00843     #define TN_01 CN_08
00844   #elif !defined(TN_02)
00845     #define TN_02 CN_08
00846   #elif !defined(TN_03)
00847     #define TN_03 CN_08
00848   #elif !defined(TN_04)
00849     #define TN_04 CN_08
00850   #elif !defined(TN_05)
00851     #define TN_05 CN_08
00852   #elif !defined(TN_06)
00853     #define TN_06 CN_08
00854   #elif !defined(TN_07)
00855     #define TN_07 CN_08
00856   #elif !defined(TN_08)
00857     #define TN_08 CN_08
00858   #elif !defined(TN_09)
00859     #define TN_09 CN_08
00860   #elif !defined(TN_10)
00861     #define TN_10 CN_08
00862   #elif !defined(TN_11)
00863     #define TN_11 CN_08
00864   #elif !defined(TN_12)
00865     #define TN_12 CN_08
00866   #elif !defined(TN_13)
00867     #define TN_13 CN_08
00868   #elif !defined(TN_14)
00869     #define TN_14 CN_08
00870   #elif !defined(TN_15)
00871     #define TN_15 CN_08
00872   #else
00873     #error "Task left without fields present - you should not arrive here"
00874   #endif
00875 #endif
00876 
00877 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && ((((Capabilities(CN_09)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_09) == 0))
00878   #if !defined(TN_00)
00879     #define TN_00 CN_09
00880   #elif !defined(TN_01)
00881     #define TN_01 CN_09
00882   #elif !defined(TN_02)
00883     #define TN_02 CN_09
00884   #elif !defined(TN_03)
00885     #define TN_03 CN_09
00886   #elif !defined(TN_04)
00887     #define TN_04 CN_09
00888   #elif !defined(TN_05)
00889     #define TN_05 CN_09
00890   #elif !defined(TN_06)
00891     #define TN_06 CN_09
00892   #elif !defined(TN_07)
00893     #define TN_07 CN_09
00894   #elif !defined(TN_08)
00895     #define TN_08 CN_09
00896   #elif !defined(TN_09)
00897     #define TN_09 CN_09
00898   #elif !defined(TN_10)
00899     #define TN_10 CN_09
00900   #elif !defined(TN_11)
00901     #define TN_11 CN_09
00902   #elif !defined(TN_12)
00903     #define TN_12 CN_09
00904   #elif !defined(TN_13)
00905     #define TN_13 CN_09
00906   #elif !defined(TN_14)
00907     #define TN_14 CN_09
00908   #elif !defined(TN_15)
00909     #define TN_15 CN_09
00910   #else
00911     #error "Task left without fields present - you should not arrive here"
00912   #endif
00913 #endif
00914 
00915 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && ((((Capabilities(CN_10)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_10) == 0))
00916   #if !defined(TN_00)
00917     #define TN_00 CN_10
00918   #elif !defined(TN_01)
00919     #define TN_01 CN_10
00920   #elif !defined(TN_02)
00921     #define TN_02 CN_10
00922   #elif !defined(TN_03)
00923     #define TN_03 CN_10
00924   #elif !defined(TN_04)
00925     #define TN_04 CN_10
00926   #elif !defined(TN_05)
00927     #define TN_05 CN_10
00928   #elif !defined(TN_06)
00929     #define TN_06 CN_10
00930   #elif !defined(TN_07)
00931     #define TN_07 CN_10
00932   #elif !defined(TN_08)
00933     #define TN_08 CN_10
00934   #elif !defined(TN_09)
00935     #define TN_09 CN_10
00936   #elif !defined(TN_10)
00937     #define TN_10 CN_10
00938   #elif !defined(TN_11)
00939     #define TN_11 CN_10
00940   #elif !defined(TN_12)
00941     #define TN_12 CN_10
00942   #elif !defined(TN_13)
00943     #define TN_13 CN_10
00944   #elif !defined(TN_14)
00945     #define TN_14 CN_10
00946   #elif !defined(TN_15)
00947     #define TN_15 CN_10
00948   #else
00949     #error "Task left without fields present - you should not arrive here"
00950   #endif
00951 #endif
00952 
00953 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && ((((Capabilities(CN_11)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_11) == 0))
00954   #if !defined(TN_00)
00955     #define TN_00 CN_11
00956   #elif !defined(TN_01)
00957     #define TN_01 CN_11
00958   #elif !defined(TN_02)
00959     #define TN_02 CN_11
00960   #elif !defined(TN_03)
00961     #define TN_03 CN_11
00962   #elif !defined(TN_04)
00963     #define TN_04 CN_11
00964   #elif !defined(TN_05)
00965     #define TN_05 CN_11
00966   #elif !defined(TN_06)
00967     #define TN_06 CN_11
00968   #elif !defined(TN_07)
00969     #define TN_07 CN_11
00970   #elif !defined(TN_08)
00971     #define TN_08 CN_11
00972   #elif !defined(TN_09)
00973     #define TN_09 CN_11
00974   #elif !defined(TN_10)
00975     #define TN_10 CN_11
00976   #elif !defined(TN_11)
00977     #define TN_11 CN_11
00978   #elif !defined(TN_12)
00979     #define TN_12 CN_11
00980   #elif !defined(TN_13)
00981     #define TN_13 CN_11
00982   #elif !defined(TN_14)
00983     #define TN_14 CN_11
00984   #elif !defined(TN_15)
00985     #define TN_15 CN_11
00986   #else
00987     #error "Task left without fields present - you should not arrive here"
00988   #endif
00989 #endif
00990 
00991 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && ((((Capabilities(CN_12)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_12) == 0))
00992   #if !defined(TN_00)
00993     #define TN_00 CN_12
00994   #elif !defined(TN_01)
00995     #define TN_01 CN_12
00996   #elif !defined(TN_02)
00997     #define TN_02 CN_12
00998   #elif !defined(TN_03)
00999     #define TN_03 CN_12
01000   #elif !defined(TN_04)
01001     #define TN_04 CN_12
01002   #elif !defined(TN_05)
01003     #define TN_05 CN_12
01004   #elif !defined(TN_06)
01005     #define TN_06 CN_12
01006   #elif !defined(TN_07)
01007     #define TN_07 CN_12
01008   #elif !defined(TN_08)
01009     #define TN_08 CN_12
01010   #elif !defined(TN_09)
01011     #define TN_09 CN_12
01012   #elif !defined(TN_10)
01013     #define TN_10 CN_12
01014   #elif !defined(TN_11)
01015     #define TN_11 CN_12
01016   #elif !defined(TN_12)
01017     #define TN_12 CN_12
01018   #elif !defined(TN_13)
01019     #define TN_13 CN_12
01020   #elif !defined(TN_14)
01021     #define TN_14 CN_12
01022   #elif !defined(TN_15)
01023     #define TN_15 CN_12
01024   #else
01025     #error "Task left without fields present - you should not arrive here"
01026   #endif
01027 #endif
01028 
01029 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && ((((Capabilities(CN_13)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_13) == 0))
01030   #if !defined(TN_00)
01031     #define TN_00 CN_13
01032   #elif !defined(TN_01)
01033     #define TN_01 CN_13
01034   #elif !defined(TN_02)
01035     #define TN_02 CN_13
01036   #elif !defined(TN_03)
01037     #define TN_03 CN_13
01038   #elif !defined(TN_04)
01039     #define TN_04 CN_13
01040   #elif !defined(TN_05)
01041     #define TN_05 CN_13
01042   #elif !defined(TN_06)
01043     #define TN_06 CN_13
01044   #elif !defined(TN_07)
01045     #define TN_07 CN_13
01046   #elif !defined(TN_08)
01047     #define TN_08 CN_13
01048   #elif !defined(TN_09)
01049     #define TN_09 CN_13
01050   #elif !defined(TN_10)
01051     #define TN_10 CN_13
01052   #elif !defined(TN_11)
01053     #define TN_11 CN_13
01054   #elif !defined(TN_12)
01055     #define TN_12 CN_13
01056   #elif !defined(TN_13)
01057     #define TN_13 CN_13
01058   #elif !defined(TN_14)
01059     #define TN_14 CN_13
01060   #elif !defined(TN_15)
01061     #define TN_15 CN_13
01062   #else
01063     #error "Task left without fields present - you should not arrive here"
01064   #endif
01065 #endif
01066 
01067 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && ((((Capabilities(CN_14)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_14) == 0))
01068   #if !defined(TN_00)
01069     #define TN_00 CN_14
01070   #elif !defined(TN_01)
01071     #define TN_01 CN_14
01072   #elif !defined(TN_02)
01073     #define TN_02 CN_14
01074   #elif !defined(TN_03)
01075     #define TN_03 CN_14
01076   #elif !defined(TN_04)
01077     #define TN_04 CN_14
01078   #elif !defined(TN_05)
01079     #define TN_05 CN_14
01080   #elif !defined(TN_06)
01081     #define TN_06 CN_14
01082   #elif !defined(TN_07)
01083     #define TN_07 CN_14
01084   #elif !defined(TN_08)
01085     #define TN_08 CN_14
01086   #elif !defined(TN_09)
01087     #define TN_09 CN_14
01088   #elif !defined(TN_10)
01089     #define TN_10 CN_14
01090   #elif !defined(TN_11)
01091     #define TN_11 CN_14
01092   #elif !defined(TN_12)
01093     #define TN_12 CN_14
01094   #elif !defined(TN_13)
01095     #define TN_13 CN_14
01096   #elif !defined(TN_14)
01097     #define TN_14 CN_14
01098   #elif !defined(TN_15)
01099     #define TN_15 CN_14
01100   #else
01101     #error "Task left without fields present - you should not arrive here"
01102   #endif
01103 #endif
01104 
01105 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && ((((Capabilities(CN_15)) & cfgCapSynchronization) != cfgCapSynchronization) || (SlotSize(CN_15) == 0))
01106   #if !defined(TN_00)
01107     #define TN_00 CN_15
01108   #elif !defined(TN_01)
01109     #define TN_01 CN_15
01110   #elif !defined(TN_02)
01111     #define TN_02 CN_15
01112   #elif !defined(TN_03)
01113     #define TN_03 CN_15
01114   #elif !defined(TN_04)
01115     #define TN_04 CN_15
01116   #elif !defined(TN_05)
01117     #define TN_05 CN_15
01118   #elif !defined(TN_06)
01119     #define TN_06 CN_15
01120   #elif !defined(TN_07)
01121     #define TN_07 CN_15
01122   #elif !defined(TN_08)
01123     #define TN_08 CN_15
01124   #elif !defined(TN_09)
01125     #define TN_09 CN_15
01126   #elif !defined(TN_10)
01127     #define TN_10 CN_15
01128   #elif !defined(TN_11)
01129     #define TN_11 CN_15
01130   #elif !defined(TN_12)
01131     #define TN_12 CN_15
01132   #elif !defined(TN_13)
01133     #define TN_13 CN_15
01134   #elif !defined(TN_14)
01135     #define TN_14 CN_15
01136   #elif !defined(TN_15)
01137     #define TN_15 CN_15
01138   #else
01139     #error "Task left without fields present - you should not arrive here"
01140   #endif
01141 #endif
01142 
01143 
01144 #else
01145 
01146 #define defNumberOfTasksWithSlot 0
01147 
01148 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude)
01149   #define TN_00 CN_00
01150 #endif
01151 
01152 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude)
01153   #if !defined(TN_00)
01154     #define TN_00 CN_01
01155   #else
01156     #define TN_01 CN_01
01157   #endif
01158 #endif
01159 
01160 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude)
01161   #if !defined(TN_00)
01162     #define TN_00 CN_02
01163   #elif !defined(TN_01)
01164     #define TN_01 CN_02
01165   #else
01166     #define TN_02 CN_02
01167   #endif
01168 #endif
01169 
01170 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude)
01171   #if !defined(TN_00)
01172     #define TN_00 CN_03
01173   #elif !defined(TN_01)
01174     #define TN_01 CN_03
01175   #elif !defined(TN_02)
01176     #define TN_02 CN_03
01177   #else
01178     #define TN_03 CN_03
01179   #endif
01180 #endif
01181 
01182 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude)
01183   #if !defined(TN_00)
01184     #define TN_00 CN_04
01185   #elif !defined(TN_01)
01186     #define TN_01 CN_04
01187   #elif !defined(TN_02)
01188     #define TN_02 CN_04
01189   #elif !defined(TN_03)
01190     #define TN_03 CN_04
01191   #else
01192     #define TN_04 CN_04
01193   #endif
01194 #endif
01195 
01196 
01197 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude)
01198   #if !defined(TN_00)
01199     #define TN_00 CN_05
01200   #elif !defined(TN_01)
01201     #define TN_01 CN_05
01202   #elif !defined(TN_02)
01203     #define TN_02 CN_05
01204   #elif !defined(TN_03)
01205     #define TN_03 CN_05
01206   #elif !defined(TN_04)
01207     #define TN_04 CN_05
01208   #else
01209     #define TN_05 CN_05
01210   #endif
01211 #endif
01212 
01213 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude)
01214   #if !defined(TN_00)
01215     #define TN_00 CN_06
01216   #elif !defined(TN_01)
01217     #define TN_01 CN_06
01218   #elif !defined(TN_02)
01219     #define TN_02 CN_06
01220   #elif !defined(TN_03)
01221     #define TN_03 CN_06
01222   #elif !defined(TN_04)
01223     #define TN_04 CN_06
01224   #elif !defined(TN_05)
01225     #define TN_05 CN_06
01226   #else
01227     #define TN_06 CN_06
01228   #endif
01229 #endif
01230 
01231 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude)
01232   #if !defined(TN_00)
01233     #define TN_00 CN_07
01234   #elif !defined(TN_01)
01235     #define TN_01 CN_07
01236   #elif !defined(TN_02)
01237     #define TN_02 CN_07
01238   #elif !defined(TN_03)
01239     #define TN_03 CN_07
01240   #elif !defined(TN_04)
01241     #define TN_04 CN_07
01242   #elif !defined(TN_05)
01243     #define TN_05 CN_07
01244   #elif !defined(TN_06)
01245     #define TN_06 CN_07
01246   #else
01247     #define TN_07 CN_07
01248   #endif
01249 #endif
01250 
01251 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude)
01252   #if !defined(TN_00)
01253     #define TN_00 CN_08
01254   #elif !defined(TN_01)
01255     #define TN_01 CN_08
01256   #elif !defined(TN_02)
01257     #define TN_02 CN_08
01258   #elif !defined(TN_03)
01259     #define TN_03 CN_08
01260   #elif !defined(TN_04)
01261     #define TN_04 CN_08
01262   #elif !defined(TN_05)
01263     #define TN_05 CN_08
01264   #elif !defined(TN_06)
01265     #define TN_06 CN_08
01266   #elif !defined(TN_07)
01267     #define TN_07 CN_08
01268   #else
01269     #define TN_08 CN_08
01270   #endif
01271 #endif
01272 
01273 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude)
01274   #if !defined(TN_00)
01275     #define TN_00 CN_09
01276   #elif !defined(TN_01)
01277     #define TN_01 CN_09
01278   #elif !defined(TN_02)
01279     #define TN_02 CN_09
01280   #elif !defined(TN_03)
01281     #define TN_03 CN_09
01282   #elif !defined(TN_04)
01283     #define TN_04 CN_09
01284   #elif !defined(TN_05)
01285     #define TN_05 CN_09
01286   #elif !defined(TN_06)
01287     #define TN_06 CN_09
01288   #elif !defined(TN_07)
01289     #define TN_07 CN_09
01290   #elif !defined(TN_08)
01291     #define TN_08 CN_09
01292   #else
01293     #define TN_09 CN_09
01294   #endif
01295 #endif
01296 
01297 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude)
01298   #if !defined(TN_00)
01299     #define TN_00 CN_10
01300   #elif !defined(TN_01)
01301     #define TN_01 CN_10
01302   #elif !defined(TN_02)
01303     #define TN_02 CN_10
01304   #elif !defined(TN_03)
01305     #define TN_03 CN_10
01306   #elif !defined(TN_04)
01307     #define TN_04 CN_10
01308   #elif !defined(TN_05)
01309     #define TN_05 CN_10
01310   #elif !defined(TN_06)
01311     #define TN_06 CN_10
01312   #elif !defined(TN_07)
01313     #define TN_07 CN_10
01314   #elif !defined(TN_08)
01315     #define TN_08 CN_10
01316   #elif !defined(TN_09)
01317     #define TN_09 CN_10
01318   #else
01319     #define TN_10 CN_10
01320   #endif
01321 #endif
01322 
01323 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude)
01324   #if !defined(TN_00)
01325     #define TN_00 CN_11
01326   #elif !defined(TN_01)
01327     #define TN_01 CN_11
01328   #elif !defined(TN_02)
01329     #define TN_02 CN_11
01330   #elif !defined(TN_03)
01331     #define TN_03 CN_11
01332   #elif !defined(TN_04)
01333     #define TN_04 CN_11
01334   #elif !defined(TN_05)
01335     #define TN_05 CN_11
01336   #elif !defined(TN_06)
01337     #define TN_06 CN_11
01338   #elif !defined(TN_07)
01339     #define TN_07 CN_11
01340   #elif !defined(TN_08)
01341     #define TN_08 CN_11
01342   #elif !defined(TN_09)
01343     #define TN_09 CN_11
01344   #elif !defined(TN_10)
01345     #define TN_10 CN_11
01346   #else
01347     #define TN_11 CN_11
01348   #endif
01349 #endif
01350 
01351 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude)
01352   #if !defined(TN_00)
01353     #define TN_00 CN_12
01354   #elif !defined(TN_01)
01355     #define TN_01 CN_12
01356   #elif !defined(TN_02)
01357     #define TN_02 CN_12
01358   #elif !defined(TN_03)
01359     #define TN_03 CN_12
01360   #elif !defined(TN_04)
01361     #define TN_04 CN_12
01362   #elif !defined(TN_05)
01363     #define TN_05 CN_12
01364   #elif !defined(TN_06)
01365     #define TN_06 CN_12
01366   #elif !defined(TN_07)
01367     #define TN_07 CN_12
01368   #elif !defined(TN_08)
01369     #define TN_08 CN_12
01370   #elif !defined(TN_09)
01371     #define TN_09 CN_12
01372   #elif !defined(TN_10)
01373     #define TN_10 CN_12
01374   #elif !defined(TN_11)
01375     #define TN_11 CN_12
01376   #else
01377     #define TN_12 CN_12
01378   #endif
01379 #endif
01380 
01381 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude)
01382   #if !defined(TN_00)
01383     #define TN_00 CN_13
01384   #elif !defined(TN_01)
01385     #define TN_01 CN_13
01386   #elif !defined(TN_02)
01387     #define TN_02 CN_13
01388   #elif !defined(TN_03)
01389     #define TN_03 CN_13
01390   #elif !defined(TN_04)
01391     #define TN_04 CN_13
01392   #elif !defined(TN_05)
01393     #define TN_05 CN_13
01394   #elif !defined(TN_06)
01395     #define TN_06 CN_13
01396   #elif !defined(TN_07)
01397     #define TN_07 CN_13
01398   #elif !defined(TN_08)
01399     #define TN_08 CN_13
01400   #elif !defined(TN_09)
01401     #define TN_09 CN_13
01402   #elif !defined(TN_10)
01403     #define TN_10 CN_13
01404   #elif !defined(TN_11)
01405     #define TN_11 CN_13
01406   #elif !defined(TN_12)
01407     #define TN_12 CN_13
01408   #else
01409     #define TN_13 CN_13
01410   #endif
01411 #endif
01412 
01413 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude)
01414   #if !defined(TN_00)
01415     #define TN_00 CN_14
01416   #elif !defined(TN_01)
01417     #define TN_01 CN_14
01418   #elif !defined(TN_02)
01419     #define TN_02 CN_14
01420   #elif !defined(TN_03)
01421     #define TN_03 CN_14
01422   #elif !defined(TN_04)
01423     #define TN_04 CN_14
01424   #elif !defined(TN_05)
01425     #define TN_05 CN_14
01426   #elif !defined(TN_06)
01427     #define TN_06 CN_14
01428   #elif !defined(TN_07)
01429     #define TN_07 CN_14
01430   #elif !defined(TN_08)
01431     #define TN_08 CN_14
01432   #elif !defined(TN_09)
01433     #define TN_09 CN_14
01434   #elif !defined(TN_10)
01435     #define TN_10 CN_14
01436   #elif !defined(TN_11)
01437     #define TN_11 CN_14
01438   #elif !defined(TN_12)
01439     #define TN_12 CN_14
01440   #elif !defined(TN_13)
01441     #define TN_13 CN_14
01442   #else
01443     #define TN_14 CN_14
01444   #endif
01445 #endif
01446 
01447 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude)
01448   #if !defined(TN_00)
01449     #define TN_00 CN_15
01450   #elif !defined(TN_01)
01451     #define TN_01 CN_15
01452   #elif !defined(TN_02)
01453     #define TN_02 CN_15
01454   #elif !defined(TN_03)
01455     #define TN_03 CN_15
01456   #elif !defined(TN_04)
01457     #define TN_04 CN_15
01458   #elif !defined(TN_05)
01459     #define TN_05 CN_15
01460   #elif !defined(TN_06)
01461     #define TN_06 CN_15
01462   #elif !defined(TN_07)
01463     #define TN_07 CN_15
01464   #elif !defined(TN_08)
01465     #define TN_08 CN_15
01466   #elif !defined(TN_09)
01467     #define TN_09 CN_15
01468   #elif !defined(TN_10)
01469     #define TN_10 CN_15
01470   #elif !defined(TN_11)
01471     #define TN_11 CN_15
01472   #elif !defined(TN_12)
01473     #define TN_12 CN_15
01474   #elif !defined(TN_13)
01475     #define TN_13 CN_15
01476   #elif !defined(TN_14)
01477     #define TN_14 CN_15
01478   #else
01479     #define TN_15 CN_15
01480   #endif
01481 #endif
01482 
01483 #endif
01484 
01485 #if !defined(TN_00)
01486   #define defNumberOfTasks 0
01487 #elif !defined(TN_01)
01488   #define defNumberOfTasks 1
01489 #elif !defined(TN_02)
01490   #define defNumberOfTasks 2
01491 #elif !defined(TN_03)
01492   #define defNumberOfTasks 3
01493 #elif !defined(TN_04)
01494   #define defNumberOfTasks 4
01495 #elif !defined(TN_05)
01496   #define defNumberOfTasks 5
01497 #elif !defined(TN_06)
01498   #define defNumberOfTasks 6
01499 #elif !defined(TN_07)
01500   #define defNumberOfTasks 7
01501 #elif !defined(TN_08)
01502   #define defNumberOfTasks 8
01503 #elif !defined(TN_09)
01504   #define defNumberOfTasks 9
01505 #elif !defined(TN_10)
01506   #define defNumberOfTasks 10
01507 #elif !defined(TN_11)
01508   #define defNumberOfTasks 11
01509 #elif !defined(TN_12)
01510   #define defNumberOfTasks 12
01511 #elif !defined(TN_13)
01512   #define defNumberOfTasks 13
01513 #elif !defined(TN_14)
01514   #define defNumberOfTasks 14
01515 #elif !defined(TN_15)
01516   #define defNumberOfTasks 15
01517 #else
01518   #define defNumberOfTasks 16
01519 #endif
01520 
01521 
01522 /* We first define all queus on the slots so that they occupy the
01523  * lowest slot numbers. Namely those in the range:
01524  * 0 .. defNumberOfQueus-1  */
01525 
01526 #if defined(SN_01) && (SlotUse(SN_01) == cfgUseAsQueu)
01527   #define LN_01 SN_01
01528 #endif
01529 
01530 #if defined(SN_02) && (SlotUse(SN_02) == cfgUseAsQueu)
01531   #if !defined(LN_01)
01532     #define LN_01 SN_02
01533   #else
01534     #define LN_02 SN_02
01535   #endif
01536 #endif
01537 
01538 #if defined(SN_03) && (SlotUse(SN_03) == cfgUseAsQueu)
01539   #if !defined(LN_01)
01540     #define LN_01 SN_03
01541   #elif !defined(LN_02)
01542     #define LN_02 SN_03
01543   #else
01544     #define LN_03 SN_03
01545   #endif
01546 #endif
01547 
01548 #if defined(SN_04) && (SlotUse(SN_04) == cfgUseAsQueu)
01549   #if !defined(LN_01)
01550     #define LN_01 SN_04
01551   #elif !defined(LN_02)
01552     #define LN_02 SN_04
01553   #elif !defined(LN_03)
01554     #define LN_03 SN_04
01555   #else
01556     #define LN_04 SN_04
01557   #endif
01558 #endif
01559 
01560 #if defined(SN_05) && (SlotUse(SN_05) == cfgUseAsQueu)
01561   #if !defined(LN_01)
01562     #define LN_01 SN_05
01563   #elif !defined(LN_02)
01564     #define LN_02 SN_05
01565   #elif !defined(LN_03)
01566     #define LN_03 SN_05
01567   #elif !defined(LN_04)
01568     #define LN_04 SN_05
01569   #else
01570     #define LN_05 SN_05
01571   #endif
01572 #endif
01573 
01574 
01575 #if defined(SN_06) && (SlotUse(SN_06) == cfgUseAsQueu)
01576   #if !defined(LN_01)
01577     #define LN_01 SN_06
01578   #elif !defined(LN_02)
01579     #define LN_02 SN_06
01580   #elif !defined(LN_03)
01581     #define LN_03 SN_06
01582   #elif !defined(LN_04)
01583     #define LN_04 SN_06
01584   #elif !defined(LN_05)
01585     #define LN_05 SN_06
01586   #else
01587     #define LN_06 SN_06
01588   #endif
01589 #endif
01590 
01591 #if defined(SN_07) && (SlotUse(SN_07) == cfgUseAsQueu)
01592   #if !defined(LN_01)
01593     #define LN_01 SN_07
01594   #elif !defined(LN_02)
01595     #define LN_02 SN_07
01596   #elif !defined(LN_03)
01597     #define LN_03 SN_07
01598   #elif !defined(LN_04)
01599     #define LN_04 SN_07
01600   #elif !defined(LN_05)
01601     #define LN_05 SN_07
01602   #elif !defined(LN_06)
01603     #define LN_06 SN_07
01604   #else
01605     #define LN_07 SN_07
01606   #endif
01607 #endif
01608 
01609 #if defined(SN_08) && (SlotUse(SN_08) == cfgUseAsQueu)
01610   #if !defined(LN_01)
01611     #define LN_01 SN_08
01612   #elif !defined(LN_02)
01613     #define LN_02 SN_08
01614   #elif !defined(LN_03)
01615     #define LN_03 SN_08
01616   #elif !defined(LN_04)
01617     #define LN_04 SN_08
01618   #elif !defined(LN_05)
01619     #define LN_05 SN_08
01620   #elif !defined(LN_06)
01621     #define LN_06 SN_08
01622   #elif !defined(LN_07)
01623     #define LN_07 SN_08
01624   #else
01625     #define LN_08 SN_08
01626   #endif
01627 #endif
01628 
01629 #if defined(SN_09) && (SlotUse(SN_09) == cfgUseAsQueu)
01630   #if !defined(LN_01)
01631     #define LN_01 SN_09
01632   #elif !defined(LN_02)
01633     #define LN_02 SN_09
01634   #elif !defined(LN_03)
01635     #define LN_03 SN_09
01636   #elif !defined(LN_04)
01637     #define LN_04 SN_09
01638   #elif !defined(LN_05)
01639     #define LN_05 SN_09
01640   #elif !defined(LN_06)
01641     #define LN_06 SN_09
01642   #elif !defined(LN_07)
01643     #define LN_07 SN_09
01644   #elif !defined(LN_08)
01645     #define LN_08 SN_09
01646   #else
01647     #define LN_09 SN_09
01648   #endif
01649 #endif
01650 
01651 #if defined(SN_10) && (SlotUse(SN_10) == cfgUseAsQueu)
01652   #if !defined(LN_01)
01653     #define LN_01 SN_10
01654   #elif !defined(LN_02)
01655     #define LN_02 SN_10
01656   #elif !defined(LN_03)
01657     #define LN_03 SN_10
01658   #elif !defined(LN_04)
01659     #define LN_04 SN_10
01660   #elif !defined(LN_05)
01661     #define LN_05 SN_10
01662   #elif !defined(LN_06)
01663     #define LN_06 SN_10
01664   #elif !defined(LN_07)
01665     #define LN_07 SN_10
01666   #elif !defined(LN_08)
01667     #define LN_08 SN_10
01668   #elif !defined(LN_09)
01669     #define LN_09 SN_10
01670   #else
01671     #define LN_10 SN_10
01672   #endif
01673 #endif
01674 
01675 #if defined(SN_11) && (SlotUse(SN_11) == cfgUseAsQueu)
01676   #if !defined(LN_01)
01677     #define LN_01 SN_11
01678   #elif !defined(LN_02)
01679     #define LN_02 SN_11
01680   #elif !defined(LN_03)
01681     #define LN_03 SN_11
01682   #elif !defined(LN_04)
01683     #define LN_04 SN_11
01684   #elif !defined(LN_05)
01685     #define LN_05 SN_11
01686   #elif !defined(LN_06)
01687     #define LN_06 SN_11
01688   #elif !defined(LN_07)
01689     #define LN_07 SN_11
01690   #elif !defined(LN_08)
01691     #define LN_08 SN_11
01692   #elif !defined(LN_09)
01693     #define LN_09 SN_11
01694   #elif !defined(LN_10)
01695     #define LN_10 SN_11
01696   #else
01697     #define LN_11 SN_11
01698   #endif
01699 #endif
01700 
01701 #if defined(SN_12) && (SlotUse(SN_12) == cfgUseAsQueu)
01702   #if !defined(LN_01)
01703     #define LN_01 SN_12
01704   #elif !defined(LN_02)
01705     #define LN_02 SN_12
01706   #elif !defined(LN_03)
01707     #define LN_03 SN_12
01708   #elif !defined(LN_04)
01709     #define LN_04 SN_12
01710   #elif !defined(LN_05)
01711     #define LN_05 SN_12
01712   #elif !defined(LN_06)
01713     #define LN_06 SN_12
01714   #elif !defined(LN_07)
01715     #define LN_07 SN_12
01716   #elif !defined(LN_08)
01717     #define LN_08 SN_12
01718   #elif !defined(LN_09)
01719     #define LN_09 SN_12
01720   #elif !defined(LN_10)
01721     #define LN_10 SN_12
01722   #elif !defined(LN_11)
01723     #define LN_11 SN_12
01724   #else
01725     #define LN_12 SN_12
01726   #endif
01727 #endif
01728 
01729 #if defined(SN_13) && (SlotUse(SN_13) == cfgUseAsQueu)
01730   #if !defined(LN_01)
01731     #define LN_01 SN_13
01732   #elif !defined(LN_02)
01733     #define LN_02 SN_13
01734   #elif !defined(LN_03)
01735     #define LN_03 SN_13
01736   #elif !defined(LN_04)
01737     #define LN_04 SN_13
01738   #elif !defined(LN_05)
01739     #define LN_05 SN_13
01740   #elif !defined(LN_06)
01741     #define LN_06 SN_13
01742   #elif !defined(LN_07)
01743     #define LN_07 SN_13
01744   #elif !defined(LN_08)
01745     #define LN_08 SN_13
01746   #elif !defined(LN_09)
01747     #define LN_09 SN_13
01748   #elif !defined(LN_10)
01749     #define LN_10 SN_13
01750   #elif !defined(LN_11)
01751     #define LN_11 SN_13
01752   #elif !defined(LN_12)
01753     #define LN_12 SN_13
01754   #else
01755     #define LN_13 SN_13
01756   #endif
01757 #endif
01758 
01759 #if defined(SN_14) && (SlotUse(SN_14) == cfgUseAsQueu)
01760   #if !defined(LN_01)
01761     #define LN_01 SN_14
01762   #elif !defined(LN_02)
01763     #define LN_02 SN_14
01764   #elif !defined(LN_03)
01765     #define LN_03 SN_14
01766   #elif !defined(LN_04)
01767     #define LN_04 SN_14
01768   #elif !defined(LN_05)
01769     #define LN_05 SN_14
01770   #elif !defined(LN_06)
01771     #define LN_06 SN_14
01772   #elif !defined(LN_07)
01773     #define LN_07 SN_14
01774   #elif !defined(LN_08)
01775     #define LN_08 SN_14
01776   #elif !defined(LN_09)
01777     #define LN_09 SN_14
01778   #elif !defined(LN_10)
01779     #define LN_10 SN_14
01780   #elif !defined(LN_11)
01781     #define LN_11 SN_14
01782   #elif !defined(LN_12)
01783     #define LN_12 SN_14
01784   #elif !defined(LN_13)
01785     #define LN_13 SN_14
01786   #else
01787     #define LN_14 SN_14
01788   #endif
01789 #endif
01790 
01791 #if defined(SN_15) && (SlotUse(SN_15) == cfgUseAsQueu)
01792   #if !defined(LN_01)
01793     #define LN_01 SN_15
01794   #elif !defined(LN_02)
01795     #define LN_02 SN_15
01796   #elif !defined(LN_03)
01797     #define LN_03 SN_15
01798   #elif !defined(LN_04)
01799     #define LN_04 SN_15
01800   #elif !defined(LN_05)
01801     #define LN_05 SN_15
01802   #elif !defined(LN_06)
01803     #define LN_06 SN_15
01804   #elif !defined(LN_07)
01805     #define LN_07 SN_15
01806   #elif !defined(LN_08)
01807     #define LN_08 SN_15
01808   #elif !defined(LN_09)
01809     #define LN_09 SN_15
01810   #elif !defined(LN_10)
01811     #define LN_10 SN_15
01812   #elif !defined(LN_11)
01813     #define LN_11 SN_15
01814   #elif !defined(LN_12)
01815     #define LN_12 SN_15
01816   #elif !defined(LN_13)
01817     #define LN_13 SN_15
01818   #elif !defined(LN_14)
01819     #define LN_14 SN_15
01820   #else
01821     #define LN_15 SN_15
01822   #endif
01823 #endif
01824 
01825 
01826 #if !defined(LN_01)
01827   #define defNumberQueuEnd 1
01828 #elif !defined(LN_02)
01829   #define defNumberQueuEnd 2
01830 #elif !defined(LN_03)
01831   #define defNumberQueuEnd 3
01832 #elif !defined(LN_04)
01833   #define defNumberQueuEnd 4
01834 #elif !defined(LN_05)
01835   #define defNumberQueuEnd 5
01836 #elif !defined(LN_06)
01837   #define defNumberQueuEnd 6
01838 #elif !defined(LN_07)
01839   #define defNumberQueuEnd 7
01840 #elif !defined(LN_08)
01841   #define defNumberQueuEnd 8
01842 #elif !defined(LN_09)
01843   #define defNumberQueuEnd 9
01844 #elif !defined(LN_10)
01845   #define defNumberQueuEnd 10
01846 #elif !defined(LN_11)
01847   #define defNumberQueuEnd 11
01848 #elif !defined(LN_12)
01849   #define defNumberQueuEnd 12
01850 #elif !defined(LN_13)
01851   #define defNumberQueuEnd 13
01852 #elif !defined(LN_14)
01853   #define defNumberQueuEnd 14
01854 #elif !defined(LN_15)
01855   #define defNumberQueuEnd 15
01856 #else
01857   #define defNumberQueuEnd 16
01858 #endif
01859 
01860 /* To loop through all queus use the following definitions, do not
01861  * include the end in the loop */
01862 #define defNumberQueuBegin 1
01863 #define defNumberOfQueus   (defNumberQueuEnd - defNumberQueuBegin)
01864 
01865 
01866 /* Now we define all mutexed on the slots so that they occupy the
01867  * next lowest slot numbers. */
01868 
01869 #if defined(SN_01) && (SlotUse(SN_01) == cfgUseAsMutex)
01870   #if !defined(LN_01)
01871     #define LN_01 SN_01
01872   #elif !defined(LN_02)
01873     #define LN_02 SN_01
01874   #elif !defined(LN_03)
01875     #define LN_03 SN_01
01876   #elif !defined(LN_04)
01877     #define LN_04 SN_01
01878   #elif !defined(LN_05)
01879     #define LN_05 SN_01
01880   #elif !defined(LN_06)
01881     #define LN_06 SN_01
01882   #elif !defined(LN_07)
01883     #define LN_07 SN_01
01884   #elif !defined(LN_08)
01885     #define LN_08 SN_01
01886   #elif !defined(LN_09)
01887     #define LN_09 SN_01
01888   #elif !defined(LN_10)
01889     #define LN_10 SN_01
01890   #elif !defined(LN_11)
01891     #define LN_11 SN_01
01892   #elif !defined(LN_12)
01893     #define LN_12 SN_01
01894   #elif !defined(LN_13)
01895     #define LN_13 SN_01
01896   #elif !defined(LN_14)
01897     #define LN_14 SN_01
01898   #elif !defined(LN_15)
01899     #define LN_15 SN_01
01900   #else
01901     #error "Slot left without fields present - you should not arrive here"
01902   #endif
01903 #endif
01904 
01905 #if defined(SN_02) && (SlotUse(SN_02) == cfgUseAsMutex)
01906   #if !defined(LN_01)
01907     #define LN_01 SN_02
01908   #elif !defined(LN_02)
01909     #define LN_02 SN_02
01910   #elif !defined(LN_03)
01911     #define LN_03 SN_02
01912   #elif !defined(LN_04)
01913     #define LN_04 SN_02
01914   #elif !defined(LN_05)
01915     #define LN_05 SN_02
01916   #elif !defined(LN_06)
01917     #define LN_06 SN_02
01918   #elif !defined(LN_07)
01919     #define LN_07 SN_02
01920   #elif !defined(LN_08)
01921     #define LN_08 SN_02
01922   #elif !defined(LN_09)
01923     #define LN_09 SN_02
01924   #elif !defined(LN_10)
01925     #define LN_10 SN_02
01926   #elif !defined(LN_11)
01927     #define LN_11 SN_02
01928   #elif !defined(LN_12)
01929     #define LN_12 SN_02
01930   #elif !defined(LN_13)
01931     #define LN_13 SN_02
01932   #elif !defined(LN_14)
01933     #define LN_14 SN_02
01934   #elif !defined(LN_15)
01935     #define LN_15 SN_02
01936   #else
01937     #error "Slot left without fields present - you should not arrive here"
01938   #endif
01939 #endif
01940 
01941 #if defined(SN_03) && (SlotUse(SN_03) == cfgUseAsMutex)
01942   #if !defined(LN_01)
01943     #define LN_01 SN_03
01944   #elif !defined(LN_02)
01945     #define LN_02 SN_03
01946   #elif !defined(LN_03)
01947     #define LN_03 SN_03
01948   #elif !defined(LN_04)
01949     #define LN_04 SN_03
01950   #elif !defined(LN_05)
01951     #define LN_05 SN_03
01952   #elif !defined(LN_06)
01953     #define LN_06 SN_03
01954   #elif !defined(LN_07)
01955     #define LN_07 SN_03
01956   #elif !defined(LN_08)
01957     #define LN_08 SN_03
01958   #elif !defined(LN_09)
01959     #define LN_09 SN_03
01960   #elif !defined(LN_10)
01961     #define LN_10 SN_03
01962   #elif !defined(LN_11)
01963     #define LN_11 SN_03
01964   #elif !defined(LN_12)
01965     #define LN_12 SN_03
01966   #elif !defined(LN_13)
01967     #define LN_13 SN_03
01968   #elif !defined(LN_14)
01969     #define LN_14 SN_03
01970   #elif !defined(LN_15)
01971     #define LN_15 SN_03
01972   #else
01973     #error "Slot left without fields present - you should not arrive here"
01974   #endif
01975 #endif
01976 
01977 #if defined(SN_04) && (SlotUse(SN_04) == cfgUseAsMutex)
01978   #if !defined(LN_01)
01979     #define LN_01 SN_04
01980   #elif !defined(LN_02)
01981     #define LN_02 SN_04
01982   #elif !defined(LN_03)
01983     #define LN_03 SN_04
01984   #elif !defined(LN_04)
01985     #define LN_04 SN_04
01986   #elif !defined(LN_05)
01987     #define LN_05 SN_04
01988   #elif !defined(LN_06)
01989     #define LN_06 SN_04
01990   #elif !defined(LN_07)
01991     #define LN_07 SN_04
01992   #elif !defined(LN_08)
01993     #define LN_08 SN_04
01994   #elif !defined(LN_09)
01995     #define LN_09 SN_04
01996   #elif !defined(LN_10)
01997     #define LN_10 SN_04
01998   #elif !defined(LN_11)
01999     #define LN_11 SN_04
02000   #elif !defined(LN_12)
02001     #define LN_12 SN_04
02002   #elif !defined(LN_13)
02003     #define LN_13 SN_04
02004   #elif !defined(LN_14)
02005     #define LN_14 SN_04
02006   #elif !defined(LN_15)
02007     #define LN_15 SN_04
02008   #else
02009     #error "Slot left without fields present - you should not arrive here"
02010   #endif
02011 #endif
02012 
02013 #if defined(SN_05) && (SlotUse(SN_05) == cfgUseAsMutex)
02014   #if !defined(LN_01)
02015     #define LN_01 SN_05
02016   #elif !defined(LN_02)
02017     #define LN_02 SN_05
02018   #elif !defined(LN_03)
02019     #define LN_03 SN_05
02020   #elif !defined(LN_04)
02021     #define LN_04 SN_05
02022   #elif !defined(LN_05)
02023     #define LN_05 SN_05
02024   #elif !defined(LN_06)
02025     #define LN_06 SN_05
02026   #elif !defined(LN_07)
02027     #define LN_07 SN_05
02028   #elif !defined(LN_08)
02029     #define LN_08 SN_05
02030   #elif !defined(LN_09)
02031     #define LN_09 SN_05
02032   #elif !defined(LN_10)
02033     #define LN_10 SN_05
02034   #elif !defined(LN_11)
02035     #define LN_11 SN_05
02036   #elif !defined(LN_12)
02037     #define LN_12 SN_05
02038   #elif !defined(LN_13)
02039     #define LN_13 SN_05
02040   #elif !defined(LN_14)
02041     #define LN_14 SN_05
02042   #elif !defined(LN_15)
02043     #define LN_15 SN_05
02044   #else
02045     #error "Slot left without fields present - you should not arrive here"
02046   #endif
02047 #endif
02048 
02049 #if defined(SN_06) && (SlotUse(SN_06) == cfgUseAsMutex)
02050   #if !defined(LN_01)
02051     #define LN_01 SN_06
02052   #elif !defined(LN_02)
02053     #define LN_02 SN_06
02054   #elif !defined(LN_03)
02055     #define LN_03 SN_06
02056   #elif !defined(LN_04)
02057     #define LN_04 SN_06
02058   #elif !defined(LN_05)
02059     #define LN_05 SN_06
02060   #elif !defined(LN_06)
02061     #define LN_06 SN_06
02062   #elif !defined(LN_07)
02063     #define LN_07 SN_06
02064   #elif !defined(LN_08)
02065     #define LN_08 SN_06
02066   #elif !defined(LN_09)
02067     #define LN_09 SN_06
02068   #elif !defined(LN_10)
02069     #define LN_10 SN_06
02070   #elif !defined(LN_11)
02071     #define LN_11 SN_06
02072   #elif !defined(LN_12)
02073     #define LN_12 SN_06
02074   #elif !defined(LN_13)
02075     #define LN_13 SN_06
02076   #elif !defined(LN_14)
02077     #define LN_14 SN_06
02078   #elif !defined(LN_15)
02079     #define LN_15 SN_06
02080   #else
02081     #error "Slot left without fields present - you should not arrive here"
02082   #endif
02083 #endif
02084 
02085 #if defined(SN_07) && (SlotUse(SN_07) == cfgUseAsMutex)
02086   #if !defined(LN_01)
02087     #define LN_01 SN_07
02088   #elif !defined(LN_02)
02089     #define LN_02 SN_07
02090   #elif !defined(LN_03)
02091     #define LN_03 SN_07
02092   #elif !defined(LN_04)
02093     #define LN_04 SN_07
02094   #elif !defined(LN_05)
02095     #define LN_05 SN_07
02096   #elif !defined(LN_06)
02097     #define LN_06 SN_07
02098   #elif !defined(LN_07)
02099     #define LN_07 SN_07
02100   #elif !defined(LN_08)
02101     #define LN_08 SN_07
02102   #elif !defined(LN_09)
02103     #define LN_09 SN_07
02104   #elif !defined(LN_10)
02105     #define LN_10 SN_07
02106   #elif !defined(LN_11)
02107     #define LN_11 SN_07
02108   #elif !defined(LN_12)
02109     #define LN_12 SN_07
02110   #elif !defined(LN_13)
02111     #define LN_13 SN_07
02112   #elif !defined(LN_14)
02113     #define LN_14 SN_07
02114   #elif !defined(LN_15)
02115     #define LN_15 SN_07
02116   #else
02117     #error "Slot left without fields present - you should not arrive here"
02118   #endif
02119 #endif
02120 
02121 #if defined(SN_08) && (SlotUse(SN_08) == cfgUseAsMutex)
02122   #if !defined(LN_01)
02123     #define LN_01 SN_08
02124   #elif !defined(LN_02)
02125     #define LN_02 SN_08
02126   #elif !defined(LN_03)
02127     #define LN_03 SN_08
02128   #elif !defined(LN_04)
02129     #define LN_04 SN_08
02130   #elif !defined(LN_05)
02131     #define LN_05 SN_08
02132   #elif !defined(LN_06)
02133     #define LN_06 SN_08
02134   #elif !defined(LN_07)
02135     #define LN_07 SN_08
02136   #elif !defined(LN_08)
02137     #define LN_08 SN_08
02138   #elif !defined(LN_09)
02139     #define LN_09 SN_08
02140   #elif !defined(LN_10)
02141     #define LN_10 SN_08
02142   #elif !defined(LN_11)
02143     #define LN_11 SN_08
02144   #elif !defined(LN_12)
02145     #define LN_12 SN_08
02146   #elif !defined(LN_13)
02147     #define LN_13 SN_08
02148   #elif !defined(LN_14)
02149     #define LN_14 SN_08
02150   #elif !defined(LN_15)
02151     #define LN_15 SN_08
02152   #else
02153     #error "Slot left without fields present - you should not arrive here"
02154   #endif
02155 #endif
02156 
02157 #if defined(SN_09) && (SlotUse(SN_09) == cfgUseAsMutex)
02158   #if !defined(LN_01)
02159     #define LN_01 SN_09
02160   #elif !defined(LN_02)
02161     #define LN_02 SN_09
02162   #elif !defined(LN_03)
02163     #define LN_03 SN_09
02164   #elif !defined(LN_04)
02165     #define LN_04 SN_09
02166   #elif !defined(LN_05)
02167     #define LN_05 SN_09
02168   #elif !defined(LN_06)
02169     #define LN_06 SN_09
02170   #elif !defined(LN_07)
02171     #define LN_07 SN_09
02172   #elif !defined(LN_08)
02173     #define LN_08 SN_09
02174   #elif !defined(LN_09)
02175     #define LN_09 SN_09
02176   #elif !defined(LN_10)
02177     #define LN_10 SN_09
02178   #elif !defined(LN_11)
02179     #define LN_11 SN_09
02180   #elif !defined(LN_12)
02181     #define LN_12 SN_09
02182   #elif !defined(LN_13)
02183     #define LN_13 SN_09
02184   #elif !defined(LN_14)
02185     #define LN_14 SN_09
02186   #elif !defined(LN_15)
02187     #define LN_15 SN_09
02188   #else
02189     #error "Slot left without fields present - you should not arrive here"
02190   #endif
02191 #endif
02192 
02193 #if defined(SN_10) && (SlotUse(SN_10) == cfgUseAsMutex)
02194   #if !defined(LN_01)
02195     #define LN_01 SN_10
02196   #elif !defined(LN_02)
02197     #define LN_02 SN_10
02198   #elif !defined(LN_03)
02199     #define LN_03 SN_10
02200   #elif !defined(LN_04)
02201     #define LN_04 SN_10
02202   #elif !defined(LN_05)
02203     #define LN_05 SN_10
02204   #elif !defined(LN_06)
02205     #define LN_06 SN_10
02206   #elif !defined(LN_07)
02207     #define LN_07 SN_10
02208   #elif !defined(LN_08)
02209     #define LN_08 SN_10
02210   #elif !defined(LN_09)
02211     #define LN_09 SN_10
02212   #elif !defined(LN_10)
02213     #define LN_10 SN_10
02214   #elif !defined(LN_11)
02215     #define LN_11 SN_10
02216   #elif !defined(LN_12)
02217     #define LN_12 SN_10
02218   #elif !defined(LN_13)
02219     #define LN_13 SN_10
02220   #elif !defined(LN_14)
02221     #define LN_14 SN_10
02222   #elif !defined(LN_15)
02223     #define LN_15 SN_10
02224   #else
02225     #error "Slot left without fields present - you should not arrive here"
02226   #endif
02227 #endif
02228 
02229 #if defined(SN_11) && (SlotUse(SN_11) == cfgUseAsMutex)
02230   #if !defined(LN_01)
02231     #define LN_01 SN_11
02232   #elif !defined(LN_02)
02233     #define LN_02 SN_11
02234   #elif !defined(LN_03)
02235     #define LN_03 SN_11
02236   #elif !defined(LN_04)
02237     #define LN_04 SN_11
02238   #elif !defined(LN_05)
02239     #define LN_05 SN_11
02240   #elif !defined(LN_06)
02241     #define LN_06 SN_11
02242   #elif !defined(LN_07)
02243     #define LN_07 SN_11
02244   #elif !defined(LN_08)
02245     #define LN_08 SN_11
02246   #elif !defined(LN_09)
02247     #define LN_09 SN_11
02248   #elif !defined(LN_10)
02249     #define LN_10 SN_11
02250   #elif !defined(LN_11)
02251     #define LN_11 SN_11
02252   #elif !defined(LN_12)
02253     #define LN_12 SN_11
02254   #elif !defined(LN_13)
02255     #define LN_13 SN_11
02256   #elif !defined(LN_14)
02257     #define LN_14 SN_11
02258   #elif !defined(LN_15)
02259     #define LN_15 SN_11
02260   #else
02261     #error "Slot left without fields present - you should not arrive here"
02262   #endif
02263 #endif
02264 
02265 #if defined(SN_12) && (SlotUse(SN_12) == cfgUseAsMutex)
02266   #if !defined(LN_01)
02267     #define LN_01 SN_12
02268   #elif !defined(LN_02)
02269     #define LN_02 SN_12
02270   #elif !defined(LN_03)
02271     #define LN_03 SN_12
02272   #elif !defined(LN_04)
02273     #define LN_04 SN_12
02274   #elif !defined(LN_05)
02275     #define LN_05 SN_12
02276   #elif !defined(LN_06)
02277     #define LN_06 SN_12
02278   #elif !defined(LN_07)
02279     #define LN_07 SN_12
02280   #elif !defined(LN_08)
02281     #define LN_08 SN_12
02282   #elif !defined(LN_09)
02283     #define LN_09 SN_12
02284   #elif !defined(LN_10)
02285     #define LN_10 SN_12
02286   #elif !defined(LN_11)
02287     #define LN_11 SN_12
02288   #elif !defined(LN_12)
02289     #define LN_12 SN_12
02290   #elif !defined(LN_13)
02291     #define LN_13 SN_12
02292   #elif !defined(LN_14)
02293     #define LN_14 SN_12
02294   #elif !defined(LN_15)
02295     #define LN_15 SN_12
02296   #else
02297     #error "Slot left without fields present - you should not arrive here"
02298   #endif
02299 #endif
02300 
02301 #if defined(SN_13) && (SlotUse(SN_13) == cfgUseAsMutex)
02302   #if !defined(LN_01)
02303     #define LN_01 SN_13
02304   #elif !defined(LN_02)
02305     #define LN_02 SN_13
02306   #elif !defined(LN_03)
02307     #define LN_03 SN_13
02308   #elif !defined(LN_04)
02309     #define LN_04 SN_13
02310   #elif !defined(LN_05)
02311     #define LN_05 SN_13
02312   #elif !defined(LN_06)
02313     #define LN_06 SN_13
02314   #elif !defined(LN_07)
02315     #define LN_07 SN_13
02316   #elif !defined(LN_08)
02317     #define LN_08 SN_13
02318   #elif !defined(LN_09)
02319     #define LN_09 SN_13
02320   #elif !defined(LN_10)
02321     #define LN_10 SN_13
02322   #elif !defined(LN_11)
02323     #define LN_11 SN_13
02324   #elif !defined(LN_12)
02325     #define LN_12 SN_13
02326   #elif !defined(LN_13)
02327     #define LN_13 SN_13
02328   #elif !defined(LN_14)
02329     #define LN_14 SN_13
02330   #elif !defined(LN_15)
02331     #define LN_15 SN_13
02332   #else
02333     #error "Slot left without fields present - you should not arrive here"
02334   #endif
02335 #endif
02336 
02337 #if defined(SN_14) && (SlotUse(SN_14) == cfgUseAsMutex)
02338   #if !defined(LN_01)
02339     #define LN_01 SN_14
02340   #elif !defined(LN_02)
02341     #define LN_02 SN_14
02342   #elif !defined(LN_03)
02343     #define LN_03 SN_14
02344   #elif !defined(LN_04)
02345     #define LN_04 SN_14
02346   #elif !defined(LN_05)
02347     #define LN_05 SN_14
02348   #elif !defined(LN_06)
02349     #define LN_06 SN_14
02350   #elif !defined(LN_07)
02351     #define LN_07 SN_14
02352   #elif !defined(LN_08)
02353     #define LN_08 SN_14
02354   #elif !defined(LN_09)
02355     #define LN_09 SN_14
02356   #elif !defined(LN_10)
02357     #define LN_10 SN_14
02358   #elif !defined(LN_11)
02359     #define LN_11 SN_14
02360   #elif !defined(LN_12)
02361     #define LN_12 SN_14
02362   #elif !defined(LN_13)
02363     #define LN_13 SN_14
02364   #elif !defined(LN_14)
02365     #define LN_14 SN_14
02366   #elif !defined(LN_15)
02367     #define LN_15 SN_14
02368   #else
02369     #error "Slot left without fields present - you should not arrive here"
02370   #endif
02371 #endif
02372 
02373 #if defined(SN_15) && (SlotUse(SN_15) == cfgUseAsMutex)
02374   #if !defined(LN_01)
02375     #define LN_01 SN_15
02376   #elif !defined(LN_02)
02377     #define LN_02 SN_15
02378   #elif !defined(LN_03)
02379     #define LN_03 SN_15
02380   #elif !defined(LN_04)
02381     #define LN_04 SN_15
02382   #elif !defined(LN_05)
02383     #define LN_05 SN_15
02384   #elif !defined(LN_06)
02385     #define LN_06 SN_15
02386   #elif !defined(LN_07)
02387     #define LN_07 SN_15
02388   #elif !defined(LN_08)
02389     #define LN_08 SN_15
02390   #elif !defined(LN_09)
02391     #define LN_09 SN_15
02392   #elif !defined(LN_10)
02393     #define LN_10 SN_15
02394   #elif !defined(LN_11)
02395     #define LN_11 SN_15
02396   #elif !defined(LN_12)
02397     #define LN_12 SN_15
02398   #elif !defined(LN_13)
02399     #define LN_13 SN_15
02400   #elif !defined(LN_14)
02401     #define LN_14 SN_15
02402   #elif !defined(LN_15)
02403     #define LN_15 SN_15
02404   #else
02405     #error "Slot left without fields present - you should not arrive here"
02406   #endif
02407 #endif
02408 
02409 
02410 #if !defined(LN_01)
02411   #define defNumberMutexEnd 1
02412 #elif !defined(LN_02)
02413   #define defNumberMutexEnd 2
02414 #elif !defined(LN_03)
02415   #define defNumberMutexEnd 3
02416 #elif !defined(LN_04)
02417   #define defNumberMutexEnd 4
02418 #elif !defined(LN_05)
02419   #define defNumberMutexEnd 5
02420 #elif !defined(LN_06)
02421   #define defNumberMutexEnd 6
02422 #elif !defined(LN_07)
02423   #define defNumberMutexEnd 7
02424 #elif !defined(LN_08)
02425   #define defNumberMutexEnd 8
02426 #elif !defined(LN_09)
02427   #define defNumberMutexEnd 9
02428 #elif !defined(LN_10)
02429   #define defNumberMutexEnd 10
02430 #elif !defined(LN_11)
02431   #define defNumberMutexEnd 11
02432 #elif !defined(LN_12)
02433   #define defNumberMutexEnd 12
02434 #elif !defined(LN_13)
02435   #define defNumberMutexEnd 13
02436 #elif !defined(LN_14)
02437   #define defNumberMutexEnd 14
02438 #elif !defined(LN_15)
02439   #define defNumberMutexEnd 15
02440 #else
02441   #define defNumberMutexEnd 16
02442 #endif
02443 
02444 /* To loop through all queus use the following definitions, do not
02445  * include the end in the loop */
02446 #define defNumberMutexBegin defNumberQueuEnd
02447 #define defNumberOfMutexes  (defNumberMutexEnd - defNumberMutexBegin)
02448 
02449 /* Last we define all waits on the slots so that they occupy the
02450  * highest slot numbers. */
02451 
02452 
02453 #if defined(SN_01) && (SlotUse(SN_01) == cfgUseAsWait)
02454   #if !defined(LN_01)
02455     #define LN_01 SN_01
02456   #elif !defined(LN_02)
02457     #define LN_02 SN_01
02458   #elif !defined(LN_03)
02459     #define LN_03 SN_01
02460   #elif !defined(LN_04)
02461     #define LN_04 SN_01
02462   #elif !defined(LN_05)
02463     #define LN_05 SN_01
02464   #elif !defined(LN_06)
02465     #define LN_06 SN_01
02466   #elif !defined(LN_07)
02467     #define LN_07 SN_01
02468   #elif !defined(LN_08)
02469     #define LN_08 SN_01
02470   #elif !defined(LN_09)
02471     #define LN_09 SN_01
02472   #elif !defined(LN_10)
02473     #define LN_10 SN_01
02474   #elif !defined(LN_11)
02475     #define LN_11 SN_01
02476   #elif !defined(LN_12)
02477     #define LN_12 SN_01
02478   #elif !defined(LN_13)
02479     #define LN_13 SN_01
02480   #elif !defined(LN_14)
02481     #define LN_14 SN_01
02482   #elif !defined(LN_15)
02483     #define LN_15 SN_01
02484   #else
02485     #error "Slot left without fields present - you should not arrive here"
02486   #endif
02487 #endif
02488 
02489 #if defined(SN_02) && (SlotUse(SN_02) == cfgUseAsWait)
02490   #if !defined(LN_01)
02491     #define LN_01 SN_02
02492   #elif !defined(LN_02)
02493     #define LN_02 SN_02
02494   #elif !defined(LN_03)
02495     #define LN_03 SN_02
02496   #elif !defined(LN_04)
02497     #define LN_04 SN_02
02498   #elif !defined(LN_05)
02499     #define LN_05 SN_02
02500   #elif !defined(LN_06)
02501     #define LN_06 SN_02
02502   #elif !defined(LN_07)
02503     #define LN_07 SN_02
02504   #elif !defined(LN_08)
02505     #define LN_08 SN_02
02506   #elif !defined(LN_09)
02507     #define LN_09 SN_02
02508   #elif !defined(LN_10)
02509     #define LN_10 SN_02
02510   #elif !defined(LN_11)
02511     #define LN_11 SN_02
02512   #elif !defined(LN_12)
02513     #define LN_12 SN_02
02514   #elif !defined(LN_13)
02515     #define LN_13 SN_02
02516   #elif !defined(LN_14)
02517     #define LN_14 SN_02
02518   #elif !defined(LN_15)
02519     #define LN_15 SN_02
02520   #else
02521     #error "Slot left without fields present - you should not arrive here"
02522   #endif
02523 #endif
02524 
02525 #if defined(SN_03) && (SlotUse(SN_03) == cfgUseAsWait)
02526   #if !defined(LN_01)
02527     #define LN_01 SN_03
02528   #elif !defined(LN_02)
02529     #define LN_02 SN_03
02530   #elif !defined(LN_03)
02531     #define LN_03 SN_03
02532   #elif !defined(LN_04)
02533     #define LN_04 SN_03
02534   #elif !defined(LN_05)
02535     #define LN_05 SN_03
02536   #elif !defined(LN_06)
02537     #define LN_06 SN_03
02538   #elif !defined(LN_07)
02539     #define LN_07 SN_03
02540   #elif !defined(LN_08)
02541     #define LN_08 SN_03
02542   #elif !defined(LN_09)
02543     #define LN_09 SN_03
02544   #elif !defined(LN_10)
02545     #define LN_10 SN_03
02546   #elif !defined(LN_11)
02547     #define LN_11 SN_03
02548   #elif !defined(LN_12)
02549     #define LN_12 SN_03
02550   #elif !defined(LN_13)
02551     #define LN_13 SN_03
02552   #elif !defined(LN_14)
02553     #define LN_14 SN_03
02554   #elif !defined(LN_15)
02555     #define LN_15 SN_03
02556   #else
02557     #error "Slot left without fields present - you should not arrive here"
02558   #endif
02559 #endif
02560 
02561 #if defined(SN_04) && (SlotUse(SN_04) == cfgUseAsWait)
02562   #if !defined(LN_01)
02563     #define LN_01 SN_04
02564   #elif !defined(LN_02)
02565     #define LN_02 SN_04
02566   #elif !defined(LN_03)
02567     #define LN_03 SN_04
02568   #elif !defined(LN_04)
02569     #define LN_04 SN_04
02570   #elif !defined(LN_05)
02571     #define LN_05 SN_04
02572   #elif !defined(LN_06)
02573     #define LN_06 SN_04
02574   #elif !defined(LN_07)
02575     #define LN_07 SN_04
02576   #elif !defined(LN_08)
02577     #define LN_08 SN_04
02578   #elif !defined(LN_09)
02579     #define LN_09 SN_04
02580   #elif !defined(LN_10)
02581     #define LN_10 SN_04
02582   #elif !defined(LN_11)
02583     #define LN_11 SN_04
02584   #elif !defined(LN_12)
02585     #define LN_12 SN_04
02586   #elif !defined(LN_13)
02587     #define LN_13 SN_04
02588   #elif !defined(LN_14)
02589     #define LN_14 SN_04
02590   #elif !defined(LN_15)
02591     #define LN_15 SN_04
02592   #else
02593     #error "Slot left without fields present - you should not arrive here"
02594   #endif
02595 #endif
02596 
02597 #if defined(SN_05) && (SlotUse(SN_05) == cfgUseAsWait)
02598   #if !defined(LN_01)
02599     #define LN_01 SN_05
02600   #elif !defined(LN_02)
02601     #define LN_02 SN_05
02602   #elif !defined(LN_03)
02603     #define LN_03 SN_05
02604   #elif !defined(LN_04)
02605     #define LN_04 SN_05
02606   #elif !defined(LN_05)
02607     #define LN_05 SN_05
02608   #elif !defined(LN_06)
02609     #define LN_06 SN_05
02610   #elif !defined(LN_07)
02611     #define LN_07 SN_05
02612   #elif !defined(LN_08)
02613     #define LN_08 SN_05
02614   #elif !defined(LN_09)
02615     #define LN_09 SN_05
02616   #elif !defined(LN_10)
02617     #define LN_10 SN_05
02618   #elif !defined(LN_11)
02619     #define LN_11 SN_05
02620   #elif !defined(LN_12)
02621     #define LN_12 SN_05
02622   #elif !defined(LN_13)
02623     #define LN_13 SN_05
02624   #elif !defined(LN_14)
02625     #define LN_14 SN_05
02626   #elif !defined(LN_15)
02627     #define LN_15 SN_05
02628   #else
02629     #error "Slot left without fields present - you should not arrive here"
02630   #endif
02631 #endif
02632 
02633 #if defined(SN_06) && (SlotUse(SN_06) == cfgUseAsWait)
02634   #if !defined(LN_01)
02635     #define LN_01 SN_06
02636   #elif !defined(LN_02)
02637     #define LN_02 SN_06
02638   #elif !defined(LN_03)
02639     #define LN_03 SN_06
02640   #elif !defined(LN_04)
02641     #define LN_04 SN_06
02642   #elif !defined(LN_05)
02643     #define LN_05 SN_06
02644   #elif !defined(LN_06)
02645     #define LN_06 SN_06
02646   #elif !defined(LN_07)
02647     #define LN_07 SN_06
02648   #elif !defined(LN_08)
02649     #define LN_08 SN_06
02650   #elif !defined(LN_09)
02651     #define LN_09 SN_06
02652   #elif !defined(LN_10)
02653     #define LN_10 SN_06
02654   #elif !defined(LN_11)
02655     #define LN_11 SN_06
02656   #elif !defined(LN_12)
02657     #define LN_12 SN_06
02658   #elif !defined(LN_13)
02659     #define LN_13 SN_06
02660   #elif !defined(LN_14)
02661     #define LN_14 SN_06
02662   #elif !defined(LN_15)
02663     #define LN_15 SN_06
02664   #else
02665     #error "Slot left without fields present - you should not arrive here"
02666   #endif
02667 #endif
02668 
02669 #if defined(SN_07) && (SlotUse(SN_07) == cfgUseAsWait)
02670   #if !defined(LN_01)
02671     #define LN_01 SN_07
02672   #elif !defined(LN_02)
02673     #define LN_02 SN_07
02674   #elif !defined(LN_03)
02675     #define LN_03 SN_07
02676   #elif !defined(LN_04)
02677     #define LN_04 SN_07
02678   #elif !defined(LN_05)
02679     #define LN_05 SN_07
02680   #elif !defined(LN_06)
02681     #define LN_06 SN_07
02682   #elif !defined(LN_07)
02683     #define LN_07 SN_07
02684   #elif !defined(LN_08)
02685     #define LN_08 SN_07
02686   #elif !defined(LN_09)
02687     #define LN_09 SN_07
02688   #elif !defined(LN_10)
02689     #define LN_10 SN_07
02690   #elif !defined(LN_11)
02691     #define LN_11 SN_07
02692   #elif !defined(LN_12)
02693     #define LN_12 SN_07
02694   #elif !defined(LN_13)
02695     #define LN_13 SN_07
02696   #elif !defined(LN_14)
02697     #define LN_14 SN_07
02698   #elif !defined(LN_15)
02699     #define LN_15 SN_07
02700   #else
02701     #error "Slot left without fields present - you should not arrive here"
02702   #endif
02703 #endif
02704 
02705 #if defined(SN_08) && (SlotUse(SN_08) == cfgUseAsWait)
02706   #if !defined(LN_01)
02707     #define LN_01 SN_08
02708   #elif !defined(LN_02)
02709     #define LN_02 SN_08
02710   #elif !defined(LN_03)
02711     #define LN_03 SN_08
02712   #elif !defined(LN_04)
02713     #define LN_04 SN_08
02714   #elif !defined(LN_05)
02715     #define LN_05 SN_08
02716   #elif !defined(LN_06)
02717     #define LN_06 SN_08
02718   #elif !defined(LN_07)
02719     #define LN_07 SN_08
02720   #elif !defined(LN_08)
02721     #define LN_08 SN_08
02722   #elif !defined(LN_09)
02723     #define LN_09 SN_08
02724   #elif !defined(LN_10)
02725     #define LN_10 SN_08
02726   #elif !defined(LN_11)
02727     #define LN_11 SN_08
02728   #elif !defined(LN_12)
02729     #define LN_12 SN_08
02730   #elif !defined(LN_13)
02731     #define LN_13 SN_08
02732   #elif !defined(LN_14)
02733     #define LN_14 SN_08
02734   #elif !defined(LN_15)
02735     #define LN_15 SN_08
02736   #else
02737     #error "Slot left without fields present - you should not arrive here"
02738   #endif
02739 #endif
02740 
02741 #if defined(SN_09) && (SlotUse(SN_09) == cfgUseAsWait)
02742   #if !defined(LN_01)
02743     #define LN_01 SN_09
02744   #elif !defined(LN_02)
02745     #define LN_02 SN_09
02746   #elif !defined(LN_03)
02747     #define LN_03 SN_09
02748   #elif !defined(LN_04)
02749     #define LN_04 SN_09
02750   #elif !defined(LN_05)
02751     #define LN_05 SN_09
02752   #elif !defined(LN_06)
02753     #define LN_06 SN_09
02754   #elif !defined(LN_07)
02755     #define LN_07 SN_09
02756   #elif !defined(LN_08)
02757     #define LN_08 SN_09
02758   #elif !defined(LN_09)
02759     #define LN_09 SN_09
02760   #elif !defined(LN_10)
02761     #define LN_10 SN_09
02762   #elif !defined(LN_11)
02763     #define LN_11 SN_09
02764   #elif !defined(LN_12)
02765     #define LN_12 SN_09
02766   #elif !defined(LN_13)
02767     #define LN_13 SN_09
02768   #elif !defined(LN_14)
02769     #define LN_14 SN_09
02770   #elif !defined(LN_15)
02771     #define LN_15 SN_09
02772   #else
02773     #error "Slot left without fields present - you should not arrive here"
02774   #endif
02775 #endif
02776 
02777 #if defined(SN_10) && (SlotUse(SN_10) == cfgUseAsWait)
02778   #if !defined(LN_01)
02779     #define LN_01 SN_10
02780   #elif !defined(LN_02)
02781     #define LN_02 SN_10
02782   #elif !defined(LN_03)
02783     #define LN_03 SN_10
02784   #elif !defined(LN_04)
02785     #define LN_04 SN_10
02786   #elif !defined(LN_05)
02787     #define LN_05 SN_10
02788   #elif !defined(LN_06)
02789     #define LN_06 SN_10
02790   #elif !defined(LN_07)
02791     #define LN_07 SN_10
02792   #elif !defined(LN_08)
02793     #define LN_08 SN_10
02794   #elif !defined(LN_09)
02795     #define LN_09 SN_10
02796   #elif !defined(LN_10)
02797     #define LN_10 SN_10
02798   #elif !defined(LN_11)
02799     #define LN_11 SN_10
02800   #elif !defined(LN_12)
02801     #define LN_12 SN_10
02802   #elif !defined(LN_13)
02803     #define LN_13 SN_10
02804   #elif !defined(LN_14)
02805     #define LN_14 SN_10
02806   #elif !defined(LN_15)
02807     #define LN_15 SN_10
02808   #else
02809     #error "Slot left without fields present - you should not arrive here"
02810   #endif
02811 #endif
02812 
02813 #if defined(SN_11) && (SlotUse(SN_11) == cfgUseAsWait)
02814   #if !defined(LN_01)
02815     #define LN_01 SN_11
02816   #elif !defined(LN_02)
02817     #define LN_02 SN_11
02818   #elif !defined(LN_03)
02819     #define LN_03 SN_11
02820   #elif !defined(LN_04)
02821     #define LN_04 SN_11
02822   #elif !defined(LN_05)
02823     #define LN_05 SN_11
02824   #elif !defined(LN_06)
02825     #define LN_06 SN_11
02826   #elif !defined(LN_07)
02827     #define LN_07 SN_11
02828   #elif !defined(LN_08)
02829     #define LN_08 SN_11
02830   #elif !defined(LN_09)
02831     #define LN_09 SN_11
02832   #elif !defined(LN_10)
02833     #define LN_10 SN_11
02834   #elif !defined(LN_11)
02835     #define LN_11 SN_11
02836   #elif !defined(LN_12)
02837     #define LN_12 SN_11
02838   #elif !defined(LN_13)
02839     #define LN_13 SN_11
02840   #elif !defined(LN_14)
02841     #define LN_14 SN_11
02842   #elif !defined(LN_15)
02843     #define LN_15 SN_11
02844   #else
02845     #error "Slot left without fields present - you should not arrive here"
02846   #endif
02847 #endif
02848 
02849 #if defined(SN_12) && (SlotUse(SN_12) == cfgUseAsWait)
02850   #if !defined(LN_01)
02851     #define LN_01 SN_12
02852   #elif !defined(LN_02)
02853     #define LN_02 SN_12
02854   #elif !defined(LN_03)
02855     #define LN_03 SN_12
02856   #elif !defined(LN_04)
02857     #define LN_04 SN_12
02858   #elif !defined(LN_05)
02859     #define LN_05 SN_12
02860   #elif !defined(LN_06)
02861     #define LN_06 SN_12
02862   #elif !defined(LN_07)
02863     #define LN_07 SN_12
02864   #elif !defined(LN_08)
02865     #define LN_08 SN_12
02866   #elif !defined(LN_09)
02867     #define LN_09 SN_12
02868   #elif !defined(LN_10)
02869     #define LN_10 SN_12
02870   #elif !defined(LN_11)
02871     #define LN_11 SN_12
02872   #elif !defined(LN_12)
02873     #define LN_12 SN_12
02874   #elif !defined(LN_13)
02875     #define LN_13 SN_12
02876   #elif !defined(LN_14)
02877     #define LN_14 SN_12
02878   #elif !defined(LN_15)
02879     #define LN_15 SN_12
02880   #else
02881     #error "Slot left without fields present - you should not arrive here"
02882   #endif
02883 #endif
02884 
02885 #if defined(SN_13) && (SlotUse(SN_13) == cfgUseAsWait)
02886   #if !defined(LN_01)
02887     #define LN_01 SN_13
02888   #elif !defined(LN_02)
02889     #define LN_02 SN_13
02890   #elif !defined(LN_03)
02891     #define LN_03 SN_13
02892   #elif !defined(LN_04)
02893     #define LN_04 SN_13
02894   #elif !defined(LN_05)
02895     #define LN_05 SN_13
02896   #elif !defined(LN_06)
02897     #define LN_06 SN_13
02898   #elif !defined(LN_07)
02899     #define LN_07 SN_13
02900   #elif !defined(LN_08)
02901     #define LN_08 SN_13
02902   #elif !defined(LN_09)
02903     #define LN_09 SN_13
02904   #elif !defined(LN_10)
02905     #define LN_10 SN_13
02906   #elif !defined(LN_11)
02907     #define LN_11 SN_13
02908   #elif !defined(LN_12)
02909     #define LN_12 SN_13
02910   #elif !defined(LN_13)
02911     #define LN_13 SN_13
02912   #elif !defined(LN_14)
02913     #define LN_14 SN_13
02914   #elif !defined(LN_15)
02915     #define LN_15 SN_13
02916   #else
02917     #error "Slot left without fields present - you should not arrive here"
02918   #endif
02919 #endif
02920 
02921 #if defined(SN_14) && (SlotUse(SN_14) == cfgUseAsWait)
02922   #if !defined(LN_01)
02923     #define LN_01 SN_14
02924   #elif !defined(LN_02)
02925     #define LN_02 SN_14
02926   #elif !defined(LN_03)
02927     #define LN_03 SN_14
02928   #elif !defined(LN_04)
02929     #define LN_04 SN_14
02930   #elif !defined(LN_05)
02931     #define LN_05 SN_14
02932   #elif !defined(LN_06)
02933     #define LN_06 SN_14
02934   #elif !defined(LN_07)
02935     #define LN_07 SN_14
02936   #elif !defined(LN_08)
02937     #define LN_08 SN_14
02938   #elif !defined(LN_09)
02939     #define LN_09 SN_14
02940   #elif !defined(LN_10)
02941     #define LN_10 SN_14
02942   #elif !defined(LN_11)
02943     #define LN_11 SN_14
02944   #elif !defined(LN_12)
02945     #define LN_12 SN_14
02946   #elif !defined(LN_13)
02947     #define LN_13 SN_14
02948   #elif !defined(LN_14)
02949     #define LN_14 SN_14
02950   #elif !defined(LN_15)
02951     #define LN_15 SN_14
02952   #else
02953     #error "Slot left without fields present - you should not arrive here"
02954   #endif
02955 #endif
02956 
02957 #if defined(SN_15) && (SlotUse(SN_15) == cfgUseAsWait)
02958   #if !defined(LN_01)
02959     #define LN_01 SN_15
02960   #elif !defined(LN_02)
02961     #define LN_02 SN_15
02962   #elif !defined(LN_03)
02963     #define LN_03 SN_15
02964   #elif !defined(LN_04)
02965     #define LN_04 SN_15
02966   #elif !defined(LN_05)
02967     #define LN_05 SN_15
02968   #elif !defined(LN_06)
02969     #define LN_06 SN_15
02970   #elif !defined(LN_07)
02971     #define LN_07 SN_15
02972   #elif !defined(LN_08)
02973     #define LN_08 SN_15
02974   #elif !defined(LN_09)
02975     #define LN_09 SN_15
02976   #elif !defined(LN_10)
02977     #define LN_10 SN_15
02978   #elif !defined(LN_11)
02979     #define LN_11 SN_15
02980   #elif !defined(LN_12)
02981     #define LN_12 SN_15
02982   #elif !defined(LN_13)
02983     #define LN_13 SN_15
02984   #elif !defined(LN_14)
02985     #define LN_14 SN_15
02986   #elif !defined(LN_15)
02987     #define LN_15 SN_15
02988   #else
02989     #error "Slot left without fields present - you should not arrive here"
02990   #endif
02991 #endif
02992 
02993 
02994 #if !defined(LN_01)
02995   #define defNumberWaitEnd 1
02996 #elif !defined(LN_02)
02997   #define defNumberWaitEnd 2
02998 #elif !defined(LN_03)
02999   #define defNumberWaitEnd 3
03000 #elif !defined(LN_04)
03001   #define defNumberWaitEnd 4
03002 #elif !defined(LN_05)
03003   #define defNumberWaitEnd 5
03004 #elif !defined(LN_06)
03005   #define defNumberWaitEnd 6
03006 #elif !defined(LN_07)
03007   #define defNumberWaitEnd 7
03008 #elif !defined(LN_08)
03009   #define defNumberWaitEnd 8
03010 #elif !defined(LN_09)
03011   #define defNumberWaitEnd 9
03012 #elif !defined(LN_10)
03013   #define defNumberWaitEnd 10
03014 #elif !defined(LN_11)
03015   #define defNumberWaitEnd 11
03016 #elif !defined(LN_12)
03017   #define defNumberWaitEnd 12
03018 #elif !defined(LN_13)
03019   #define defNumberWaitEnd 13
03020 #elif !defined(LN_14)
03021   #define defNumberWaitEnd 14
03022 #elif !defined(LN_15)
03023   #define defNumberWaitEnd 15
03024 #else
03025   #define defNumberWaitEnd 16
03026 #endif
03027 
03028 /* To loop through all waits use the following definitions, do not
03029  * include the end in the loop */
03030 #define defNumberWaitBegin defNumberMutexEnd
03031 #define defNumberOfWaits   (defNumberWaitEnd - defNumberWaitBegin)
03032 
03043 #define preEqualMacros(A,B)      (strcmp(DefToString(A),DefToString(B))==0)
03044 
03050 #define defNumberOfSlots   (defNumberWaitEnd - defNumberQueuBegin)
03051 
03058 #define preTaskDefined(TaskName) ( (TaskInclude(TaskName) != cfgExclude) )
03059 
03066 #define preSlotDefined(SlotName) ( (SlotUse(SlotName) != cfgUseAsNon) )
03067 
03074 #define preQueuDefined(SlotName) ( (SlotUse(SlotName) == cfgUseAsQueu) )
03075 
03082 #define preMutexDefined(SlotName) ( (SlotUse(SlotName) == cfgUseAsMutex) )
03083 
03090 #define preWaitDefined(SlotName) ( (SlotUse(SlotName) == cfgUseAsWait) )
03091 
03098 #define preFileDefined(FileName) ( (FileSpace(FileName) > 0 ) )
03099 
03111 #define preBitSet
03112 #define preBitSet1(p,n0)                      ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF))) ) )
03113 #define preBitSet2(p,n0,n1)                   ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF))) ) )
03114 #define preBitSet3(p,n0,n1,n2)                ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF))) ) )
03115 #define preBitSet4(p,n0,n1,n2,n3)             ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF))) ) )
03116 #define preBitSet5(p,n0,n1,n2,n3,n4)          ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF))) ) )
03117 #define preBitSet6(p,n0,n1,n2,n3,n4,n5)       ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF)) | ((Tuint16)1<<((n5) & 0xFF))) ) )
03118 #define preBitSet7(p,n0,n1,n2,n3,n4,n5,n6)    ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF)) | ((Tuint16)1<<((n5) & 0xFF)) | ((Tuint16)1<<((n6) & 0xFF))) ) )
03119 #define preBitSet8(p,n0,n1,n2,n3,n4,n5,n6,n7) ( p | (Tuint08)(0xFF & ( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF)) | ((Tuint16)1<<((n5) & 0xFF)) | ((Tuint16)1<<((n6) & 0xFF)) | ((Tuint16)1<<((n7) & 0xFF))) ) )
03120 
03132 #define preBitClr
03133 #define preBitClr1(p,n0)                      ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF))) ) )
03134 #define preBitClr2(p,n0,n1)                   ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF))) ) )
03135 #define preBitClr3(p,n0,n1,n2)                ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF))) ) )
03136 #define preBitClr4(p,n0,n1,n2,n3)             ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF))) ) )
03137 #define preBitClr5(p,n0,n1,n2,n3,n4)          ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF))) ) )
03138 #define preBitClr6(p,n0,n1,n2,n3,n4,n5)       ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF)) | ((Tuint16)1<<((n5) & 0xFF))) ) )
03139 #define preBitClr7(p,n0,n1,n2,n3,n4,n5,n6)    ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF)) | ((Tuint16)1<<((n5) & 0xFF)) | ((Tuint16)1<<((n6) & 0xFF))) ) )
03140 #define preBitClr8(p,n0,n1,n2,n3,n4,n5,n6,n7) ( p & (Tuint08)(0xFF & ~( ((Tuint16)1<<((n0) & 0xFF)) | ((Tuint16)1<<((n1) & 0xFF)) | ((Tuint16)1<<((n2) & 0xFF)) | ((Tuint16)1<<((n3) & 0xFF)) | ((Tuint16)1<<((n4) & 0xFF)) | ((Tuint16)1<<((n5) & 0xFF)) | ((Tuint16)1<<((n6) & 0xFF)) | ((Tuint16)1<<((n7) & 0xFF))) ) )
03141 
03148 #define preBitIsSet(p,q)                      ( (p & (1<<q)) == (1<<q) )
03149 
03156 #define preBitIsClr(p,q)                      ( (p & (1<<q)) == 0 )
03157 
03172 #define preTaskNumberOf(TaskName) \
03173   ( (strcmp(DefToString(defCurrentTaskName),#TaskName)==0) ? defCurrentTaskNumber : (strcmp(DefToString(TN_00),#TaskName)==0) ? 0 : (strcmp(DefToString(TN_01),#TaskName)==0) ? 1 : (strcmp(DefToString(TN_02),#TaskName)==0) ? 2 : (strcmp(DefToString(TN_03),#TaskName)==0) ? 3 : (strcmp(DefToString(TN_04),#TaskName)==0) ? 4 : (strcmp(DefToString(TN_05),#TaskName)==0) ? 5 : (strcmp(DefToString(TN_06),#TaskName)==0) ? 6 : (strcmp(DefToString(TN_07),#TaskName)==0) ? 7 : (strcmp(DefToString(TN_08),#TaskName)==0) ? 8 : (strcmp(DefToString(TN_09),#TaskName)==0) ? 9 : (strcmp(DefToString(TN_10),#TaskName)==0) ? 10 : (strcmp(DefToString(TN_11),#TaskName)==0) ? 11 : (strcmp(DefToString(TN_12),#TaskName)==0) ? 12 : (strcmp(DefToString(TN_13),#TaskName)==0) ? 13 : (strcmp(DefToString(TN_14),#TaskName)==0) ? 14 : (strcmp(DefToString(TN_15),#TaskName)==0) ? 15 : -1 )
03174 
03187 #define preSlotNumberOf(SlotName) \
03188   ( (strcmp(DefToString(LN_01),#SlotName)==0) ? 1 : (strcmp(DefToString(LN_02),#SlotName)==0) ? 2 : (strcmp(DefToString(LN_03),#SlotName)==0) ? 3 : (strcmp(DefToString(LN_04),#SlotName)==0) ? 4 : (strcmp(DefToString(LN_05),#SlotName)==0) ? 5 : (strcmp(DefToString(LN_06),#SlotName)==0) ? 6 : (strcmp(DefToString(LN_07),#SlotName)==0) ? 7 : (strcmp(DefToString(LN_08),#SlotName)==0) ? 8 : (strcmp(DefToString(LN_09),#SlotName)==0) ? 9 : (strcmp(DefToString(LN_10),#SlotName)==0) ? 10 : (strcmp(DefToString(LN_11),#SlotName)==0) ? 11 : (strcmp(DefToString(LN_12),#SlotName)==0) ? 12 : (strcmp(DefToString(LN_13),#SlotName)==0) ? 13 : (strcmp(DefToString(LN_14),#SlotName)==0) ? 14 : (strcmp(DefToString(LN_15),#SlotName)==0) ? 15 : -1 )
03189 
03202 #define preFileNumberOf(FileName) \
03203   ( (strcmp(DefToString(VN_00),#FileName)==0) ? 0 : (strcmp(DefToString(VN_01),#FileName)==0) ? 1 : (strcmp(DefToString(VN_02),#FileName)==0) ? 2 : (strcmp(DefToString(VN_03),#FileName)==0) ? 3 : (strcmp(DefToString(VN_04),#FileName)==0) ? 4 : (strcmp(DefToString(VN_05),#FileName)==0) ? 5 : (strcmp(DefToString(VN_06),#FileName)==0) ? 6 : (strcmp(DefToString(VN_07),#FileName)==0) ? 7 : (strcmp(DefToString(VN_08),#FileName)==0) ? 8 : (strcmp(DefToString(VN_09),#FileName)==0) ? 9 : (strcmp(DefToString(VN_10),#FileName)==0) ? 10 : (strcmp(DefToString(VN_11),#FileName)==0) ? 11 : (strcmp(DefToString(VN_12),#FileName)==0) ? 12 : (strcmp(DefToString(VN_13),#FileName)==0) ? 13 : (strcmp(DefToString(VN_14),#FileName)==0) ? 14 : (strcmp(DefToString(VN_15),#FileName)==0) ? 15 : -1 )
03204 
03217 #define preEventNumberOf(EventName) \
03218   ( (strcmp(DefToString(EN_00),#EventName)==0) ? 0 : (strcmp(DefToString(EN_01),#EventName)==0) ? 1 : (strcmp(DefToString(EN_02),#EventName)==0) ? 2 : (strcmp(DefToString(EN_03),#EventName)==0) ? 3 : (strcmp(DefToString(EN_04),#EventName)==0) ? 4 : (strcmp(DefToString(EN_05),#EventName)==0) ? 5 : (strcmp(DefToString(EN_06),#EventName)==0) ? 6 : (strcmp(DefToString(EN_07),#EventName)==0) ? 7 : -1 )
03219 
03224 #define preEventLocationOf(EventName) \
03225   ( (strcmp(DefToString(EN_00),#EventName)==0) ? 0x01 : (strcmp(DefToString(EN_01),#EventName)==0) ? 0x02 : (strcmp(DefToString(EN_02),#EventName)==0) ? 0x04 : (strcmp(DefToString(EN_03),#EventName)==0) ? 0x08 : (strcmp(DefToString(EN_04),#EventName)==0) ? 0x10 : (strcmp(DefToString(EN_05),#EventName)==0) ? 0x20 : (strcmp(DefToString(EN_06),#EventName)==0) ? 0x40 : (strcmp(DefToString(EN_07),#EventName)==0) ? 0x80 : -1 )
03226 
03232 #if (cfgCheckMethodUse == cfgTrue) &&  (cfgSysSqueezeState == cfgFalse)
03233   #define CheckEventNumber(Event)            ( ((Event < defNumberEventBegin) || (Event >= defNumberEventEnd)) ? (-1) :  (defEqualAuxiliaryRegisters) ? (((Event) == devAuxSysRegBit) ? (-1) : (Event)) : (Event) )
03234 #elif (cfgCheckMethodUse == cfgTrue)
03235   #define CheckEventNumber(Event)            ( ((Event < defNumberEventBegin) || (Event >= defNumberEventEnd)) ? (-1) : (Event) )
03236 #else
03237   #define CheckEventNumber(Event)            (Event)
03238 #endif
03239 
03243 #if (cfgCheckMethodUse == cfgTrue)
03244   #define PassIfSlotIsWait(SlotNumber)  ( (((SlotNumber)>=defNumberWaitBegin) && ((SlotNumber)<defNumberWaitEnd)) ? (SlotNumber) : defCheckSlotTypeError )
03245   #define PassIfSlotIsMutex(SlotNumber) ( (((SlotNumber)>=defNumberMutexBegin) && ((SlotNumber)<defNumberMutexEnd)) ? (SlotNumber) : defCheckSlotTypeError )
03246   #define PassIfSlotIsQueu(SlotNumber)  ( (((SlotNumber)>=defNumberQueuBegin) && ((SlotNumber)<defNumberQueuEnd)) ? (SlotNumber) : defCheckSlotTypeError )
03247 #else
03248   #define PassIfSlotIsWait(SlotNumber)  ( SlotNumber )
03249   #define PassIfSlotIsMutex(SlotNumber) ( SlotNumber )
03250   #define PassIfSlotIsQueu(SlotNumber)  ( SlotNumber )
03251 #endif
03252 
03253 
03254 #if defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (StackIsShared(TN_00))
03255   #define defTNSC00  1
03256 #else
03257   #define defTNSC00  0
03258 #endif
03259 
03260 #if defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (StackIsShared(TN_01))
03261   #define defTNSC01  1
03262 #else
03263   #define defTNSC01  0
03264 #endif
03265 
03266 #if defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (StackIsShared(TN_02))
03267   #define defTNSC02  1
03268 #else
03269   #define defTNSC02  0
03270 #endif
03271 
03272 #if defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (StackIsShared(TN_03))
03273   #define defTNSC03  1
03274 #else
03275   #define defTNSC03  0
03276 #endif
03277 
03278 #if defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (StackIsShared(TN_04))
03279   #define defTNSC04  1
03280 #else
03281   #define defTNSC04  0
03282 #endif
03283 
03284 #if defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (StackIsShared(TN_05))
03285   #define defTNSC05  1
03286 #else
03287   #define defTNSC05  0
03288 #endif
03289 
03290 #if defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (StackIsShared(TN_06))
03291   #define defTNSC06  1
03292 #else
03293   #define defTNSC06  0
03294 #endif
03295 
03296 #if defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (StackIsShared(TN_07))
03297   #define defTNSC07  1
03298 #else
03299   #define defTNSC07  0
03300 #endif
03301 
03302 #if defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (StackIsShared(TN_08))
03303   #define defTNSC08  1
03304 #else
03305   #define defTNSC08  0
03306 #endif
03307 
03308 #if defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (StackIsShared(TN_09))
03309   #define defTNSC09  1
03310 #else
03311   #define defTNSC09  0
03312 #endif
03313 
03314 #if defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (StackIsShared(TN_10))
03315   #define defTNSC10  1
03316 #else
03317   #define defTNSC10  0
03318 #endif
03319 
03320 #if defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (StackIsShared(TN_11))
03321   #define defTNSC11  1
03322 #else
03323   #define defTNSC11  0
03324 #endif
03325 
03326 #if defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (StackIsShared(TN_12))
03327   #define defTNSC12  1
03328 #else
03329   #define defTNSC12  0
03330 #endif
03331 
03332 #if defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (StackIsShared(TN_13))
03333   #define defTNSC13  1
03334 #else
03335   #define defTNSC13  0
03336 #endif
03337 
03338 #if defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (StackIsShared(TN_14))
03339   #define defTNSC14  1
03340 #else
03341   #define defTNSC14  0
03342 #endif
03343 
03344 #if defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (StackIsShared(TN_15))
03345   #define defTNSC15  1
03346 #else
03347   #define defTNSC15  0
03348 #endif
03349 
03350 #define defNumberOfSharedTasks (defTNSC00 + defTNSC01 + defTNSC02 + defTNSC03 + defTNSC04 + defTNSC05 + defTNSC06 + defTNSC07 + defTNSC08 + defTNSC09 + defTNSC10 + defTNSC11 + defTNSC12 + defTNSC13 + defTNSC14 + defTNSC15)
03351 
03352 
03353 #if defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (StackIsShared(TN_00))
03354   #define defTaskNumberSharedBegin  0
03355 #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (StackIsShared(TN_01))
03356   #define defTaskNumberSharedBegin  1
03357 #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (StackIsShared(TN_02))
03358   #define defTaskNumberSharedBegin  2
03359 #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (StackIsShared(TN_03))
03360   #define defTaskNumberSharedBegin  3
03361 #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (StackIsShared(TN_04))
03362   #define defTaskNumberSharedBegin  4
03363 #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (StackIsShared(TN_05))
03364   #define defTaskNumberSharedBegin  5
03365 #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (StackIsShared(TN_06))
03366   #define defTaskNumberSharedBegin  6
03367 #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (StackIsShared(TN_07))
03368   #define defTaskNumberSharedBegin  7
03369 #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (StackIsShared(TN_08))
03370   #define defTaskNumberSharedBegin  8
03371 #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (StackIsShared(TN_09))
03372   #define defTaskNumberSharedBegin  9
03373 #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (StackIsShared(TN_10))
03374   #define defTaskNumberSharedBegin 10
03375 #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (StackIsShared(TN_11))
03376   #define defTaskNumberSharedBegin 11
03377 #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (StackIsShared(TN_12))
03378   #define defTaskNumberSharedBegin 12
03379 #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (StackIsShared(TN_13))
03380   #define defTaskNumberSharedBegin 13
03381 #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (StackIsShared(TN_14))
03382   #define defTaskNumberSharedBegin 14
03383 #elif defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (StackIsShared(TN_15))
03384   #define defTaskNumberSharedBegin 15
03385 #else
03386   #define defTaskNumberSharedBegin 16
03387 #endif
03388 
03389 #if defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (StackIsShared(TN_15))
03390   #define defTaskNumberSharedEnd  16
03391 #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (StackIsShared(TN_14))
03392   #define defTaskNumberSharedEnd  15
03393 #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (StackIsShared(TN_13))
03394   #define defTaskNumberSharedEnd  14
03395 #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (StackIsShared(TN_12))
03396   #define defTaskNumberSharedEnd  13
03397 #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (StackIsShared(TN_11))
03398   #define defTaskNumberSharedEnd  12
03399 #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (StackIsShared(TN_10))
03400   #define defTaskNumberSharedEnd  11
03401 #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (StackIsShared(TN_09))
03402   #define defTaskNumberSharedEnd  10
03403 #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (StackIsShared(TN_08))
03404   #define defTaskNumberSharedEnd   9
03405 #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (StackIsShared(TN_07))
03406   #define defTaskNumberSharedEnd   8
03407 #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (StackIsShared(TN_06))
03408   #define defTaskNumberSharedEnd   7
03409 #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (StackIsShared(TN_05))
03410   #define defTaskNumberSharedEnd   6
03411 #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (StackIsShared(TN_04))
03412   #define defTaskNumberSharedEnd   5
03413 #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (StackIsShared(TN_03))
03414   #define defTaskNumberSharedEnd   4
03415 #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (StackIsShared(TN_02))
03416   #define defTaskNumberSharedEnd   3
03417 #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (StackIsShared(TN_01))
03418   #define defTaskNumberSharedEnd   2
03419 #elif defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (StackIsShared(TN_00))
03420   #define defTaskNumberSharedEnd   1
03421 #else
03422   #define defTaskNumberSharedEnd   0
03423 #endif
03424 
03425 #if (defTaskNumberSharedEnd - defTaskNumberSharedBegin) > 0
03426  #define defUseSharedStack cfgTrue
03427 #else
03428  #define defUseSharedStack cfgFalse
03429 #endif
03430 
03431 #if (defUseSharedStack == cfgTrue) && (defNumberOfSharedTasks == defNumberOfTasks)
03432   #define defAllSharedStack cfgTrue
03433 #else
03434   #define defAllSharedStack cfgFalse
03435 #endif
03436 
03437 #if (defUseSharedStack == cfgTrue) && (defNumberOfSharedTasks == (defTaskNumberSharedEnd - defTaskNumberSharedBegin))
03438   #define defDenseSharedStack cfgTrue
03439 #else
03440   #define defDenseSharedStack cfgFalse
03441 #endif
03442 
03443 
03444 #if (defUseSharedStack == cfgTrue) && (defAllSharedStack == cfgFalse)
03445   #define defSharesConstant cfgFalse
03446 #else
03447   #define defSharesConstant cfgTrue
03448 #endif
03449 
03450 #if (defSharesConstant == cfgTrue)
03451   #if (defAllSharedStack == cfgTrue)
03452     #define defInitialSharedFixed defInitialSharePresent
03453   #else
03454     #define defInitialSharedFixed defInitialShareAbsent
03455   #endif
03456 #endif
03457 
03458 
03459 #if defNumberOfTasks == 0
03460  #define defRegisterUseCollect  ( 0x00 )
03461  #define defRegisterUseFixed    ( 0x00 )
03462  #define defRegisterUseTest     ( 1 == 1 )
03463  #define defPriorityFixed       ( 0x00 )
03464  #define defPriorityTest        ( 1 == 1 )
03465  #define defStackSizeFixed      ( 0x00 )
03466  #define defStackSizeTest       ( 1 == 1 )
03467  #define defStackSizeHuge       ( 1 == 0 )
03468  #define defStackSpaceTasks     ( 0 )
03469  #define defTaskIncludeFixed    ( 0x00 )
03470  #define defTaskIncludeTest     ( 1 == 1 )
03471  #define defCapabilitiesTest    ( 1 == 1 )
03472  #define defInterruptStartFixed ( 0x00 )
03473  #define defInterruptStartTest  ( 1 == 1 )
03474  #define defTimeSliceFixed      ( 0x00 )
03475  #define defTimeSliceTest       ( 1 == 1 )
03476 #elif defNumberOfTasks == 1
03477  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) )
03478  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) )
03479  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) )
03480  #define defPriorityFixed       ( Priority(TN_00) )
03481  #define defPriorityTest        ( 1 == 1 )
03482  #define defStackSizeFixed      ( StackSize(TN_00) )
03483  #define defStackSizeTest       ( 1 == 1 )
03484  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) )
03485  #define defStackSpaceTasks     ( (StackSize(TN_00)) )
03486  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03487  #define defTaskIncludeTest     ( 1 == 1 )
03488  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) )
03489  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03490  #define defInterruptStartTest  ( 1 == 1 )
03491  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03492  #define defTimeSliceTest       ( 1 == 1 )
03493 #elif defNumberOfTasks == 2
03494  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) )
03495  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) )
03496  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) )
03497  #define defPriorityFixed       ( Priority(TN_00) )
03498  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) )
03499  #define defStackSizeFixed      ( StackSize(TN_00) )
03500  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) )
03501  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) )
03502  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) )
03503  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03504  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) )
03505  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) )
03506  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03507  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) )
03508  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03509  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) )
03510 #elif defNumberOfTasks == 3
03511  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) )
03512  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) )
03513  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) )
03514  #define defPriorityFixed       ( Priority(TN_00) )
03515  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) )
03516  #define defStackSizeFixed      ( StackSize(TN_00) )
03517  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) )
03518  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) )
03519  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) )
03520  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03521  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) )
03522  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) )
03523  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03524  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) )
03525  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03526  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) )
03527 #elif defNumberOfTasks == 4
03528  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) )
03529  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) )
03530  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) )
03531  #define defPriorityFixed       ( Priority(TN_00) )
03532  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) )
03533  #define defStackSizeFixed      ( StackSize(TN_00) )
03534  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) )
03535  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) )
03536  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) )
03537  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03538  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) )
03539  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) )
03540  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03541  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) )
03542  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03543  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) )
03544 #elif defNumberOfTasks == 5
03545  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) )
03546  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) )
03547  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) )
03548  #define defPriorityFixed       ( Priority(TN_00) )
03549  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) )
03550  #define defStackSizeFixed      ( StackSize(TN_00) )
03551  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) )
03552  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) )
03553  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) )
03554  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03555  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) )
03556  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) )
03557  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03558  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) )
03559  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03560  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) )
03561 #elif defNumberOfTasks == 6
03562  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) )
03563  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) )
03564  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) )
03565  #define defPriorityFixed       ( Priority(TN_00) )
03566  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) )
03567  #define defStackSizeFixed      ( StackSize(TN_00) )
03568  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) )
03569  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) )
03570  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) )
03571  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03572  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) )
03573  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) )
03574  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03575  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) )
03576  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03577  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) )
03578 #elif defNumberOfTasks == 7
03579  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) )
03580  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) )
03581  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) )
03582  #define defPriorityFixed       ( Priority(TN_00) )
03583  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) )
03584  #define defStackSizeFixed      ( StackSize(TN_00) )
03585  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) )
03586  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) )
03587  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) )
03588  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03589  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) )
03590  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) )
03591  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03592  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) )
03593  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03594  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) )
03595 #elif defNumberOfTasks == 8
03596  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) )
03597  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) )
03598  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) )
03599  #define defPriorityFixed       ( Priority(TN_00) )
03600  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) )
03601  #define defStackSizeFixed      ( StackSize(TN_00) )
03602  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) )
03603  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) )
03604  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) )
03605  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03606  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) )
03607  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) )
03608  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03609  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) )
03610  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03611  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) )
03612 #elif defNumberOfTasks == 9
03613  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) )
03614  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) )
03615  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) )
03616  #define defPriorityFixed       ( Priority(TN_00) )
03617  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) )
03618  #define defStackSizeFixed      ( StackSize(TN_00) )
03619  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) )
03620  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) )
03621  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) )
03622  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03623  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) )
03624  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) )
03625  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03626  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) )
03627  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03628  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) )
03629 #elif defNumberOfTasks == 10
03630  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) | (RegisterUse(TN_09)) )
03631  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) & (RegisterUse(TN_09)) )
03632  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_09)) ) )
03633  #define defPriorityFixed       ( Priority(TN_00) )
03634  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) && ( (defPriorityFixed) == (Priority(TN_09)) ) )
03635  #define defStackSizeFixed      ( StackSize(TN_00) )
03636  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) && ( (defStackSizeFixed) == (StackSize(TN_09)) ) )
03637  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) || ( (0xFF) < (StackSize(TN_09)) ) )
03638  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) + (StackSize(TN_09)) )
03639  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03640  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_09)) ) )
03641  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) && ( (cfgCapAll) == (Capabilities(TN_09)) ) )
03642  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03643  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_09)) ) )
03644  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03645  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_09)) ) )
03646 #elif defNumberOfTasks == 11
03647  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) | (RegisterUse(TN_09)) | (RegisterUse(TN_10)) )
03648  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) & (RegisterUse(TN_09)) & (RegisterUse(TN_10)) )
03649  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_09)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_10)) ) )
03650  #define defPriorityFixed       ( Priority(TN_00) )
03651  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) && ( (defPriorityFixed) == (Priority(TN_09)) ) && ( (defPriorityFixed) == (Priority(TN_10)) ) )
03652  #define defStackSizeFixed      ( StackSize(TN_00) )
03653  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) && ( (defStackSizeFixed) == (StackSize(TN_09)) ) && ( (defStackSizeFixed) == (StackSize(TN_10)) ) )
03654  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) || ( (0xFF) < (StackSize(TN_09)) ) || ( (0xFF) < (StackSize(TN_10)) ) )
03655  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) + (StackSize(TN_09)) + (StackSize(TN_10)) )
03656  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03657  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_09)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_10)) ) )
03658  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) && ( (cfgCapAll) == (Capabilities(TN_09)) ) && ( (cfgCapAll) == (Capabilities(TN_10)) ) )
03659  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03660  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_09)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_10)) ) )
03661  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03662  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_09)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_10)) ) )
03663 #elif defNumberOfTasks == 12
03664  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) | (RegisterUse(TN_09)) | (RegisterUse(TN_10)) | (RegisterUse(TN_11)) )
03665  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) & (RegisterUse(TN_09)) & (RegisterUse(TN_10)) & (RegisterUse(TN_11)) )
03666  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_09)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_10)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_11)) ) )
03667  #define defPriorityFixed       ( Priority(TN_00) )
03668  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) && ( (defPriorityFixed) == (Priority(TN_09)) ) && ( (defPriorityFixed) == (Priority(TN_10)) ) && ( (defPriorityFixed) == (Priority(TN_11)) ) )
03669  #define defStackSizeFixed      ( StackSize(TN_00) )
03670  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) && ( (defStackSizeFixed) == (StackSize(TN_09)) ) && ( (defStackSizeFixed) == (StackSize(TN_10)) ) && ( (defStackSizeFixed) == (StackSize(TN_11)) ) )
03671  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) || ( (0xFF) < (StackSize(TN_09)) ) || ( (0xFF) < (StackSize(TN_10)) ) || ( (0xFF) < (StackSize(TN_11)) ) )
03672  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) + (StackSize(TN_09)) + (StackSize(TN_10)) + (StackSize(TN_11)) )
03673  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03674  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_09)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_10)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_11)) ) )
03675  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) && ( (cfgCapAll) == (Capabilities(TN_09)) ) && ( (cfgCapAll) == (Capabilities(TN_10)) ) && ( (cfgCapAll) == (Capabilities(TN_11)) ) )
03676  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03677  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_09)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_10)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_11)) ) )
03678  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03679  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_09)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_10)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_11)) ) )
03680 #elif defNumberOfTasks == 13
03681  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) | (RegisterUse(TN_09)) | (RegisterUse(TN_10)) | (RegisterUse(TN_11)) | (RegisterUse(TN_12)) )
03682  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) & (RegisterUse(TN_09)) & (RegisterUse(TN_10)) & (RegisterUse(TN_11)) & (RegisterUse(TN_12)) )
03683  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_09)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_10)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_11)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_12)) ) )
03684  #define defPriorityFixed       ( Priority(TN_00) )
03685  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) && ( (defPriorityFixed) == (Priority(TN_09)) ) && ( (defPriorityFixed) == (Priority(TN_10)) ) && ( (defPriorityFixed) == (Priority(TN_11)) ) && ( (defPriorityFixed) == (Priority(TN_12)) ) )
03686  #define defStackSizeFixed      ( StackSize(TN_00) )
03687  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) && ( (defStackSizeFixed) == (StackSize(TN_09)) ) && ( (defStackSizeFixed) == (StackSize(TN_10)) ) && ( (defStackSizeFixed) == (StackSize(TN_11)) ) && ( (defStackSizeFixed) == (StackSize(TN_12)) ) )
03688  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) || ( (0xFF) < (StackSize(TN_09)) ) || ( (0xFF) < (StackSize(TN_10)) ) || ( (0xFF) < (StackSize(TN_11)) ) || ( (0xFF) < (StackSize(TN_12)) ) )
03689  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) + (StackSize(TN_09)) + (StackSize(TN_10)) + (StackSize(TN_11)) + (StackSize(TN_12)) )
03690  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03691  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_09)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_10)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_11)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_12)) ) )
03692  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) && ( (cfgCapAll) == (Capabilities(TN_09)) ) && ( (cfgCapAll) == (Capabilities(TN_10)) ) && ( (cfgCapAll) == (Capabilities(TN_11)) ) && ( (cfgCapAll) == (Capabilities(TN_12)) ) )
03693  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03694  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_09)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_10)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_11)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_12)) ) )
03695  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03696  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_09)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_10)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_11)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_12)) ) )
03697 #elif defNumberOfTasks == 14
03698  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) | (RegisterUse(TN_09)) | (RegisterUse(TN_10)) | (RegisterUse(TN_11)) | (RegisterUse(TN_12)) | (RegisterUse(TN_13)) )
03699  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) & (RegisterUse(TN_09)) & (RegisterUse(TN_10)) & (RegisterUse(TN_11)) & (RegisterUse(TN_12)) & (RegisterUse(TN_13)) )
03700  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_09)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_10)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_11)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_12)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_13)) ) )
03701  #define defPriorityFixed       ( Priority(TN_00) )
03702  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) && ( (defPriorityFixed) == (Priority(TN_09)) ) && ( (defPriorityFixed) == (Priority(TN_10)) ) && ( (defPriorityFixed) == (Priority(TN_11)) ) && ( (defPriorityFixed) == (Priority(TN_12)) ) && ( (defPriorityFixed) == (Priority(TN_13)) ) )
03703  #define defStackSizeFixed      ( StackSize(TN_00) )
03704  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) && ( (defStackSizeFixed) == (StackSize(TN_09)) ) && ( (defStackSizeFixed) == (StackSize(TN_10)) ) && ( (defStackSizeFixed) == (StackSize(TN_11)) ) && ( (defStackSizeFixed) == (StackSize(TN_12)) ) && ( (defStackSizeFixed) == (StackSize(TN_13)) ) )
03705  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) || ( (0xFF) < (StackSize(TN_09)) ) || ( (0xFF) < (StackSize(TN_10)) ) || ( (0xFF) < (StackSize(TN_11)) ) || ( (0xFF) < (StackSize(TN_12)) ) || ( (0xFF) < (StackSize(TN_13)) ) )
03706  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) + (StackSize(TN_09)) + (StackSize(TN_10)) + (StackSize(TN_11)) + (StackSize(TN_12)) + (StackSize(TN_13)) )
03707  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03708  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_09)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_10)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_11)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_12)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_13)) ) )
03709  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) && ( (cfgCapAll) == (Capabilities(TN_09)) ) && ( (cfgCapAll) == (Capabilities(TN_10)) ) && ( (cfgCapAll) == (Capabilities(TN_11)) ) && ( (cfgCapAll) == (Capabilities(TN_12)) ) && ( (cfgCapAll) == (Capabilities(TN_13)) ) )
03710  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03711  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_09)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_10)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_11)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_12)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_13)) ) )
03712  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03713  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_09)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_10)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_11)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_12)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_13)) ) )
03714 #elif defNumberOfTasks == 15
03715  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) | (RegisterUse(TN_09)) | (RegisterUse(TN_10)) | (RegisterUse(TN_11)) | (RegisterUse(TN_12)) | (RegisterUse(TN_13)) | (RegisterUse(TN_14)) )
03716  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) & (RegisterUse(TN_09)) & (RegisterUse(TN_10)) & (RegisterUse(TN_11)) & (RegisterUse(TN_12)) & (RegisterUse(TN_13)) & (RegisterUse(TN_14)) )
03717  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_09)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_10)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_11)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_12)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_13)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_14)) ) )
03718  #define defPriorityFixed       ( Priority(TN_00) )
03719  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) && ( (defPriorityFixed) == (Priority(TN_09)) ) && ( (defPriorityFixed) == (Priority(TN_10)) ) && ( (defPriorityFixed) == (Priority(TN_11)) ) && ( (defPriorityFixed) == (Priority(TN_12)) ) && ( (defPriorityFixed) == (Priority(TN_13)) ) && ( (defPriorityFixed) == (Priority(TN_14)) ) )
03720  #define defStackSizeFixed      ( StackSize(TN_00) )
03721  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) && ( (defStackSizeFixed) == (StackSize(TN_09)) ) && ( (defStackSizeFixed) == (StackSize(TN_10)) ) && ( (defStackSizeFixed) == (StackSize(TN_11)) ) && ( (defStackSizeFixed) == (StackSize(TN_12)) ) && ( (defStackSizeFixed) == (StackSize(TN_13)) ) && ( (defStackSizeFixed) == (StackSize(TN_14)) ) )
03722  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) || ( (0xFF) < (StackSize(TN_09)) ) || ( (0xFF) < (StackSize(TN_10)) ) || ( (0xFF) < (StackSize(TN_11)) ) || ( (0xFF) < (StackSize(TN_12)) ) || ( (0xFF) < (StackSize(TN_13)) ) || ( (0xFF) < (StackSize(TN_14)) ) )
03723  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) + (StackSize(TN_09)) + (StackSize(TN_10)) + (StackSize(TN_11)) + (StackSize(TN_12)) + (StackSize(TN_13)) + (StackSize(TN_14)) )
03724  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03725  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_09)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_10)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_11)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_12)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_13)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_14)) ) )
03726  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) && ( (cfgCapAll) == (Capabilities(TN_09)) ) && ( (cfgCapAll) == (Capabilities(TN_10)) ) && ( (cfgCapAll) == (Capabilities(TN_11)) ) && ( (cfgCapAll) == (Capabilities(TN_12)) ) && ( (cfgCapAll) == (Capabilities(TN_13)) ) && ( (cfgCapAll) == (Capabilities(TN_14)) ) )
03727  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03728  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_09)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_10)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_11)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_12)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_13)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_14)) ) )
03729  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03730  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_09)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_10)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_11)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_12)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_13)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_14)) ) )
03731 #elif defNumberOfTasks == 16
03732  #define defRegisterUseCollect  ( (RegisterUse(TN_00)) | (RegisterUse(TN_01)) | (RegisterUse(TN_02)) | (RegisterUse(TN_03)) | (RegisterUse(TN_04)) | (RegisterUse(TN_05)) | (RegisterUse(TN_06)) | (RegisterUse(TN_07)) | (RegisterUse(TN_08)) | (RegisterUse(TN_09)) | (RegisterUse(TN_10)) | (RegisterUse(TN_11)) | (RegisterUse(TN_12)) | (RegisterUse(TN_13)) | (RegisterUse(TN_14)) | (RegisterUse(TN_15)) )
03733  #define defRegisterUseFixed    ( (RegisterUse(TN_00)) & (RegisterUse(TN_01)) & (RegisterUse(TN_02)) & (RegisterUse(TN_03)) & (RegisterUse(TN_04)) & (RegisterUse(TN_05)) & (RegisterUse(TN_06)) & (RegisterUse(TN_07)) & (RegisterUse(TN_08)) & (RegisterUse(TN_09)) & (RegisterUse(TN_10)) & (RegisterUse(TN_11)) & (RegisterUse(TN_12)) & (RegisterUse(TN_13)) & (RegisterUse(TN_14)) & (RegisterUse(TN_15)) )
03734  #define defRegisterUseTest     ( ( (defRegisterUseCollect) == (RegisterUse(TN_00)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_01)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_02)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_03)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_04)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_05)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_06)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_07)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_08)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_09)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_10)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_11)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_12)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_13)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_14)) ) && ( (defRegisterUseCollect) == (RegisterUse(TN_15)) ) )
03735  #define defPriorityFixed       ( Priority(TN_00) )
03736  #define defPriorityTest        ( ( (defPriorityFixed) == (Priority(TN_01)) ) &&  ( (defPriorityFixed) == (Priority(TN_02)) ) && ( (defPriorityFixed) == (Priority(TN_03)) ) && ( (defPriorityFixed) == (Priority(TN_04)) ) && ( (defPriorityFixed) == (Priority(TN_05)) ) && ( (defPriorityFixed) == (Priority(TN_06)) ) && ( (defPriorityFixed) == (Priority(TN_07)) ) && ( (defPriorityFixed) == (Priority(TN_08)) ) && ( (defPriorityFixed) == (Priority(TN_09)) ) && ( (defPriorityFixed) == (Priority(TN_10)) ) && ( (defPriorityFixed) == (Priority(TN_11)) ) && ( (defPriorityFixed) == (Priority(TN_12)) ) && ( (defPriorityFixed) == (Priority(TN_13)) ) && ( (defPriorityFixed) == (Priority(TN_14)) ) && ( (defPriorityFixed) == (Priority(TN_15)) ) )
03737  #define defStackSizeFixed      ( StackSize(TN_00) )
03738  #define defStackSizeTest       ( ( (defStackSizeFixed) == (StackSize(TN_01)) ) &&  ( (defStackSizeFixed) == (StackSize(TN_02)) ) && ( (defStackSizeFixed) == (StackSize(TN_03)) ) && ( (defStackSizeFixed) == (StackSize(TN_04)) ) && ( (defStackSizeFixed) == (StackSize(TN_05)) ) && ( (defStackSizeFixed) == (StackSize(TN_06)) ) && ( (defStackSizeFixed) == (StackSize(TN_07)) ) && ( (defStackSizeFixed) == (StackSize(TN_08)) ) && ( (defStackSizeFixed) == (StackSize(TN_09)) ) && ( (defStackSizeFixed) == (StackSize(TN_10)) ) && ( (defStackSizeFixed) == (StackSize(TN_11)) ) && ( (defStackSizeFixed) == (StackSize(TN_12)) ) && ( (defStackSizeFixed) == (StackSize(TN_13)) ) && ( (defStackSizeFixed) == (StackSize(TN_14)) ) && ( (defStackSizeFixed) == (StackSize(TN_15)) ) )
03739  #define defStackSizeHuge       ( ( (0xFF) < (StackSize(TN_00)) ) || ( (0xFF) < (StackSize(TN_01)) ) ||  ( (0xFF) < (StackSize(TN_02)) ) || ( (0xFF) < (StackSize(TN_03)) ) || ( (0xFF) < (StackSize(TN_04)) ) || ( (0xFF) < (StackSize(TN_05)) ) || ( (0xFF) < (StackSize(TN_06)) ) || ( (0xFF) < (StackSize(TN_07)) ) || ( (0xFF) < (StackSize(TN_08)) ) || ( (0xFF) < (StackSize(TN_09)) ) || ( (0xFF) < (StackSize(TN_10)) ) || ( (0xFF) < (StackSize(TN_11)) ) || ( (0xFF) < (StackSize(TN_12)) ) || ( (0xFF) < (StackSize(TN_13)) ) || ( (0xFF) < (StackSize(TN_14)) ) || ( (0xFF) < (StackSize(TN_15)) ) )
03740  #define defStackSpaceTasks     ( (StackSize(TN_00)) + (StackSize(TN_01)) +  (StackSize(TN_02)) + (StackSize(TN_03)) + (StackSize(TN_04)) + (StackSize(TN_05)) + (StackSize(TN_06)) + (StackSize(TN_07)) + (StackSize(TN_08)) + (StackSize(TN_09)) + (StackSize(TN_10)) + (StackSize(TN_11)) + (StackSize(TN_12)) + (StackSize(TN_13)) + (StackSize(TN_14)) + (StackSize(TN_15)) )
03741  #define defTaskIncludeFixed    ( TaskInclude(TN_00) )
03742  #define defTaskIncludeTest     ( ( (defTaskIncludeFixed) == (TaskInclude(TN_01)) ) &&  ( (defTaskIncludeFixed) == (TaskInclude(TN_02)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_03)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_04)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_05)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_06)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_07)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_08)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_09)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_10)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_11)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_12)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_13)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_14)) ) && ( (defTaskIncludeFixed) == (TaskInclude(TN_15)) ) )
03743  #define defCapabilitiesTest    ( ( (cfgCapAll) == (Capabilities(TN_00)) ) && ( (cfgCapAll) == (Capabilities(TN_01)) ) &&  ( (cfgCapAll) == (Capabilities(TN_02)) ) && ( (cfgCapAll) == (Capabilities(TN_03)) ) && ( (cfgCapAll) == (Capabilities(TN_04)) ) && ( (cfgCapAll) == (Capabilities(TN_05)) ) && ( (cfgCapAll) == (Capabilities(TN_06)) ) && ( (cfgCapAll) == (Capabilities(TN_07)) ) && ( (cfgCapAll) == (Capabilities(TN_08)) ) && ( (cfgCapAll) == (Capabilities(TN_09)) ) && ( (cfgCapAll) == (Capabilities(TN_10)) ) && ( (cfgCapAll) == (Capabilities(TN_11)) ) && ( (cfgCapAll) == (Capabilities(TN_12)) ) && ( (cfgCapAll) == (Capabilities(TN_13)) ) && ( (cfgCapAll) == (Capabilities(TN_14)) ) && ( (cfgCapAll) == (Capabilities(TN_15)) ) )
03744  #define defInterruptStartFixed ( InterruptStart(TN_00) )
03745  #define defInterruptStartTest  ( ( (defInterruptStartFixed) == (InterruptStart(TN_01)) ) &&  ( (defInterruptStartFixed) == (InterruptStart(TN_02)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_03)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_04)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_05)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_06)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_07)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_08)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_09)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_10)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_11)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_12)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_13)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_14)) ) && ( (defInterruptStartFixed) == (InterruptStart(TN_15)) ) )
03746  #define defTimeSliceFixed      ( TimeSlice(TN_00) )
03747  #define defTimeSliceTest       ( ( (defTimeSliceFixed) == (TimeSlice(TN_01)) ) &&  ( (defTimeSliceFixed) == (TimeSlice(TN_02)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_03)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_04)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_05)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_06)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_07)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_08)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_09)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_10)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_11)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_12)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_13)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_14)) ) && ( (defTimeSliceFixed) == (TimeSlice(TN_15)) ) )
03748 #endif
03749 
03750 #define defRegisterUseVariable (defRegisterUseCollect & (~defRegisterUseFixed))
03751 
03752 #if (defUseIsrStack == cfgTrue) && (defUseSharedStack == cfgTrue)
03753   #define defStackSpaceTotal     ( (defStackSpaceTasks) + (StackSizeOS) + (StackSizeISR) + (StackSizeShared))
03754 #elif (defUseIsrStack == cfgTrue) && (defUseSharedStack == cfgFalse)
03755   #define defStackSpaceTotal     ( (defStackSpaceTasks) + (StackSizeOS) + (StackSizeISR))
03756 #elif (defUseIsrStack == cfgFalse) && (defUseSharedStack == cfgTrue)
03757   #define defStackSpaceTotal     ( (defStackSpaceTasks) + (StackSizeOS) + (StackSizeShared))
03758 #else
03759   #define defStackSpaceTotal     ( (defStackSpaceTasks) + (StackSizeOS))
03760 #endif
03761 
03762 /* Test if all stacks fit on page zero */
03763 #if (devRAMend <= 0xFF) || ((defSysZeroPageStack == cfgTrue) && \
03764     ( ((cfgSysReuseOsStack == cfgTrue)   && ((defStackSpaceTotal + devRAMbegin) <= 0xFF)) || \
03765       ((cfgSysReuseOsStack == cfgFalse)  && ((defStackSpaceTotal + defTaskSaveSize + devRAMbegin) <= 0xFF)) ))
03766   #define defStackSpaceExceedsOneByte cfgFalse
03767 #else
03768   #define defStackSpaceExceedsOneByte cfgTrue
03769 #endif
03770 
03771 #if defRegisterUseTest
03772   #define defRegisterUseConstant cfgTrue
03773 #else
03774   #define defRegisterUseConstant cfgFalse
03775 #endif
03776 
03777 #if (defRegisterUseConstant == cfgTrue)
03778   #define defRegisterCount (((defRegisterUseCollect & 0x80) >> 5) + ((defRegisterUseCollect & 0x40) >> 4) + ((defRegisterUseCollect & 0x20) >> 3) + ((defRegisterUseCollect & 0x10) >> 2) + ((defRegisterUseCollect & 0x08) >> 1) + ((defRegisterUseCollect & 0x04)) + ((defRegisterUseCollect & 0x02) << 1) + ((defRegisterUseCollect & 0x01) << 2))
03779 #endif
03780 
03781 #if defPriorityTest
03782   #define defPriorityConstant cfgTrue
03783 #else
03784   #define defPriorityConstant cfgFalse
03785 #endif
03786 
03787 #if defStackSizeTest
03788   #define defStackSizeConstant cfgTrue
03789 #else
03790   #define defStackSizeConstant cfgFalse
03791 #endif
03792 
03793 #if defTaskIncludeTest
03794   #define defTaskIncludeConstant cfgTrue
03795 #else
03796   #define defTaskIncludeConstant cfgFalse
03797 #endif
03798 
03799 #if defInterruptStartTest
03800   #define defInterruptStartConstant cfgTrue
03801 #else
03802   #define defInterruptStartConstant cfgFalse
03803 #endif
03804 
03805 #if (cfgUseEquidistantTicks == cfgTrue)
03806   #define defTimeSliceConstant cfgTrue
03807 #else
03808   #if defTimeSliceTest
03809     #define defTimeSliceConstant cfgTrue
03810   #else
03811     #define defTimeSliceConstant cfgFalse
03812   #endif
03813 #endif
03814 
03815 /* Since the initial status and the task status are different, we need a
03816  * compile time mapping to keep the runtime small. This mapping takes
03817  * care of (I, ann S should have the bits on set on the proper place.
03818  * Other bits must be zero):
03819  *
03820  * if shared is off
03821  *  00  ==>  000   (suspended)
03822  *  01  ==>  010   (sleeping)
03823  *  11  ==>  110   (running)
03824  *
03825  * if shared is on
03826  *  00  ==>  001   (suspended)
03827  *  01  ==>  011   (sleeping)
03828  *  11  ==>  101   (shared)
03829  */
03830 #define InitialStartModifier(I,S)  ( ( ((I)|(S)) == (defRestartRunning | defInitialSharePresent)) ? (defRestartShared | defInitialSharePresent) : ((I)|(S)) )
03831 
03832 #define InitialShared(X) ((StackIsShared(X)) ? (defInitialSharePresent) : (defInitialShareAbsent))
03833 
03834 #if (defPriorityConstant == cfgTrue) && (defInterruptStartConstant == cfgTrue) && (defTaskIncludeConstant == cfgTrue) && (defSharesConstant == cfgTrue)
03835   #define defInitialStatusConstant cfgTrue
03836   #define defInitialStatusFixed ( InitialStartModifier(((defTaskIncludeFixed) & (defInitialStartGetMask)),defInitialSharedFixed) | ((defInterruptStartFixed) & (defInitialInterruptGetMask)) | (((defPriorityFixed) << defBasePrioShift) & defInitialPriorityGetMask) )
03837 #else
03838   #define defInitialStatusConstant cfgFalse
03839 #endif
03840 
03841 #if defCapabilitiesTest
03842   #define defCapabilitiesFull cfgTrue
03843 #else
03844   #define defCapabilitiesFull cfgFalse
03845 #endif
03846 
03847 #if defStackSizeHuge
03848   #define Tstack Tuint16
03849   #define defStackSizeExceedsOneByte cfgTrue
03850 #else
03851   #define Tstack Tuint08
03852   #define defStackSizeExceedsOneByte cfgFalse
03853 #endif
03854 
03855 
03856 #if (cfgCheckRegisters == cfgTrue)
03857 
03858 /* TODO: implement this? */
03859 /* It is not needed to check registers which are marked 'in use'.
03860  * This could be activated with
03861  *   #define RegisterCheckReduced(X)  ( (RegisterCheck(X)) &(~(RegisterUse(X))))
03862  * but that changes the registers in use in the logging. Maybe we should
03863  * find a different solution. For now we stick with the old solution */
03864 #define RegisterCheckReduced(X)    (RegisterCheck(X))
03865 
03866 #if defNumberOfTasks == 0
03867  #define defRegisterCheckCollect  ( 0x00 )
03868  #define defRegisterCheckTest     ( 1 == 1 )
03869 #elif defNumberOfTasks == 1
03870  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00) ) )
03871  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) )
03872 #elif defNumberOfTasks == 2
03873  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) )
03874  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) )
03875 #elif defNumberOfTasks == 3
03876  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) )
03877  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) )
03878 #elif defNumberOfTasks == 4
03879  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) )
03880  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) )
03881 #elif defNumberOfTasks == 5
03882  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) )
03883  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) )
03884 #elif defNumberOfTasks == 6
03885  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) )
03886  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) )
03887 #elif defNumberOfTasks == 7
03888  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) )
03889  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) )
03890 #elif defNumberOfTasks == 8
03891  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) )
03892  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) )
03893 #elif defNumberOfTasks == 9
03894  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) )
03895  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) )
03896 #elif defNumberOfTasks == 10
03897  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) | (RegisterCheckReduced(TN_09)) )
03898  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_09)) ) )
03899 #elif defNumberOfTasks == 11
03900  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) | (RegisterCheckReduced(TN_09)) | (RegisterCheckReduced(TN_10)) )
03901  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_09)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_10)) ) )
03902 #elif defNumberOfTasks == 12
03903  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) | (RegisterCheckReduced(TN_09)) | (RegisterCheckReduced(TN_10)) | (RegisterCheckReduced(TN_11)) )
03904  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_09)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_10)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_11)) ) )
03905 #elif defNumberOfTasks == 13
03906  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) | (RegisterCheckReduced(TN_09)) | (RegisterCheckReduced(TN_10)) | (RegisterCheckReduced(TN_11)) | (RegisterCheckReduced(TN_12)) )
03907  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_09)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_10)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_11)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_12)) ) )
03908 #elif defNumberOfTasks == 14
03909  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) | (RegisterCheckReduced(TN_09)) | (RegisterCheckReduced(TN_10)) | (RegisterCheckReduced(TN_11)) | (RegisterCheckReduced(TN_12)) | (RegisterCheckReduced(TN_13)) )
03910  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_09)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_10)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_11)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_12)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_13)) ) )
03911 #elif defNumberOfTasks == 15
03912  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) | (RegisterCheckReduced(TN_09)) | (RegisterCheckReduced(TN_10)) | (RegisterCheckReduced(TN_11)) | (RegisterCheckReduced(TN_12)) | (RegisterCheckReduced(TN_13)) | (RegisterCheckReduced(TN_14)) )
03913  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_09)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_10)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_11)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_12)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_13)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_14)) ) )
03914 #elif defNumberOfTasks == 16
03915  #define defRegisterCheckCollect  ( (RegisterCheckReduced(TN_00)) | (RegisterCheckReduced(TN_01)) | (RegisterCheckReduced(TN_02)) | (RegisterCheckReduced(TN_03)) | (RegisterCheckReduced(TN_04)) | (RegisterCheckReduced(TN_05)) | (RegisterCheckReduced(TN_06)) | (RegisterCheckReduced(TN_07)) | (RegisterCheckReduced(TN_08)) | (RegisterCheckReduced(TN_09)) | (RegisterCheckReduced(TN_10)) | (RegisterCheckReduced(TN_11)) | (RegisterCheckReduced(TN_12)) | (RegisterCheckReduced(TN_13)) | (RegisterCheckReduced(TN_14)) | (RegisterCheckReduced(TN_15)) )
03916  #define defRegisterCheckTest      ( ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_00)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_01)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_02)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_03)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_04)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_05)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_06)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_07)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_08)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_09)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_10)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_11)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_12)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_13)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_14)) ) && ( (defRegisterCheckCollect) == (RegisterCheckReduced(TN_15)) ) )
03917 #endif
03918 
03919 #if defRegisterCheckTest
03920   #define defRegisterCheckConstant cfgTrue
03921 #else
03922   #define defRegisterCheckConstant cfgFalse
03923 #endif
03924 
03925 #elif (cfgCheckWatermarks == cfgTrue)
03926   #define defRegisterCheckCollect  (registersAll)
03927   #define defRegisterCheckConstant cfgTrue
03928 
03929 #elif (cfgCheckTaskStack == cfgTrue)
03930   #define defRegisterCheckCollect  (registersNon)
03931   #define defRegisterCheckConstant cfgTrue
03932 
03933 #else
03934   #define defRegisterCheckCollect  (registersNon)
03935   #define defRegisterCheckConstant cfgTrue
03936 
03937 #endif
03938 
03939 
03940 #if (cfgUseSynchronization != cfgSyncNon)
03941 
03942 #define SlotDepth(X)           ((SlotSize(X)+1)>>1)
03943 
03944 #if defNumberOfTasksWithSlot == 0
03945  #define defSlotSizeTest1      ( 1 == 0 )
03946  #define defSlotSizeTest2      ( 1 == 0 )
03947  #define defSlotDepthCollect   ( 0x00 )
03948  #define defSlotDepthTest      ( 1 == 1 )
03949 #elif defNumberOfTasksWithSlot == 1
03950  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) )
03951  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) )
03952  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) )
03953  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) )
03954 #elif defNumberOfTasksWithSlot == 2
03955  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) )
03956  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) )
03957  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) )
03958  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) )
03959 #elif defNumberOfTasksWithSlot == 3
03960  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) )
03961  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) )
03962  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) )
03963  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) )
03964 #elif defNumberOfTasksWithSlot == 4
03965  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) )
03966  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) )
03967  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) )
03968  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) )
03969 #elif defNumberOfTasksWithSlot == 5
03970  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) )
03971  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) )
03972  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) )
03973  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) )
03974 #elif defNumberOfTasksWithSlot == 6
03975  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) )
03976  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) )
03977  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) )
03978  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) )
03979 #elif defNumberOfTasksWithSlot == 7
03980  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) )
03981  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) )
03982  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) )
03983  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) )
03984 #elif defNumberOfTasksWithSlot == 8
03985  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) )
03986  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) )
03987  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) )
03988  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) )
03989 #elif defNumberOfTasksWithSlot == 9
03990  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) )
03991  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) )
03992  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) )
03993  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) )
03994 #elif defNumberOfTasksWithSlot == 10
03995  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) && ((SlotSize(TN_09))<2) )
03996  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) && ((SlotSize(TN_09))<3) )
03997  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) | (SlotDepth(TN_09)) )
03998  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) && ((defSlotDepthCollect) == (SlotDepth(TN_09))) )
03999 #elif defNumberOfTasksWithSlot == 11
04000  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) && ((SlotSize(TN_09))<2) && ((SlotSize(TN_10))<2) )
04001  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) && ((SlotSize(TN_09))<3) && ((SlotSize(TN_10))<3) )
04002  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) | (SlotDepth(TN_09)) | (SlotDepth(TN_10)) )
04003  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) && ((defSlotDepthCollect) == (SlotDepth(TN_09))) && ((defSlotDepthCollect) == (SlotDepth(TN_10))) )
04004 #elif defNumberOfTasksWithSlot == 12
04005  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) && ((SlotSize(TN_09))<2) && ((SlotSize(TN_10))<2) && ((SlotSize(TN_11))<2) )
04006  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) && ((SlotSize(TN_09))<3) && ((SlotSize(TN_10))<3) && ((SlotSize(TN_11))<3) )
04007  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) | (SlotDepth(TN_09)) | (SlotDepth(TN_10)) | (SlotDepth(TN_11)) )
04008  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) && ((defSlotDepthCollect) == (SlotDepth(TN_09))) && ((defSlotDepthCollect) == (SlotDepth(TN_10))) && ((defSlotDepthCollect) == (SlotDepth(TN_11))) )
04009 #elif defNumberOfTasksWithSlot == 13
04010  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) && ((SlotSize(TN_09))<2) && ((SlotSize(TN_10))<2) && ((SlotSize(TN_11))<2) && ((SlotSize(TN_12))<2) )
04011  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) && ((SlotSize(TN_09))<3) && ((SlotSize(TN_10))<3) && ((SlotSize(TN_11))<3) && ((SlotSize(TN_12))<3) )
04012  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) | (SlotDepth(TN_09)) | (SlotDepth(TN_10)) | (SlotDepth(TN_11)) | (SlotDepth(TN_12)) )
04013  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) && ((defSlotDepthCollect) == (SlotDepth(TN_09))) && ((defSlotDepthCollect) == (SlotDepth(TN_10))) && ((defSlotDepthCollect) == (SlotDepth(TN_11))) && ((defSlotDepthCollect) == (SlotDepth(TN_12))) )
04014 #elif defNumberOfTasksWithSlot == 14
04015  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) && ((SlotSize(TN_09))<2) && ((SlotSize(TN_10))<2) && ((SlotSize(TN_11))<2) && ((SlotSize(TN_12))<2) && ((SlotSize(TN_13))<2) )
04016  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) && ((SlotSize(TN_09))<3) && ((SlotSize(TN_10))<3) && ((SlotSize(TN_11))<3) && ((SlotSize(TN_12))<3) && ((SlotSize(TN_13))<3) )
04017  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) | (SlotDepth(TN_09)) | (SlotDepth(TN_10)) | (SlotDepth(TN_11)) | (SlotDepth(TN_12)) | (SlotDepth(TN_13)) )
04018  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) && ((defSlotDepthCollect) == (SlotDepth(TN_09))) && ((defSlotDepthCollect) == (SlotDepth(TN_10))) && ((defSlotDepthCollect) == (SlotDepth(TN_11))) && ((defSlotDepthCollect) == (SlotDepth(TN_12))) && ((defSlotDepthCollect) == (SlotDepth(TN_13))) )
04019 #elif defNumberOfTasksWithSlot == 15
04020  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) && ((SlotSize(TN_09))<2) && ((SlotSize(TN_10))<2) && ((SlotSize(TN_11))<2) && ((SlotSize(TN_12))<2) && ((SlotSize(TN_13))<2) && ((SlotSize(TN_14))<2) )
04021  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) && ((SlotSize(TN_09))<3) && ((SlotSize(TN_10))<3) && ((SlotSize(TN_11))<3) && ((SlotSize(TN_12))<3) && ((SlotSize(TN_13))<3) && ((SlotSize(TN_14))<3) )
04022  #define defSlotDepthCollect   ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) | (SlotDepth(TN_09)) | (SlotDepth(TN_10)) | (SlotDepth(TN_11)) | (SlotDepth(TN_12)) | (SlotDepth(TN_13)) | (SlotDepth(TN_14)) )
04023  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) && ((defSlotDepthCollect) == (SlotDepth(TN_09))) && ((defSlotDepthCollect) == (SlotDepth(TN_10))) && ((defSlotDepthCollect) == (SlotDepth(TN_11))) && ((defSlotDepthCollect) == (SlotDepth(TN_12))) && ((defSlotDepthCollect) == (SlotDepth(TN_13))) && ((defSlotDepthCollect) == (SlotDepth(TN_14))) )
04024 #elif defNumberOfTasksWithSlot == 16
04025  #define defSlotSizeTest1      ( ((SlotSize(TN_00))<2) && ((SlotSize(TN_01))<2) && ((SlotSize(TN_02))<2) && ((SlotSize(TN_03))<2) && ((SlotSize(TN_04))<2) && ((SlotSize(TN_05))<2) && ((SlotSize(TN_06))<2) && ((SlotSize(TN_07))<2) && ((SlotSize(TN_08))<2) && ((SlotSize(TN_09))<2) && ((SlotSize(TN_10))<2) && ((SlotSize(TN_11))<2) && ((SlotSize(TN_12))<2) && ((SlotSize(TN_13))<2) && ((SlotSize(TN_14))<2) && ((SlotSize(TN_15))<2) )
04026  #define defSlotSizeTest2      ( ((SlotSize(TN_00))<3) && ((SlotSize(TN_01))<3) && ((SlotSize(TN_02))<3) && ((SlotSize(TN_03))<3) && ((SlotSize(TN_04))<3) && ((SlotSize(TN_05))<3) && ((SlotSize(TN_06))<3) && ((SlotSize(TN_07))<3) && ((SlotSize(TN_08))<3) && ((SlotSize(TN_09))<3) && ((SlotSize(TN_10))<3) && ((SlotSize(TN_11))<3) && ((SlotSize(TN_12))<3) && ((SlotSize(TN_13))<3) && ((SlotSize(TN_14))<3) && ((SlotSize(TN_15))<3) )
04027 #define defSlotDepthCollect    ( (SlotDepth(TN_00)) | (SlotDepth(TN_01)) | (SlotDepth(TN_02)) | (SlotDepth(TN_03)) | (SlotDepth(TN_04)) | (SlotDepth(TN_05)) | (SlotDepth(TN_06)) | (SlotDepth(TN_07)) | (SlotDepth(TN_08)) | (SlotDepth(TN_09)) | (SlotDepth(TN_10)) | (SlotDepth(TN_11)) | (SlotDepth(TN_12)) | (SlotDepth(TN_13)) | (SlotDepth(TN_14)) | (SlotDepth(TN_15)) )
04028  #define defSlotDepthTest      ( ((defSlotDepthCollect) == (SlotDepth(TN_00))) && ((defSlotDepthCollect) == (SlotDepth(TN_01))) && ((defSlotDepthCollect) == (SlotDepth(TN_02))) && ((defSlotDepthCollect) == (SlotDepth(TN_03))) && ((defSlotDepthCollect) == (SlotDepth(TN_04))) && ((defSlotDepthCollect) == (SlotDepth(TN_05))) && ((defSlotDepthCollect) == (SlotDepth(TN_06))) && ((defSlotDepthCollect) == (SlotDepth(TN_07))) && ((defSlotDepthCollect) == (SlotDepth(TN_08))) && ((defSlotDepthCollect) == (SlotDepth(TN_09))) && ((defSlotDepthCollect) == (SlotDepth(TN_10))) && ((defSlotDepthCollect) == (SlotDepth(TN_11))) && ((defSlotDepthCollect) == (SlotDepth(TN_12))) && ((defSlotDepthCollect) == (SlotDepth(TN_13))) && ((defSlotDepthCollect) == (SlotDepth(TN_14))) && ((defSlotDepthCollect) == (SlotDepth(TN_15))) )
04029 #endif
04030 
04031 
04032 #if defSlotSizeTest1
04033   #define defSlotOneOnly       cfgTrue
04034   #define defSlotTwoOnly       cfgFalse
04035   #define defSlotsMore         cfgFalse
04036 #elif defSlotSizeTest2
04037   #define defSlotOneOnly       cfgFalse
04038   #define defSlotTwoOnly       cfgTrue
04039   #define defSlotsMore         cfgFalse
04040 #else
04041   #define defSlotOneOnly       cfgFalse
04042   #define defSlotTwoOnly       cfgFalse
04043   #define defSlotsMore         cfgTrue
04044 #endif
04045 
04046 #if defSlotDepthTest
04047   #define defSlotDepthConstant cfgTrue
04048 #else
04049   #define defSlotDepthConstant cfgFalse
04050 #endif
04051 
04052 #else
04053  #define defSlotDepthCollect   ( 0x00 )
04054  #define defSlotDepthConstant  cfgTrue
04055  #define defSlotOneOnly        cfgFalse
04056  #define defSlotTwoOnly        cfgFalse
04057  #define defSlotsMore          cfgFalse
04058 
04059 #endif
04060 
04061 
04062 #if (cfgUseSynchronization != cfgSyncNon)
04063 
04064 #if defNumberOfQueus == 0
04065  #define defQueuSizeFixed ( 0x00 )
04066  #define defQueuSizeTest  ( 1 == 1 )
04067 #elif defNumberOfQueus == 1
04068  #define defQueuSizeFixed ( QueuSize(LN_01) )
04069  #define defQueuSizeTest  ( 1 == 1 )
04070 #elif defNumberOfQueus == 2
04071  #define defQueuSizeFixed ( QueuSize(LN_01) )
04072  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) )
04073 #elif defNumberOfQueus == 3
04074  #define defQueuSizeFixed ( QueuSize(LN_01) )
04075  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) )
04076 #elif defNumberOfQueus == 4
04077  #define defQueuSizeFixed ( QueuSize(LN_01) )
04078  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) )
04079 #elif defNumberOfQueus == 5
04080  #define defQueuSizeFixed ( QueuSize(LN_01) )
04081  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) )
04082 #elif defNumberOfQueus == 6
04083  #define defQueuSizeFixed ( QueuSize(LN_01) )
04084  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) )
04085 #elif defNumberOfQueus == 7
04086  #define defQueuSizeFixed ( QueuSize(LN_01) )
04087  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) )
04088 #elif defNumberOfQueus == 8
04089  #define defQueuSizeFixed ( QueuSize(LN_01) )
04090  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) )
04091 #elif defNumberOfQueus == 9
04092  #define defQueuSizeFixed ( QueuSize(LN_01) )
04093  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_09)) ) )
04094 #elif defNumberOfQueus == 10
04095  #define defQueuSizeFixed ( QueuSize(LN_01) )
04096  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_09)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_10)) ) )
04097 #elif defNumberOfQueus == 11
04098  #define defQueuSizeFixed ( QueuSize(LN_01) )
04099  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_09)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_10)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_11)) ) )
04100 #elif defNumberOfQueus == 12
04101  #define defQueuSizeFixed ( QueuSize(LN_01) )
04102  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_09)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_10)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_11)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_12)) ) )
04103 #elif defNumberOfQueus == 13
04104  #define defQueuSizeFixed ( QueuSize(LN_01) )
04105  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_09)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_10)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_11)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_12)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_13)) ) )
04106 #elif defNumberOfQueus == 14
04107  #define defQueuSizeFixed ( QueuSize(LN_01) )
04108  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_09)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_10)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_11)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_12)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_13)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_14)) ) )
04109 #elif defNumberOfQueus == 15
04110  #define defQueuSizeFixed ( QueuSize(LN_01) )
04111  #define defQueuSizeTest  ( ( (defQueuSizeFixed) == (QueuSize(LN_02)) ) &&  ( (defQueuSizeFixed) == (QueuSize(LN_03)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_04)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_05)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_06)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_07)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_08)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_09)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_10)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_11)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_12)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_13)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_14)) ) && ( (defQueuSizeFixed) == (QueuSize(LN_15)) ) )
04112 #endif
04113 
04114 #if defQueuSizeTest
04115   #define defQueuSizeConstant cfgTrue
04116 #else
04117   #define defQueuSizeConstant cfgFalse
04118 #endif
04119 
04120 #endif
04121 
04122 
04123 #if (cfgUseFileSystem  ==  cfgTrue)
04124 
04125 #if defined(FN_00) && (FileSpace(FN_00) > 0)
04126   #define VN_00 FN_00
04127 #endif
04128 
04129 #if defined(FN_01) && (FileSpace(FN_01) > 0)
04130   #if !defined(VN_00)
04131     #define VN_00 FN_01
04132   #else
04133     #define VN_01 FN_01
04134   #endif
04135 #endif
04136 
04137 #if defined(FN_02) && (FileSpace(FN_02) > 0)
04138   #if !defined(VN_00)
04139     #define VN_00 FN_02
04140   #elif !defined(VN_01)
04141     #define VN_01 FN_02
04142   #else
04143     #define VN_02 FN_02
04144   #endif
04145 #endif
04146 
04147 #if defined(FN_03) && (FileSpace(FN_03) > 0)
04148   #if !defined(VN_00)
04149     #define VN_00 FN_03
04150   #elif !defined(VN_01)
04151     #define VN_01 FN_03
04152   #elif !defined(VN_02)
04153     #define VN_02 FN_03
04154   #else
04155     #define VN_03 FN_03
04156   #endif
04157 #endif
04158 
04159 #if defined(FN_04) && (FileSpace(FN_04) > 0)
04160   #if !defined(VN_00)
04161     #define VN_00 FN_04
04162   #elif !defined(VN_01)
04163     #define VN_01 FN_04
04164   #elif !defined(VN_02)
04165     #define VN_02 FN_04
04166   #elif !defined(VN_03)
04167     #define VN_03 FN_04
04168   #else
04169     #define VN_04 FN_04
04170   #endif
04171 #endif
04172 
04173 
04174 #if defined(FN_05) && (FileSpace(FN_05) > 0)
04175   #if !defined(VN_00)
04176     #define VN_00 FN_05
04177   #elif !defined(VN_01)
04178     #define VN_01 FN_05
04179   #elif !defined(VN_02)
04180     #define VN_02 FN_05
04181   #elif !defined(VN_03)
04182     #define VN_03 FN_05
04183   #elif !defined(VN_04)
04184     #define VN_04 FN_05
04185   #else
04186     #define VN_05 FN_05
04187   #endif
04188 #endif
04189 
04190 #if defined(FN_06) && (FileSpace(FN_06) > 0)
04191   #if !defined(VN_00)
04192     #define VN_00 FN_06
04193   #elif !defined(VN_01)
04194     #define VN_01 FN_06
04195   #elif !defined(VN_02)
04196     #define VN_02 FN_06
04197   #elif !defined(VN_03)
04198     #define VN_03 FN_06
04199   #elif !defined(VN_04)
04200     #define VN_04 FN_06
04201   #elif !defined(VN_05)
04202     #define VN_05 FN_06
04203   #else
04204     #define VN_06 FN_06
04205   #endif
04206 #endif
04207 
04208 #if defined(FN_07) && (FileSpace(FN_07) > 0)
04209   #if !defined(VN_00)
04210     #define VN_00 FN_07
04211   #elif !defined(VN_01)
04212     #define VN_01 FN_07
04213   #elif !defined(VN_02)
04214     #define VN_02 FN_07
04215   #elif !defined(VN_03)
04216     #define VN_03 FN_07
04217   #elif !defined(VN_04)
04218     #define VN_04 FN_07
04219   #elif !defined(VN_05)
04220     #define VN_05 FN_07
04221   #elif !defined(VN_06)
04222     #define VN_06 FN_07
04223   #else
04224     #define VN_07 FN_07
04225   #endif
04226 #endif
04227 
04228 #if defined(FN_08) && (FileSpace(FN_08) > 0)
04229   #if !defined(VN_00)
04230     #define VN_00 FN_08
04231   #elif !defined(VN_01)
04232     #define VN_01 FN_08
04233   #elif !defined(VN_02)
04234     #define VN_02 FN_08
04235   #elif !defined(VN_03)
04236     #define VN_03 FN_08
04237   #elif !defined(VN_04)
04238     #define VN_04 FN_08
04239   #elif !defined(VN_05)
04240     #define VN_05 FN_08
04241   #elif !defined(VN_06)
04242     #define VN_06 FN_08
04243   #elif !defined(VN_07)
04244     #define VN_07 FN_08
04245   #else
04246     #define VN_08 FN_08
04247   #endif
04248 #endif
04249 
04250 #if defined(FN_09) && (FileSpace(FN_09) > 0)
04251   #if !defined(VN_00)
04252     #define VN_00 FN_09
04253   #elif !defined(VN_01)
04254     #define VN_01 FN_09
04255   #elif !defined(VN_02)
04256     #define VN_02 FN_09
04257   #elif !defined(VN_03)
04258     #define VN_03 FN_09
04259   #elif !defined(VN_04)
04260     #define VN_04 FN_09
04261   #elif !defined(VN_05)
04262     #define VN_05 FN_09
04263   #elif !defined(VN_06)
04264     #define VN_06 FN_09
04265   #elif !defined(VN_07)
04266     #define VN_07 FN_09
04267   #elif !defined(VN_08)
04268     #define VN_08 FN_09
04269   #else
04270     #define VN_09 FN_09
04271   #endif
04272 #endif
04273 
04274 #if defined(FN_10) && (FileSpace(FN_10) > 0)
04275   #if !defined(VN_00)
04276     #define VN_00 FN_10
04277   #elif !defined(VN_01)
04278     #define VN_01 FN_10
04279   #elif !defined(VN_02)
04280     #define VN_02 FN_10
04281   #elif !defined(VN_03)
04282     #define VN_03 FN_10
04283   #elif !defined(VN_04)
04284     #define VN_04 FN_10
04285   #elif !defined(VN_05)
04286     #define VN_05 FN_10
04287   #elif !defined(VN_06)
04288     #define VN_06 FN_10
04289   #elif !defined(VN_07)
04290     #define VN_07 FN_10
04291   #elif !defined(VN_08)
04292     #define VN_08 FN_10
04293   #elif !defined(VN_09)
04294     #define VN_09 FN_10
04295   #else
04296     #define VN_10 FN_10
04297   #endif
04298 #endif
04299 
04300 #if defined(FN_11) && (FileSpace(FN_11) > 0)
04301   #if !defined(VN_00)
04302     #define VN_00 FN_11
04303   #elif !defined(VN_01)
04304     #define VN_01 FN_11
04305   #elif !defined(VN_02)
04306     #define VN_02 FN_11
04307   #elif !defined(VN_03)
04308     #define VN_03 FN_11
04309   #elif !defined(VN_04)
04310     #define VN_04 FN_11
04311   #elif !defined(VN_05)
04312     #define VN_05 FN_11
04313   #elif !defined(VN_06)
04314     #define VN_06 FN_11
04315   #elif !defined(VN_07)
04316     #define VN_07 FN_11
04317   #elif !defined(VN_08)
04318     #define VN_08 FN_11
04319   #elif !defined(VN_09)
04320     #define VN_09 FN_11
04321   #elif !defined(VN_10)
04322     #define VN_10 FN_11
04323   #else
04324     #define VN_11 FN_11
04325   #endif
04326 #endif
04327 
04328 #if defined(FN_12) && (FileSpace(FN_12) > 0)
04329   #if !defined(VN_00)
04330     #define VN_00 FN_12
04331   #elif !defined(VN_01)
04332     #define VN_01 FN_12
04333   #elif !defined(VN_02)
04334     #define VN_02 FN_12
04335   #elif !defined(VN_03)
04336     #define VN_03 FN_12
04337   #elif !defined(VN_04)
04338     #define VN_04 FN_12
04339   #elif !defined(VN_05)
04340     #define VN_05 FN_12
04341   #elif !defined(VN_06)
04342     #define VN_06 FN_12
04343   #elif !defined(VN_07)
04344     #define VN_07 FN_12
04345   #elif !defined(VN_08)
04346     #define VN_08 FN_12
04347   #elif !defined(VN_09)
04348     #define VN_09 FN_12
04349   #elif !defined(VN_10)
04350     #define VN_10 FN_12
04351   #elif !defined(VN_11)
04352     #define VN_11 FN_12
04353   #else
04354     #define VN_12 FN_12
04355   #endif
04356 #endif
04357 
04358 #if defined(FN_13) && (FileSpace(FN_13) > 0)
04359   #if !defined(VN_00)
04360     #define VN_00 FN_13
04361   #elif !defined(VN_01)
04362     #define VN_01 FN_13
04363   #elif !defined(VN_02)
04364     #define VN_02 FN_13
04365   #elif !defined(VN_03)
04366     #define VN_03 FN_13
04367   #elif !defined(VN_04)
04368     #define VN_04 FN_13
04369   #elif !defined(VN_05)
04370     #define VN_05 FN_13
04371   #elif !defined(VN_06)
04372     #define VN_06 FN_13
04373   #elif !defined(VN_07)
04374     #define VN_07 FN_13
04375   #elif !defined(VN_08)
04376     #define VN_08 FN_13
04377   #elif !defined(VN_09)
04378     #define VN_09 FN_13
04379   #elif !defined(VN_10)
04380     #define VN_10 FN_13
04381   #elif !defined(VN_11)
04382     #define VN_11 FN_13
04383   #elif !defined(VN_12)
04384     #define VN_12 FN_13
04385   #else
04386     #define VN_13 FN_13
04387   #endif
04388 #endif
04389 
04390 #if defined(FN_14) && (FileSpace(FN_14) > 0)
04391   #if !defined(VN_00)
04392     #define VN_00 FN_14
04393   #elif !defined(VN_01)
04394     #define VN_01 FN_14
04395   #elif !defined(VN_02)
04396     #define VN_02 FN_14
04397   #elif !defined(VN_03)
04398     #define VN_03 FN_14
04399   #elif !defined(VN_04)
04400     #define VN_04 FN_14
04401   #elif !defined(VN_05)
04402     #define VN_05 FN_14
04403   #elif !defined(VN_06)
04404     #define VN_06 FN_14
04405   #elif !defined(VN_07)
04406     #define VN_07 FN_14
04407   #elif !defined(VN_08)
04408     #define VN_08 FN_14
04409   #elif !defined(VN_09)
04410     #define VN_09 FN_14
04411   #elif !defined(VN_10)
04412     #define VN_10 FN_14
04413   #elif !defined(VN_11)
04414     #define VN_11 FN_14
04415   #elif !defined(VN_12)
04416     #define VN_12 FN_14
04417   #elif !defined(VN_13)
04418     #define VN_13 FN_14
04419   #else
04420     #define VN_14 FN_14
04421   #endif
04422 #endif
04423 
04424 #if defined(FN_15) && (FileSpace(FN_15) > 0)
04425   #if !defined(VN_00)
04426     #define VN_00 FN_15
04427   #elif !defined(VN_01)
04428     #define VN_01 FN_15
04429   #elif !defined(VN_02)
04430     #define VN_02 FN_15
04431   #elif !defined(VN_03)
04432     #define VN_03 FN_15
04433   #elif !defined(VN_04)
04434     #define VN_04 FN_15
04435   #elif !defined(VN_05)
04436     #define VN_05 FN_15
04437   #elif !defined(VN_06)
04438     #define VN_06 FN_15
04439   #elif !defined(VN_07)
04440     #define VN_07 FN_15
04441   #elif !defined(VN_08)
04442     #define VN_08 FN_15
04443   #elif !defined(VN_09)
04444     #define VN_09 FN_15
04445   #elif !defined(VN_10)
04446     #define VN_10 FN_15
04447   #elif !defined(VN_11)
04448     #define VN_11 FN_15
04449   #elif !defined(VN_12)
04450     #define VN_12 FN_15
04451   #elif !defined(VN_13)
04452     #define VN_13 FN_15
04453   #elif !defined(VN_14)
04454     #define VN_14 FN_15
04455   #else
04456     #define VN_15 FN_15
04457   #endif
04458 #endif
04459 
04460 
04461 #if !defined(VN_00)
04462   #define defFsNumberOfPreFiles 0
04463 #elif !defined(VN_01)
04464   #define defFsNumberOfPreFiles 1
04465 #elif !defined(VN_02)
04466   #define defFsNumberOfPreFiles 2
04467 #elif !defined(VN_03)
04468   #define defFsNumberOfPreFiles 3
04469 #elif !defined(VN_04)
04470   #define defFsNumberOfPreFiles 4
04471 #elif !defined(VN_05)
04472   #define defFsNumberOfPreFiles 5
04473 #elif !defined(VN_06)
04474   #define defFsNumberOfPreFiles 6
04475 #elif !defined(VN_07)
04476   #define defFsNumberOfPreFiles 7
04477 #elif !defined(VN_08)
04478   #define defFsNumberOfPreFiles 8
04479 #elif !defined(VN_09)
04480   #define defFsNumberOfPreFiles 9
04481 #elif !defined(VN_10)
04482   #define defFsNumberOfPreFiles 10
04483 #elif !defined(VN_11)
04484   #define defFsNumberOfPreFiles 11
04485 #elif !defined(VN_12)
04486   #define defFsNumberOfPreFiles 12
04487 #elif !defined(VN_13)
04488   #define defFsNumberOfPreFiles 13
04489 #elif !defined(VN_14)
04490   #define defFsNumberOfPreFiles 14
04491 #elif !defined(VN_15)
04492   #define defFsNumberOfPreFiles 15
04493 #else
04494   #define defFsNumberOfPreFiles 16
04495 #endif
04496 
04497 #if defFsNumberOfPreFiles == 0
04498   #define defTotalPreFileSpace  ( 0 )
04499   #define defFilePreSpaceFixed  ( 0x00 )
04500   #define defFilePreSpaceTest   ( 1 == 1 )
04501 #elif defFsNumberOfPreFiles == 1
04502   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) )
04503   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04504   #define defFilePreSpaceTest   ( 1 == 1 )
04505 #elif defFsNumberOfPreFiles == 2
04506   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) )
04507   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04508   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) )
04509 #elif defFsNumberOfPreFiles == 3
04510   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) )
04511   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04512   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) )
04513 #elif defFsNumberOfPreFiles == 4
04514   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) )
04515   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04516   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) )
04517 #elif defFsNumberOfPreFiles == 5
04518   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) )
04519   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04520   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) )
04521 #elif defFsNumberOfPreFiles == 6
04522   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) )
04523   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04524   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) )
04525 #elif defFsNumberOfPreFiles == 7
04526   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) )
04527   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04528   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) )
04529 #elif defFsNumberOfPreFiles == 8
04530   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) )
04531   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04532   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) )
04533 #elif defFsNumberOfPreFiles == 9
04534   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) )
04535   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04536   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) )
04537 #elif defFsNumberOfPreFiles == 10
04538   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) + FileSpace(VN_09) )
04539   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04540   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_09)) ) )
04541 #elif defFsNumberOfPreFiles == 11
04542   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) + FileSpace(VN_09) + FileSpace(VN_10) )
04543   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04544   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_09)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_10)) ) )
04545 #elif defFsNumberOfPreFiles == 12
04546   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) + FileSpace(VN_09) + FileSpace(VN_10) + FileSpace(VN_11) )
04547   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04548   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_09)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_10)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_11)) ) )
04549 #elif defFsNumberOfPreFiles == 13
04550   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) + FileSpace(VN_09) + FileSpace(VN_10) + FileSpace(VN_11) + FileSpace(VN_12) )
04551   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04552   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_09)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_10)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_11)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_12)) ) )
04553 #elif defFsNumberOfPreFiles == 14
04554   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) + FileSpace(VN_09) + FileSpace(VN_10) + FileSpace(VN_11) + FileSpace(VN_12) + FileSpace(VN_13) )
04555   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04556   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_09)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_10)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_11)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_12)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_13)) ) )
04557 #elif defFsNumberOfPreFiles == 15
04558   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) + FileSpace(VN_09) + FileSpace(VN_10) + FileSpace(VN_11) + FileSpace(VN_12) + FileSpace(VN_13) + FileSpace(VN_14) )
04559   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04560   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_09)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_10)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_11)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_12)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_13)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_14)) ) )
04561 #elif defFsNumberOfPreFiles == 16
04562   #define defTotalPreFileSpace  ( (Tuint16) FileSpace(VN_00) + FileSpace(VN_01) + FileSpace(VN_02) + FileSpace(VN_03) + FileSpace(VN_04) + FileSpace(VN_05) + FileSpace(VN_06) + FileSpace(VN_07) + FileSpace(VN_08) + FileSpace(VN_09) + FileSpace(VN_10) + FileSpace(VN_11) + FileSpace(VN_12) + FileSpace(VN_13) + FileSpace(VN_14) + FileSpace(VN_15) )
04563   #define defFilePreSpaceFixed  ( FileSpace(VN_00) )
04564   #define defFilePreSpaceTest   ( ( (defFilePreSpaceFixed) == (FileSpace(VN_01)) ) &&  ( (defFilePreSpaceFixed) == (FileSpace(VN_02)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_03)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_04)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_05)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_06)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_07)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_08)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_09)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_10)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_11)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_12)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_13)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_14)) ) && ( (defFilePreSpaceFixed) == (FileSpace(VN_15)) ) )
04565 #endif
04566 
04567 
04568 #if (FileSpaceStandard > 0)
04569   #if (cfgUseFileSystemMaintainFAT == cfgTrue)
04570     #define defFsNumberOfAllFiles   ( ((Tuint16) cfgSysFsStorageSpace - defTotalPreFileSpace + ((Tuint16) defFsNumberOfPreFiles * FileSpaceStandard)) / ((Tuint16) 1+FileSpaceStandard) )
04571     #define defTotalFatFileSpace    ( defFsNumberOfAllFiles )
04572   #else
04573     #define defFsNumberOfAllFiles   ( ((Tuint16) cfgSysFsStorageSpace - defTotalPreFileSpace + ((Tuint16) defFsNumberOfPreFiles * FileSpaceStandard)) / ((Tuint16) FileSpaceStandard) )
04574     #define defTotalFatFileSpace    0
04575   #endif
04576   #define defFsNumberOfDefFiles     ( (defFsNumberOfAllFiles) - (defFsNumberOfPreFiles) )
04577   #define defTotalDefFileSpace      ( (defFsNumberOfDefFiles) * (FileSpaceStandard) )
04578   #define defTotalAllFileSpace      ( (defTotalFatFileSpace) + (defTotalPreFileSpace) + (defTotalDefFileSpace) )
04579 #else
04580   #define defFsNumberOfAllFiles     ( defFsNumberOfPreFiles )
04581   #define defFsNumberOfDefFiles     0
04582   #define defTotalFatFileSpace      0
04583   #define defTotalDefFileSpace      0
04584   #define defTotalAllFileSpace      ( defTotalPreFileSpace )
04585 #endif
04586 
04587 #define defFileSpaceFreeTotal     ( cfgSysFsStorageSpace - defTotalAllFileSpace)
04588 #define defFileSpaceFreeStart     ( defTotalAllFileSpace )
04589 
04590 #if defFilePreSpaceTest
04591    #define defFilePreSpaceConstant cfgTrue
04592 #else
04593    #define defFilePreSpaceConstant cfgFalse
04594 #endif
04595 
04596 #else
04597 
04598 #define defFsNumberOfPreFiles       0
04599 #define defFsNumberOfDefFiles       0
04600 #define defFsNumberOfAllFiles       0
04601 #define defFileSpaceFreeTotal       ( cfgSysFsStorageSpace )
04602 #define defFileSpaceFreeStart       0
04603 
04604 #endif
04605 
04606 
04607 #if (cfgUseTaskWatchdog == cfgTrue)
04608 
04609   #if defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapWatchdog) == cfgCapWatchdog)
04610     #define defTaskNumberWatchdogBegin  0
04611     #define BN_00 TN_00
04612     #define BN_01 TN_01
04613     #define BN_02 TN_02
04614     #define BN_03 TN_03
04615     #define BN_04 TN_04
04616     #define BN_05 TN_05
04617     #define BN_06 TN_06
04618     #define BN_07 TN_07
04619     #define BN_08 TN_08
04620     #define BN_09 TN_09
04621     #define BN_10 TN_10
04622     #define BN_11 TN_11
04623     #define BN_12 TN_12
04624     #define BN_13 TN_13
04625     #define BN_14 TN_14
04626     #define BN_15 TN_15
04627   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapWatchdog) == cfgCapWatchdog)
04628     #define defTaskNumberWatchdogBegin  1
04629     #define BN_00 TN_01
04630     #define BN_01 TN_02
04631     #define BN_02 TN_03
04632     #define BN_03 TN_04
04633     #define BN_04 TN_05
04634     #define BN_05 TN_06
04635     #define BN_06 TN_07
04636     #define BN_07 TN_08
04637     #define BN_08 TN_09
04638     #define BN_09 TN_10
04639     #define BN_10 TN_11
04640     #define BN_11 TN_12
04641     #define BN_12 TN_13
04642     #define BN_13 TN_14
04643     #define BN_14 TN_15
04644   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapWatchdog) == cfgCapWatchdog)
04645     #define defTaskNumberWatchdogBegin  2
04646     #define BN_00 TN_02
04647     #define BN_01 TN_03
04648     #define BN_02 TN_04
04649     #define BN_03 TN_05
04650     #define BN_04 TN_06
04651     #define BN_05 TN_07
04652     #define BN_06 TN_08
04653     #define BN_07 TN_09
04654     #define BN_08 TN_10
04655     #define BN_09 TN_11
04656     #define BN_10 TN_12
04657     #define BN_11 TN_13
04658     #define BN_12 TN_14
04659     #define BN_13 TN_15
04660   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapWatchdog) == cfgCapWatchdog)
04661     #define defTaskNumberWatchdogBegin  3
04662     #define BN_00 TN_03
04663     #define BN_01 TN_04
04664     #define BN_02 TN_05
04665     #define BN_03 TN_06
04666     #define BN_04 TN_07
04667     #define BN_05 TN_08
04668     #define BN_06 TN_09
04669     #define BN_07 TN_10
04670     #define BN_08 TN_11
04671     #define BN_09 TN_12
04672     #define BN_10 TN_13
04673     #define BN_11 TN_14
04674     #define BN_12 TN_15
04675   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapWatchdog) == cfgCapWatchdog)
04676     #define defTaskNumberWatchdogBegin  4
04677     #define BN_00 TN_04
04678     #define BN_01 TN_05
04679     #define BN_02 TN_06
04680     #define BN_03 TN_07
04681     #define BN_04 TN_08
04682     #define BN_05 TN_09
04683     #define BN_06 TN_10
04684     #define BN_07 TN_11
04685     #define BN_08 TN_12
04686     #define BN_09 TN_13
04687     #define BN_10 TN_14
04688     #define BN_11 TN_15
04689   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapWatchdog) == cfgCapWatchdog)
04690     #define defTaskNumberWatchdogBegin  5
04691     #define BN_00 TN_05
04692     #define BN_01 TN_06
04693     #define BN_02 TN_07
04694     #define BN_03 TN_08
04695     #define BN_04 TN_09
04696     #define BN_05 TN_10
04697     #define BN_06 TN_11
04698     #define BN_07 TN_12
04699     #define BN_08 TN_13
04700     #define BN_09 TN_14
04701     #define BN_10 TN_15
04702   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapWatchdog) == cfgCapWatchdog)
04703     #define defTaskNumberWatchdogBegin  6
04704     #define BN_00 TN_06
04705     #define BN_01 TN_07
04706     #define BN_02 TN_08
04707     #define BN_03 TN_09
04708     #define BN_04 TN_10
04709     #define BN_05 TN_11
04710     #define BN_06 TN_12
04711     #define BN_07 TN_13
04712     #define BN_08 TN_14
04713     #define BN_09 TN_15
04714   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapWatchdog) == cfgCapWatchdog)
04715     #define defTaskNumberWatchdogBegin  7
04716     #define BN_00 TN_07
04717     #define BN_01 TN_08
04718     #define BN_02 TN_09
04719     #define BN_03 TN_10
04720     #define BN_04 TN_11
04721     #define BN_05 TN_12
04722     #define BN_06 TN_13
04723     #define BN_07 TN_14
04724     #define BN_08 TN_15
04725   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapWatchdog) == cfgCapWatchdog)
04726     #define defTaskNumberWatchdogBegin  8
04727     #define BN_00 TN_08
04728     #define BN_01 TN_09
04729     #define BN_02 TN_10
04730     #define BN_03 TN_11
04731     #define BN_04 TN_12
04732     #define BN_05 TN_13
04733     #define BN_06 TN_14
04734     #define BN_07 TN_15
04735   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapWatchdog) == cfgCapWatchdog)
04736     #define defTaskNumberWatchdogBegin  9
04737     #define BN_00 TN_09
04738     #define BN_01 TN_10
04739     #define BN_02 TN_11
04740     #define BN_03 TN_12
04741     #define BN_04 TN_13
04742     #define BN_05 TN_14
04743     #define BN_06 TN_15
04744   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapWatchdog) == cfgCapWatchdog)
04745     #define defTaskNumberWatchdogBegin 10
04746     #define BN_00 TN_10
04747     #define BN_01 TN_11
04748     #define BN_02 TN_12
04749     #define BN_03 TN_13
04750     #define BN_04 TN_14
04751     #define BN_05 TN_15
04752   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapWatchdog) == cfgCapWatchdog)
04753     #define defTaskNumberWatchdogBegin 11
04754     #define BN_00 TN_11
04755     #define BN_01 TN_12
04756     #define BN_02 TN_13
04757     #define BN_03 TN_14
04758     #define BN_04 TN_15
04759   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapWatchdog) == cfgCapWatchdog)
04760     #define defTaskNumberWatchdogBegin 12
04761     #define BN_00 TN_12
04762     #define BN_01 TN_13
04763     #define BN_02 TN_14
04764     #define BN_03 TN_15
04765   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapWatchdog) == cfgCapWatchdog)
04766     #define defTaskNumberWatchdogBegin 13
04767     #define BN_00 TN_13
04768     #define BN_01 TN_14
04769     #define BN_02 TN_15
04770   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapWatchdog) == cfgCapWatchdog)
04771     #define defTaskNumberWatchdogBegin 14
04772     #define BN_00 TN_14
04773     #define BN_01 TN_15
04774   #elif defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapWatchdog) == cfgCapWatchdog)
04775     #define defTaskNumberWatchdogBegin 15
04776     #define BN_00 TN_15
04777   #else
04778     #define defTaskNumberWatchdogBegin 16
04779   #endif
04780 
04781   #if defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapWatchdog) == cfgCapWatchdog)
04782     #define defTaskNumberWatchdogEnd  16
04783   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapWatchdog) == cfgCapWatchdog)
04784     #define defTaskNumberWatchdogEnd  15
04785   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapWatchdog) == cfgCapWatchdog)
04786     #define defTaskNumberWatchdogEnd  14
04787   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapWatchdog) == cfgCapWatchdog)
04788     #define defTaskNumberWatchdogEnd  13
04789   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapWatchdog) == cfgCapWatchdog)
04790     #define defTaskNumberWatchdogEnd  12
04791   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapWatchdog) == cfgCapWatchdog)
04792     #define defTaskNumberWatchdogEnd  11
04793   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapWatchdog) == cfgCapWatchdog)
04794     #define defTaskNumberWatchdogEnd  10
04795   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapWatchdog) == cfgCapWatchdog)
04796     #define defTaskNumberWatchdogEnd   9
04797   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapWatchdog) == cfgCapWatchdog)
04798     #define defTaskNumberWatchdogEnd   8
04799   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapWatchdog) == cfgCapWatchdog)
04800     #define defTaskNumberWatchdogEnd   7
04801   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapWatchdog) == cfgCapWatchdog)
04802     #define defTaskNumberWatchdogEnd   6
04803   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapWatchdog) == cfgCapWatchdog)
04804     #define defTaskNumberWatchdogEnd   5
04805   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapWatchdog) == cfgCapWatchdog)
04806     #define defTaskNumberWatchdogEnd   4
04807   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapWatchdog) == cfgCapWatchdog)
04808     #define defTaskNumberWatchdogEnd   3
04809   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapWatchdog) == cfgCapWatchdog)
04810     #define defTaskNumberWatchdogEnd   2
04811   #elif defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapWatchdog) == cfgCapWatchdog)
04812     #define defTaskNumberWatchdogEnd   1
04813   #else
04814     #define defTaskNumberWatchdogEnd   0
04815   #endif
04816 
04817   #if (defTaskNumberWatchdogEnd - defTaskNumberWatchdogBegin) > 0
04818    #define defNumberOfWatchdogTasks (defTaskNumberWatchdogEnd - defTaskNumberWatchdogBegin)
04819   #else
04820    #define defNumberOfWatchdogTasks 0
04821   #endif
04822 
04823 #else
04824 
04825   #define defNumberOfWatchdogTasks 0
04826 
04827 #endif
04828 
04829 
04830 #if (cfgUseDelay == cfgTrue)
04831 
04832   #if defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapDelay) == cfgCapDelay)
04833     #define defTaskNumberDelayBegin  0
04834   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapDelay) == cfgCapDelay)
04835     #define defTaskNumberDelayBegin  1
04836   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapDelay) == cfgCapDelay)
04837     #define defTaskNumberDelayBegin  2
04838   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapDelay) == cfgCapDelay)
04839     #define defTaskNumberDelayBegin  3
04840   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapDelay) == cfgCapDelay)
04841     #define defTaskNumberDelayBegin  4
04842   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapDelay) == cfgCapDelay)
04843     #define defTaskNumberDelayBegin  5
04844   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapDelay) == cfgCapDelay)
04845     #define defTaskNumberDelayBegin  6
04846   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapDelay) == cfgCapDelay)
04847     #define defTaskNumberDelayBegin  7
04848   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapDelay) == cfgCapDelay)
04849     #define defTaskNumberDelayBegin  8
04850   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapDelay) == cfgCapDelay)
04851     #define defTaskNumberDelayBegin  9
04852   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapDelay) == cfgCapDelay)
04853     #define defTaskNumberDelayBegin 10
04854   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapDelay) == cfgCapDelay)
04855     #define defTaskNumberDelayBegin 11
04856   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapDelay) == cfgCapDelay)
04857     #define defTaskNumberDelayBegin 12
04858   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapDelay) == cfgCapDelay)
04859     #define defTaskNumberDelayBegin 13
04860   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapDelay) == cfgCapDelay)
04861     #define defTaskNumberDelayBegin 14
04862   #elif defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapDelay) == cfgCapDelay)
04863     #define defTaskNumberDelayBegin 15
04864   #else
04865     #define defTaskNumberDelayBegin 16
04866   #endif
04867 
04868   #if defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapDelay) == cfgCapDelay)
04869     #define defTaskNumberDelayEnd  16
04870   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapDelay) == cfgCapDelay)
04871     #define defTaskNumberDelayEnd  15
04872   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapDelay) == cfgCapDelay)
04873     #define defTaskNumberDelayEnd  14
04874   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapDelay) == cfgCapDelay)
04875     #define defTaskNumberDelayEnd  13
04876   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapDelay) == cfgCapDelay)
04877     #define defTaskNumberDelayEnd  12
04878   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapDelay) == cfgCapDelay)
04879     #define defTaskNumberDelayEnd  11
04880   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapDelay) == cfgCapDelay)
04881     #define defTaskNumberDelayEnd  10
04882   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapDelay) == cfgCapDelay)
04883     #define defTaskNumberDelayEnd   9
04884   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapDelay) == cfgCapDelay)
04885     #define defTaskNumberDelayEnd   8
04886   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapDelay) == cfgCapDelay)
04887     #define defTaskNumberDelayEnd   7
04888   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapDelay) == cfgCapDelay)
04889     #define defTaskNumberDelayEnd   6
04890   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapDelay) == cfgCapDelay)
04891     #define defTaskNumberDelayEnd   5
04892   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapDelay) == cfgCapDelay)
04893     #define defTaskNumberDelayEnd   4
04894   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapDelay) == cfgCapDelay)
04895     #define defTaskNumberDelayEnd   3
04896   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapDelay) == cfgCapDelay)
04897     #define defTaskNumberDelayEnd   2
04898   #elif defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapDelay) == cfgCapDelay)
04899     #define defTaskNumberDelayEnd   1
04900   #else
04901     #define defTaskNumberDelayEnd   0
04902   #endif
04903 
04904   #if (defTaskNumberDelayEnd - defTaskNumberDelayBegin) > 0
04905    #define defNumberOfDelayTasks (defTaskNumberDelayEnd - defTaskNumberDelayBegin)
04906   #else
04907    #define defNumberOfDelayTasks 0
04908   #endif
04909 
04910 #else
04911 
04912   #define defNumberOfDelayTasks 0
04913 
04914 #endif
04915 
04916 
04917 #if (cfgUseSynchronization == cfgTrue)
04918 
04919    #define defTaskNumberSynchronizationBegin  0
04920    #define defTaskNumberSynchronizationEnd    defNumberOfTasksWithSlot
04921    #define defNumberOfSynchronizationTasks    defNumberOfTasksWithSlot
04922 
04923 #endif
04924 
04925 
04926 #if (cfgUseFileSystem == cfgTrue)
04927 
04928   #if defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapFileSystem) == cfgCapFileSystem)
04929     #define defTaskNumberFileSystemBegin  0
04930   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapFileSystem) == cfgCapFileSystem)
04931     #define defTaskNumberFileSystemBegin  1
04932   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapFileSystem) == cfgCapFileSystem)
04933     #define defTaskNumberFileSystemBegin  2
04934   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapFileSystem) == cfgCapFileSystem)
04935     #define defTaskNumberFileSystemBegin  3
04936   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapFileSystem) == cfgCapFileSystem)
04937     #define defTaskNumberFileSystemBegin  4
04938   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapFileSystem) == cfgCapFileSystem)
04939     #define defTaskNumberFileSystemBegin  5
04940   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapFileSystem) == cfgCapFileSystem)
04941     #define defTaskNumberFileSystemBegin  6
04942   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapFileSystem) == cfgCapFileSystem)
04943     #define defTaskNumberFileSystemBegin  7
04944   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapFileSystem) == cfgCapFileSystem)
04945     #define defTaskNumberFileSystemBegin  8
04946   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapFileSystem) == cfgCapFileSystem)
04947     #define defTaskNumberFileSystemBegin  9
04948   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapFileSystem) == cfgCapFileSystem)
04949     #define defTaskNumberFileSystemBegin 10
04950   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapFileSystem) == cfgCapFileSystem)
04951     #define defTaskNumberFileSystemBegin 11
04952   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapFileSystem) == cfgCapFileSystem)
04953     #define defTaskNumberFileSystemBegin 12
04954   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapFileSystem) == cfgCapFileSystem)
04955     #define defTaskNumberFileSystemBegin 13
04956   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapFileSystem) == cfgCapFileSystem)
04957     #define defTaskNumberFileSystemBegin 14
04958   #elif defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapFileSystem) == cfgCapFileSystem)
04959     #define defTaskNumberFileSystemBegin 15
04960   #else
04961     #define defTaskNumberFileSystemBegin 16
04962   #endif
04963 
04964   #if defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapFileSystem) == cfgCapFileSystem)
04965     #define defTaskNumberFileSystemEnd  16
04966   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapFileSystem) == cfgCapFileSystem)
04967     #define defTaskNumberFileSystemEnd  15
04968   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapFileSystem) == cfgCapFileSystem)
04969     #define defTaskNumberFileSystemEnd  14
04970   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapFileSystem) == cfgCapFileSystem)
04971     #define defTaskNumberFileSystemEnd  13
04972   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapFileSystem) == cfgCapFileSystem)
04973     #define defTaskNumberFileSystemEnd  12
04974   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapFileSystem) == cfgCapFileSystem)
04975     #define defTaskNumberFileSystemEnd  11
04976   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapFileSystem) == cfgCapFileSystem)
04977     #define defTaskNumberFileSystemEnd  10
04978   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapFileSystem) == cfgCapFileSystem)
04979     #define defTaskNumberFileSystemEnd   9
04980   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapFileSystem) == cfgCapFileSystem)
04981     #define defTaskNumberFileSystemEnd   8
04982   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapFileSystem) == cfgCapFileSystem)
04983     #define defTaskNumberFileSystemEnd   7
04984   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapFileSystem) == cfgCapFileSystem)
04985     #define defTaskNumberFileSystemEnd   6
04986   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapFileSystem) == cfgCapFileSystem)
04987     #define defTaskNumberFileSystemEnd   5
04988   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapFileSystem) == cfgCapFileSystem)
04989     #define defTaskNumberFileSystemEnd   4
04990   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapFileSystem) == cfgCapFileSystem)
04991     #define defTaskNumberFileSystemEnd   3
04992   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapFileSystem) == cfgCapFileSystem)
04993     #define defTaskNumberFileSystemEnd   2
04994   #elif defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapFileSystem) == cfgCapFileSystem)
04995     #define defTaskNumberFileSystemEnd   1
04996   #else
04997     #define defTaskNumberFileSystemEnd   0
04998   #endif
04999 
05000   #if (defTaskNumberFileSystemEnd - defTaskNumberFileSystemBegin) > 0
05001    #define defNumberOfFileSystemTasks (defTaskNumberFileSystemEnd - defTaskNumberFileSystemBegin)
05002   #else
05003    #define defNumberOfFileSystemTasks 0
05004   #endif
05005 
05006   #if (defTaskNumberFileSystemEnd - defTaskNumberFileSystemBegin) == 1
05007     #define defUseFsOnMultipleTasks                cfgFalse
05008     #define defUseFsSingleTaskNumber               defTaskNumberFileSystemBegin
05009   #else
05010     #define defUseFsOnMultipleTasks                cfgTrue
05011   #endif
05012 
05013 #else
05014 
05015   #define defNumberOfFileSystemTasks 0
05016 
05017 #endif
05018 
05019 
05020 #if (cfgUseEvents == cfgTrue)
05021 
05022   #if defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapEvent) == cfgCapEvent)
05023     #define defTaskNumberEventBegin  0
05024   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapEvent) == cfgCapEvent)
05025     #define defTaskNumberEventBegin  1
05026   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapEvent) == cfgCapEvent)
05027     #define defTaskNumberEventBegin  2
05028   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapEvent) == cfgCapEvent)
05029     #define defTaskNumberEventBegin  3
05030   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapEvent) == cfgCapEvent)
05031     #define defTaskNumberEventBegin  4
05032   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapEvent) == cfgCapEvent)
05033     #define defTaskNumberEventBegin  5
05034   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapEvent) == cfgCapEvent)
05035     #define defTaskNumberEventBegin  6
05036   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapEvent) == cfgCapEvent)
05037     #define defTaskNumberEventBegin  7
05038   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapEvent) == cfgCapEvent)
05039     #define defTaskNumberEventBegin  8
05040   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapEvent) == cfgCapEvent)
05041     #define defTaskNumberEventBegin  9
05042   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapEvent) == cfgCapEvent)
05043     #define defTaskNumberEventBegin 10
05044   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapEvent) == cfgCapEvent)
05045     #define defTaskNumberEventBegin 11
05046   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapEvent) == cfgCapEvent)
05047     #define defTaskNumberEventBegin 12
05048   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapEvent) == cfgCapEvent)
05049     #define defTaskNumberEventBegin 13
05050   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapEvent) == cfgCapEvent)
05051     #define defTaskNumberEventBegin 14
05052   #elif defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapEvent) == cfgCapEvent)
05053     #define defTaskNumberEventBegin 15
05054   #else
05055     #define defTaskNumberEventBegin 16
05056   #endif
05057 
05058   #if defined(TN_15) && (TaskInclude(TN_15) != cfgExclude) && (((Capabilities(TN_15)) & cfgCapEvent) == cfgCapEvent)
05059     #define defTaskNumberEventEnd  16
05060   #elif defined(TN_14) && (TaskInclude(TN_14) != cfgExclude) && (((Capabilities(TN_14)) & cfgCapEvent) == cfgCapEvent)
05061     #define defTaskNumberEventEnd  15
05062   #elif defined(TN_13) && (TaskInclude(TN_13) != cfgExclude) && (((Capabilities(TN_13)) & cfgCapEvent) == cfgCapEvent)
05063     #define defTaskNumberEventEnd  14
05064   #elif defined(TN_12) && (TaskInclude(TN_12) != cfgExclude) && (((Capabilities(TN_12)) & cfgCapEvent) == cfgCapEvent)
05065     #define defTaskNumberEventEnd  13
05066   #elif defined(TN_11) && (TaskInclude(TN_11) != cfgExclude) && (((Capabilities(TN_11)) & cfgCapEvent) == cfgCapEvent)
05067     #define defTaskNumberEventEnd  12
05068   #elif defined(TN_10) && (TaskInclude(TN_10) != cfgExclude) && (((Capabilities(TN_10)) & cfgCapEvent) == cfgCapEvent)
05069     #define defTaskNumberEventEnd  11
05070   #elif defined(TN_09) && (TaskInclude(TN_09) != cfgExclude) && (((Capabilities(TN_09)) & cfgCapEvent) == cfgCapEvent)
05071     #define defTaskNumberEventEnd  10
05072   #elif defined(TN_08) && (TaskInclude(TN_08) != cfgExclude) && (((Capabilities(TN_08)) & cfgCapEvent) == cfgCapEvent)
05073     #define defTaskNumberEventEnd   9
05074   #elif defined(TN_07) && (TaskInclude(TN_07) != cfgExclude) && (((Capabilities(TN_07)) & cfgCapEvent) == cfgCapEvent)
05075     #define defTaskNumberEventEnd   8
05076   #elif defined(TN_06) && (TaskInclude(TN_06) != cfgExclude) && (((Capabilities(TN_06)) & cfgCapEvent) == cfgCapEvent)
05077     #define defTaskNumberEventEnd   7
05078   #elif defined(TN_05) && (TaskInclude(TN_05) != cfgExclude) && (((Capabilities(TN_05)) & cfgCapEvent) == cfgCapEvent)
05079     #define defTaskNumberEventEnd   6
05080   #elif defined(TN_04) && (TaskInclude(TN_04) != cfgExclude) && (((Capabilities(TN_04)) & cfgCapEvent) == cfgCapEvent)
05081     #define defTaskNumberEventEnd   5
05082   #elif defined(TN_03) && (TaskInclude(TN_03) != cfgExclude) && (((Capabilities(TN_03)) & cfgCapEvent) == cfgCapEvent)
05083     #define defTaskNumberEventEnd   4
05084   #elif defined(TN_02) && (TaskInclude(TN_02) != cfgExclude) && (((Capabilities(TN_02)) & cfgCapEvent) == cfgCapEvent)
05085     #define defTaskNumberEventEnd   3
05086   #elif defined(TN_01) && (TaskInclude(TN_01) != cfgExclude) && (((Capabilities(TN_01)) & cfgCapEvent) == cfgCapEvent)
05087     #define defTaskNumberEventEnd   2
05088   #elif defined(TN_00) && (TaskInclude(TN_00) != cfgExclude) && (((Capabilities(TN_00)) & cfgCapEvent) == cfgCapEvent)
05089     #define defTaskNumberEventEnd   1
05090   #else
05091     #define defTaskNumberEventEnd   0
05092   #endif
05093 
05094   #if (defTaskNumberEventEnd - defTaskNumberEventBegin) > 0
05095    #define defNumberOfEventTasks (defTaskNumberEventEnd - defTaskNumberEventBegin)
05096   #else
05097    #define defNumberOfEventTasks 0
05098   #endif
05099 
05100   #define defNumberEventBegin 0
05101   #define defNumberEventEnd   8
05102 
05103 #else
05104 
05105   #define defNumberOfEventTasks 0
05106 
05107 #endif
05108 
05109 
05110 #endif /* FEMTOOS_ORDER_H */

Generated on Fri Oct 16 00:05:21 2009 for FemtoOS by  doxygen 1.5.2