Subversion Repositories HomeAutomation

Rev

Rev 1261 | Rev 1263 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1261 Rev 1262
Line 132... Line 132...
132
    </variables>
132
    </variables>
133
    </command>
133
    </command>
134
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
134
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
135
     <variables>
135
     <variables>
136
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
136
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
-
 
137
      </variables>
-
 
138
    </command>
-
 
139
    <command id="129" name="Testerdata" type="specific" module="Debug" description="All data from tester rig">
-
 
140
     <variables>
-
 
141
        <variable name="Voltage" type="float" start_bit="0" bit_length="16" unit="Volt" description=""/>
-
 
142
        <variable name="Current" type="float" start_bit="16" bit_length="16" unit="Ampere" description=""/>
-
 
143
        <variable name="ConnStatus" type="enum" start_bit="32" bit_length="8" unit="" description="">
-
 
144
          <value id="1" name="Connected"/>
-
 
145
          <value id="0" name="Disconnected"/>
-
 
146
        </variable>
-
 
147
        <variable name="TestStatus" type="enum" start_bit="40" bit_length="8" unit="" description="">
-
 
148
          <value id="255" name="Voltage failed"/>
-
 
149
          <value id="254" name="Current failed"/>
-
 
150
          <value id="3" name="Enabled"/>
-
 
151
          <value id="2" name="Qual2"/>
-
 
152
          <value id="1" name="Qual1"/>
-
 
153
          <value id="0" name="Idle"/>
-
 
154
        </variable>
137
      </variables>
155
     </variables>
138
    </command>
156
    </command>
139
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
157
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
140
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
158
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
141
      <variables>
159
      <variables>
Line 258... Line 276...
258
      <value id="0" name="Standard"/>
276
      <value id="0" name="Standard"/>
259
          <value id="1" name="Inverted"/>
277
          <value id="1" name="Inverted"/>
260
    </variable>
278
    </variable>
261
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
279
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
262
      <value id="0" name="NoFill"/>
280
      <value id="0" name="NoFill"/>
263
      <value id="1" name="Fill"/>
281
      <value id="1" name="Fill"/>
264
    </variable>  
282
    </variable>  
265
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
283
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
266
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
284
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
267
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
285
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
268
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
286
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
269
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
287
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
270
      </variables>
288
      </variables>
271
      </command>
289
      </command>
272
     
290
     
273
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
291
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
274
    <variables>
292
    <variables>
275
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
293
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
276
        <value id="0" name="Standard"/>
294
        <value id="0" name="Standard"/>
277
        <value id="1" name="Inverted"/>
295
        <value id="1" name="Inverted"/>
278
      </variable>
296
      </variable>
279
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
297
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
280
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
298
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
281
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
299
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
282
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
300
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
283
    </variables>
301
    </variables>
284
      </command>
302
      </command>
285
   
303
   
286
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
304
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
287
    <variables>
305
    <variables>
288
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
306
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
289
        <value id="0" name="Standard"/>
307
        <value id="0" name="Standard"/>
290
        <value id="1" name="Inverted"/>
308
        <value id="1" name="Inverted"/>
Line 299... Line 317...
299
      <variables>
317
      <variables>
300
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
318
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
301
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
319
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
302
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
320
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
303
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
321
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
304
      </variables>
322
      </variables>
305
    </command>
323
    </command>
306
   
324
   
307
    <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
325
    <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
308
      <variables>
326
      <variables>
309
    <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
327
    <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
310
        <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
328
        <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
Line 319... Line 337...
319
     
337
     
320
        <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
338
        <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
321
   
339
   
322
        <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
340
        <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
323
        <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
341
        <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
324
      <variables>
342
      <variables>
325
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
343
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
326
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
344
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
327
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
345
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
328
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
346
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
329
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
347
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
330
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
348
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
331
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
349
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
Line 342... Line 360...
342
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
360
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
343
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
361
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
344
      </variables>
362
      </variables>
345
    </command>
363
    </command>
346
    <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
364
    <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
347
      <variables>
365
      <variables>
348
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
366
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
349
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
367
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
350
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
368
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
351
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
369
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
352
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
370
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
353
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
371
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
354
      </variables>
372
      </variables>
355
    </command>
373
    </command>
356
    <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
374
    <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
357
      <variables>
375
      <variables>
358
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
376
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
359
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
377
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
360
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
378
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
361
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
379
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
362
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
380
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
363
      </variables>
381
      </variables>
364
    </command>
382
    </command>
365
    <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
383
    <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
366
      <variables>
384
      <variables>
367
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
385
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
368
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
386
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
369
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
387
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
370
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
388
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
371
      </variables>
389
      </variables>
372
    </command>
390
    </command>
373
    <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
391
    <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
374
      <variables>
392
      <variables>
375
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
393
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
376
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
394
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
377
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
395
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
378
      </variables>
396
      </variables>
379
    </command>
397
    </command>
380
    <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
398
    <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
381
      <variables>
399
      <variables>
382
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
400
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
383
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
401
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
384
      </variables>
402
      </variables>
385
    </command>
403
    </command>
386
    <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
404
    <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
387
      <variables>
405
      <variables>
388
    <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
406
    <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
389
      </variables>
407
      </variables>
390
    </command>
408
    </command>
391
   
409
   
392
        <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
410
        <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
393
      <variables>
411
      <variables>
394
      </variables>
412
      </variables>
Line 451... Line 469...
451
    </command>
469
    </command>
452
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
470
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
453
     <variables>
471
     <variables>
454
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
472
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
455
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
473
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
456
     </variables>
-
 
457
    </command>
-
 
458
    <command id="128" name="Testerdata" type="specific" module="TestPrgRig" description="All data from tester rig">
-
 
459
     <variables>
-
 
460
        <variable name="Voltage" type="float" start_bit="0" bit_length="16" unit="Volt" description=""/>
-
 
461
        <variable name="Current" type="float" start_bit="16" bit_length="16" unit="Ampere" description=""/>
-
 
462
        <variable name="ConnStatus" type="enum" start_bit="32" bit_length="8" unit="" description="">
-
 
463
          <value id="1" name="Connected"/>
-
 
464
          <value id="0" name="Disconnected"/>
-
 
465
        </variable>
-
 
466
        <variable name="TestStatus" type="enum" start_bit="40" bit_length="8" unit="" description="">
-
 
467
          <value id="255" name="Voltage failed"/>
-
 
468
          <value id="254" name="Current failed"/>
-
 
469
          <value id="3" name="Enabled"/>
-
 
470
          <value id="2" name="Qual2"/>
-
 
471
          <value id="1" name="Qual1"/>
-
 
472
          <value id="0" name="Idle"/>
-
 
473
        </variable>
-
 
474
     </variables>
474
     </variables>
475
    </command>
475
    </command>
476
  </commands>
476
  </commands>
477
  <modules>
477
  <modules>
478
    <module id="0" name="Debug" class="tst"/>
478
    <module id="0" name="Debug" class="tst"/>