-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOD_types.xml
More file actions
executable file
·8698 lines (8551 loc) · 346 KB
/
OD_types.xml
File metadata and controls
executable file
·8698 lines (8551 loc) · 346 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE OD_types [
<!ELEMENT OD_types (type+)>
<!ELEMENT type (documentation,group*,(enum|field|alternative|bfield|fusion)*,regroupFields*)>
<!ELEMENT documentation (brief?,description?,values*,examples?,remarks*,minimalValue?,maximalValue?,todo*,warning*,sees*,date?,author?)>
<!ELEMENT field (documentation,alternative*,bfield*,regroupFields*)>
<!ELEMENT bfield (documentation?)>
<!ELEMENT enum (documentation?)>
<!ELEMENT brief (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT remarks (#PCDATA)>
<!ELEMENT warning (#PCDATA)>
<!ELEMENT todo (#PCDATA)>
<!ELEMENT sees (#PCDATA)>
<!ELEMENT values (#PCDATA)>
<!ELEMENT example (#PCDATA)>
<!ELEMENT examples (example*)>
<!ELEMENT case (documentation?,bfield*)>
<!ELEMENT minimalValue (#PCDATA)>
<!ELEMENT maximalValue (#PCDATA)>
<!ELEMENT group (EMPTY|subgroup*)>
<!ELEMENT subgroup EMPTY>
<!ELEMENT alternative (case+)>
<!ELEMENT regroupFields (rbfield+)>
<!ELEMENT rbfield EMPTY>
<!ELEMENT fusion (documentation?)>
<!ATTLIST regroupFields name CDATA #REQUIRED>
<!ATTLIST rbfield number CDATA #REQUIRED>
<!ATTLIST type id ID #REQUIRED>
<!ATTLIST type showValue CDATA #IMPLIED>
<!ATTLIST type docValue CDATA #IMPLIED>
<!ATTLIST type name CDATA #REQUIRED>
<!ATTLIST type size CDATA #REQUIRED>
<!ATTLIST type padding CDATA #REQUIRED>
<!ATTLIST type cat (enum|struct|value|alias|bitfield|fusion) #REQUIRED>
<!ATTLIST type defined (true|false) #IMPLIED>
<!ATTLIST type display (hex8|hex16|hex32|digit|text|raw|dot|dotinv|ascii) "raw">
<!ATTLIST type origin IDREF #IMPLIED>
<!ATTLIST type deprecated (true|false) "false">
<!ATTLIST type foreign CDATA #IMPLIED>
<!ATTLIST type fkey CDATA #IMPLIED>
<!ATTLIST type fvalue CDATA #IMPLIED>
<!ATTLIST type fprefix CDATA #IMPLIED>
<!ATTLIST enum name ID #REQUIRED>
<!ATTLIST enum value CDATA #IMPLIED>
<!ATTLIST enum deprecated (true|false) "false">
<!ATTLIST field name CDATA #REQUIRED>
<!ATTLIST field type IDREF #REQUIRED>
<!ATTLIST field count CDATA "1">
<!ATTLIST field bitfield (true|false) #IMPLIED>
<!ATTLIST field deprecated (true|false) "false">
<!ATTLIST bfield name CDATA #REQUIRED>
<!ATTLIST bfield type IDREF #IMPLIED>
<!ATTLIST bfield size CDATA #REQUIRED>
<!ATTLIST bfield group CDATA #IMPLIED>
<!ATTLIST bfield subgroup CDATA #IMPLIED>
<!ATTLIST bfield deprecated (true|false) "false">
<!ATTLIST fusion origin IDREF #REQUIRED>
<!ATTLIST fusion offset CDATA #REQUIRED>
<!ATTLIST fusion name CDATA #REQUIRED>
<!ATTLIST group name CDATA #REQUIRED>
<!ATTLIST group id CDATA #REQUIRED>
<!ATTLIST subgroup name CDATA #REQUIRED>
<!ATTLIST subgroup id CDATA #REQUIRED>
<!ATTLIST case name CDATA #REQUIRED>
<!ATTLIST case field CDATA #REQUIRED>
<!ATTLIST case value CDATA #REQUIRED>
]>
<OD_types>
<type id="RESERVED" name="Reserved" size="1" padding="1" cat="value" defined="true" >
<documentation>
<brief>Reserved bits definition</brief>
</documentation>
</type>
<type id="type_0001" name="uint8" size="1" padding="1" cat="value" defined="true" >
<documentation>
<brief>basic uint8 value</brief>
</documentation>
</type>
<type id="type_0002" name="sint8" size="1" padding="1" cat="value" defined="true" >
<documentation>
<brief>basic sint8 value</brief>
</documentation>
</type>
<type id="type_0003" name="uint16" size="2" padding="2" cat="value" defined="true" >
<documentation>
<brief>basic uint16 value</brief>
</documentation>
</type>
<type id="type_0004" name="sint16" size="2" padding="2" cat="value" defined="true" >
<documentation>
<brief>basic sint16 value</brief>
</documentation>
</type>
<type id="type_0005" name="uint32" size="4" padding="4" cat="value" defined="true" >
<documentation>
<brief>basic uint32 value</brief>
</documentation>
</type>
<type id="type_0006" name="sint32" size="4" padding="4" cat="value" defined="true" >
<documentation>
<brief>basic sint32 value</brief>
</documentation>
</type>
<type id="type_0007" name="eSEF_BOOL" size="1" padding="1" cat="enum" defined="true" >
<documentation>
<brief>basic boolean type</brief>
</documentation>
<enum name="eSEF_FALSE" >
<documentation>
<brief>false boolean</brief>
</documentation>
</enum>
<enum name="eSEF_TRUE" >
<documentation>
<brief>true boolean</brief>
</documentation>
</enum>
</type>
<type id="type_0008" name="eSEF_STATUS" size="1" padding="1" cat="value" defined="true" >
<documentation>
<brief>basic status type</brief>
</documentation>
</type>
<type id="type_0009" name="ePAS_CARD" size="1" padding="1" cat="enum" foreign="OD.xml/board" fkey="bid" fvalue="name" fprefix="ePAS_CARD" >
<documentation>
<brief>INET boards list</brief>
</documentation>
</type>
<type id="type_1000" name="eRIDXGroup" size="1" padding="1" cat="enum" foreign="OD.xml/indirect_tables/table" fkey="tab_id" fvalue="name" fprefix="eIND_LIST" >
<documentation>
<brief>INET boards list</brief>
</documentation>
</type>
<type id="type_0110" name="tPASIndex" size="4" padding="4" origin="type_0005" cat="alias" defined="true" display="hex32">
<documentation>
<brief>Definition of a PAS Index</brief>
</documentation>
</type>
<type id="type_0111" name="tPASTypeIndex" size="2" padding="2" origin="type_0003" cat="alias" defined="true">
<documentation>
<brief>16 higher bits in a PAS Index</brief>
</documentation>
</type>
<type id="type_0112" name="tPASReducedIndex" size="2" padding="2" origin="type_0003" cat="alias" defined="true" display="hex16">
<documentation>
<brief>16 lower bits in a PAS Index</brief>
</documentation>
</type>
<type id="type_0113" name="tFilter_t" size="1" padding="1" cat="alias" origin="type_0001">
<documentation>
<brief>Number of event occurrence to wait before execute action or taking event into account</brief>
<remarks>Maximum wait possible : 255 events</remarks>
</documentation>
</type>
<type id="type_0125" name="eDDS_ThresholdValue_t" cat="alias" origin="type_0004" size="2" padding="2">
<documentation>
<brief>Define input threshold value</brief>
<author>AGO</author>
</documentation>
</type>
<type id="type_0121" name="tTimedFilterM_t" size="1" padding="1" cat="alias" origin="type_0001">
<documentation>
<brief>Time to wait (in minutes) before execute action or taking event into account</brief>
<remarks>Maximum wait possible : 255' = 4h15'</remarks>
</documentation>
</type>
<type id="type_0122" name="tLongFilter_t" size="2" padding="2" cat="alias" origin="type_0003">
<documentation>
<brief>Number of events to wait before execute action or taking event into account</brief>
<remarks>Maximum wait possible : 65535 events</remarks>
</documentation>
</type>
<type id="type_0114" name="tLongTimedFilter_t" size="2" padding="2" cat="alias" origin="type_0003">
<documentation>
<brief>Time to wait (in seconds) before execute action or taking event into account</brief>
<remarks>Maximum wait possible : 65 535s = 18h12'15"</remarks>
</documentation>
</type>
<type id="type_0063" name="tSha_t" size="20" padding="1" cat="alias" origin="type_0001" display="hex16">
<documentation>
<brief>Result of Sha-1 computation</brief>
</documentation>
</type>
<type id="type_0115" name="tCRC_t" size="2" padding="2" cat="alias" origin="type_0003" display="hex16">
<documentation>
<brief>CRC calculated with CRC-16-CCITT algorithm</brief>
</documentation>
</type>
<type id="type_0010" name="tSoftwareVersion_t" cat="struct" size="4" padding="1">
<documentation>
<brief>General software version</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<field name="u8Version" type="type_0001" count="1">
<documentation>
</documentation>
</field>
<field name="u8Revision" type="type_0001" count="1">
<documentation>
</documentation>
</field>
<field name="u8Index" type="type_0001" count="1">
<documentation>
</documentation>
</field>
<field name="u8Build" type="type_0001" count="1">
<documentation>
</documentation>
</field>
</type>
<type id="type_0264" name="tManufacturedVersion_t" cat="struct" size="5" padding="1">
<documentation>
<brief>Manufactured version</brief>
</documentation>
<field name="u8PCBVersion" type="type_0001" count="1">
<documentation>
<brief>PCB Version</brief>
</documentation>
</field>
<field name="u8ProductionFile" type="type_0001" count="1">
<documentation>
<brief>Letter which identifies the production file</brief>
<remarks>ASCII code</remarks>
</documentation>
</field>
<field name="u8Dash" type="type_0001" count="1">
<documentation>
<brief>Space allocated for the dash character</brief>
<remarks>This one is optional</remarks>
<remarks>ASCII code</remarks>
</documentation>
</field>
<field name="u8RetroActivity" type="type_0001" count="1">
<documentation>
<brief>Number which identifies a retroactive modification</brief>
<remarks>This one is optional</remarks>
</documentation>
</field>
<field name="u8Upgrade" type="type_0001" count="1">
<documentation>
<brief>Letter which identifies an upgrade on this PCB or a prototype</brief>
<remarks>This one is optional</remarks>
<remarks>ASCII code</remarks>
</documentation>
</field>
</type>
<type id="type_0011" name="tSerialNumber_t" cat="struct" size="9" padding="1">
<documentation>
<brief>type for board serial number</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<field name="xSerialNumber" type="type_0001" count="9">
<documentation>
</documentation>
</field>
</type>
<type id="type_0012" name="tSubslotPresences_t" cat="bitfield" size="1" padding="1">
<documentation>
<brief>fields use to determine if, in a slot, Subslots are Online/Offline</brief>
<date>2014-10-29T10:33:55</date>
<author>agosteau</author>
</documentation>
<bfield name="subslot 0 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 0 is online ? </brief>
</documentation>
</bfield>
<bfield name="subslot 1 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 1 is online ? </brief>
</documentation>
</bfield>
<bfield name="subslot 2 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 2 is online ? </brief>
</documentation>
</bfield>
<bfield name="subslot 3 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 3 is online ? </brief>
</documentation>
</bfield>
<bfield name="subslot 4 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 4 is online ? </brief>
</documentation>
</bfield>
<bfield name="subslot 5 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 5 is online ? </brief>
</documentation>
</bfield>
<bfield name="subslot 6 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 6 is online ? </brief>
</documentation>
</bfield>
<bfield name="subslot 7 is online" size="1" type="type_0007">
<documentation>
<brief>is the subslot 7 is online ? </brief>
</documentation>
</bfield>
</type>
<type id="type_0058" name="tSubslotFaults_t" cat="bitfield" size="1" padding="1">
<documentation>
<brief>fields use to determine if, in a slot, Subslots are OK or not</brief>
<date>2014-10-29T10:33:55</date>
<author>agosteau</author>
</documentation>
<bfield name="subslot 0 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 0 is online/offline as expected ? </brief>
</documentation>
</bfield>
<bfield name="subslot 1 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 1 is online/offline as expected ? </brief>
</documentation>
</bfield>
<bfield name="subslot 2 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 2 is online/offline as expected ? </brief>
</documentation>
</bfield>
<bfield name="subslot 3 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 3 is online/offline as expected ? </brief>
</documentation>
</bfield>
<bfield name="subslot 4 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 4 is online/offline as expected ? </brief>
</documentation>
</bfield>
<bfield name="subslot 5 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 5 is online/offline as expected ? </brief>
</documentation>
</bfield>
<bfield name="subslot 6 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 6 is online/offline as expected ? </brief>
</documentation>
</bfield>
<bfield name="subslot 7 is OK" size="1" type="type_0007">
<documentation>
<brief>is the subslot 7 is online/offline as expected ? </brief>
</documentation>
</bfield>
</type>
<type id="type_0013" name="tPASversion_t" cat="alias" size="4" padding="4" origin="type_0005" display="dotinv">
<documentation>
<brief>PAS version</brief>
<description> </description>
<author>agosteau</author>
</documentation>
</type>
<type id="type_0014" name="tTimestamp_t" cat="alias" size="4" padding="4" origin="type_0005" >
<documentation>
<brief>event timestamps : seconds since 2010-01-01T00:00:00Z</brief>
<description>
Number of seconds since 2010-01-01T00:00:00 coded in 32bits
@iexamples{
02 Feb 2013 13:37:00 ==> 0x7CDBCF05,
15 Jun 2025 18:21:39 ==> 0xA3677F06,
07 Feb 2146 06:28:15 ==> 0xFFFFFFFF
}
</description>
<remarks>Data is wrote in little endian mode</remarks>
<remarks>The last date possible is the 2146-02-07T06:28:15</remarks>
<date>2014-10-14T18:03:55</date>
</documentation>
</type>
<type id="type_0015" name="eLedState_t" cat="enum" size="1" padding="1">
<documentation>
<brief>Possible LED states</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eLED_OFF" >
<documentation>
<brief>LED status is OFF (no light !)</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
</enum>
<enum name="eLED_ON" >
<documentation>
<brief>LED status is ON (light is ON !)</brief>
</documentation>
</enum>
<enum name="eLED_BLINK_SLOW" >
<documentation>
<brief>LED is bliking slowy (0.5Hz)</brief>
</documentation>
</enum>
<enum name="eLED_BLINK_FAST" >
<documentation>
<brief>LED is bliking fastly (1.0Hz)</brief>
</documentation>
</enum>
</type>
<type id="type_0016" name="eBoardOperationnalState_t" cat="enum" size="1" padding="1">
<documentation>
<brief>Main board state</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eBOARD_OPERATIONNAL" >
<documentation>
<brief>Board is operational</brief>
</documentation>
</enum>
<enum name="eBOARD_DOWNLOAD" >
<documentation>
<brief>Board is downloading its DDS</brief>
</documentation>
</enum>
</type>
<type id="type_0017" name="tBoardState_t" cat="bitfield" size="2" padding="2">
<documentation>
<brief>General board status, available on each modules</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<bfield name="Operational State" size="2" type="type_0016">
<documentation>
<brief>Is the board downloading or not ? </brief>
</documentation>
</bfield>
<bfield name="Red led status" size="2" type="type_0015">
<documentation>
<brief>Current red led status</brief>
<description>
Normal red led status is ::@@type_0015::E1::name@@<br>
if red led status is ::@@type_0015::E2::name@@, then a system fault has been detected
</description>
</documentation>
</bfield>
<bfield name="Orange led status" size="2" type="type_0015">
<documentation>
<brief>Current orange led status</brief>
<description>
Normal orange led status is ::@@type_0015::E1::name@@<br>
if orange led status is ::@@type_0015::E2::name@@, then a fault has been detected
</description>
</documentation>
</bfield>
<bfield name="Blue led status" size="2" type="type_0015">
<documentation>
<brief>Current blue led status</brief>
<description>
Normal blue led status is ::@@type_0015::E3::name@@<br>
if blue led status is not ::@@type_0015::E3::name@@, then there is a problem with the board Operating system
</description>
</documentation>
</bfield>
<bfield name="DDS Missing" size="1" type="type_0007">
<documentation>
<brief>Boolean which indicates if DDS are invalid (or absent) or not</brief>
</documentation>
</bfield>
<bfield name="DDS corrupted" size="1" type="type_0007">
<documentation>
<brief>Boolean which indicates if DDS in flash are compromised or not</brief>
<description>The check is done by checking DDS CRC value</description>
<remarks>If this field is ::@@type_0007::E2::name@@, then __@@type_0017::B7::name@@__ will be also ::@@type_0007::E2::name@@</remarks>
<todo>DDS in flash ? in RAM ? </todo>
</documentation>
</bfield>
<bfield name="Flash corrupted" size="1" type="type_0007">
<documentation>
<brief>Boolean which indicates if data in flash are compromised or not</brief>
<description>The check is done by checking CRC value</description>
</documentation>
</bfield>
<bfield name="Temperature Fault" size="1" type="type_0007">
<documentation>
<brief>Boolean is true if there is an issue with board temperature</brief>
</documentation>
</bfield>
<bfield name="Supply current fault" size="1">
<documentation>
<brief>Boolean is true if there is an issue with board supplied current</brief>
</documentation>
</bfield>
<bfield name="Sequencing fault" size="1" type="type_0007">
<documentation>
<brief>Boolean which indicates if one or several tasks are not running</brief>
</documentation>
</bfield>
<bfield name="WD Reset" size="1" type="type_0007">
<documentation>
<brief>Boolean which indicates if a WD reset occured or not</brief>
</documentation>
</bfield>
<bfield name="Is disable" size="1" type="type_0007">
<documentation>
<brief>Module has been disabled</brief>
</documentation>
</bfield>
<regroupFields name="Functional fault">
<rbfield number="5"/>
<rbfield number="6"/>
<rbfield number="7"/>
<rbfield number="10"/>
<rbfield number="11"/>
</regroupFields>
<regroupFields name="System fault">
<rbfield number="6"/>
<rbfield number="7"/>
<rbfield number="10"/>
<rbfield number="11"/>
</regroupFields>
<regroupFields name="Fault">
<rbfield number="5"/>
<rbfield number="6"/>
<rbfield number="7"/>
<rbfield number="8"/>
<rbfield number="9"/>
<rbfield number="10"/>
</regroupFields>
<regroupFields name="DDS Fault">
<rbfield number="5"/>
<rbfield number="6"/>
</regroupFields>
</type>
<type id="type_0018" name="eDeviceState_t" cat="enum" size="1" padding="1">
<documentation>
<brief>Device state</brief>
<description>
Faults start with @@type_0018::E3::name@@
Section integrity start with @@type_0018::E5::name@@
</description>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eDEVICE_STANDBY" >
<documentation>
<brief>Device does not have any fault, and is ready to work.</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_MISSING" >
<documentation>
<brief>Device is missing</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_BAD_ANSWER" >
<documentation>
<brief>Device give us a bad answer</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_BAD_ID1" >
<documentation>
<brief>Device has a bad first id</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_BAD_ID2" >
<documentation>
<brief>Device has a bad second id</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_BAD_SIGNATURE" >
<documentation>
<brief>Device has a bad signature</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_INTEGRITY" >
<documentation>
<brief>Device answer, but not to the integrity request</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_RAM" >
<documentation>
<brief>Device has reported a RAM fault (integrity check failed)</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_EEPROM" >
<documentation>
<brief>Device has reported an EEPROM fault (integrity check failed)</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_CRC_DDS" >
<documentation>
<brief>Device has reported an integrity fault on its DDS</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_SETTING_FAIL" >
<documentation>
<brief>Device failed to be configured</brief>
<remarks>This is an integrity fault</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_CRC_FACTORY" >
<documentation>
<remarks>This is an integrity fault</remarks>
<todo>Don't know what to do with that</todo>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_OC" >
<documentation>
<brief>Device gave us an Open-circuit fault</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_SC" >
<documentation>
<brief>Device gave us an Short-circuit fault</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_SENSOR" >
<documentation>
<brief>Device has reported that its sensor is in fault</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_REARM" >
<documentation>
<brief>Device failed to be rearmed</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_SYSTEM_FAULT" >
<documentation>
<brief>Device have a system fault</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_RADIO_DIALOG" >
<documentation>
<remarks>Radio devices only</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_RADIO_BATTERY" >
<documentation>
<remarks>Radio devices only</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_RADIO_RANGE_LIMIT" >
<documentation>
<remarks>Radio devices only</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_RADIO_OIR_SYSTEM" >
<documentation>
<remarks>Radio devices only</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_SAME_ADDRESS" >
<documentation>
<remarks>Radio devices only</remarks>
<todo>Don't know what to do with that</todo>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_CONFIG" >
<documentation>
<remarks>Radio devices only</remarks>
<todo>Don't know what to do with that</todo>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_SETTING" >
<documentation>
<remarks>Radio devices only</remarks>
<todo>Don't know what to do with that</todo>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_UPDATE_TIME" >
<documentation>
<remarks>Radio devices only</remarks>
<todo>Don't know what to do with that</todo>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_UNCALIBRATED" >
<documentation>
<remarks>Radio devices only</remarks>
<todo>Don't know what to do with that</todo>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_BEAM_CUT" >
<documentation>
<remarks>Beam detector</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_DAZZLE" >
<documentation>
<remarks>Beam detector</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_KEY_OUT" >
<documentation>
<remarks>Beam detector</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_SWITCH" >
<documentation>
<remarks>Beam detector</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_INTEGRITY_4" >
<documentation>
<remarks>TNET device integrity fault : program</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_INTEGRITY_5" >
<documentation>
<remarks>TNET device integrity fault : App data</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_INTEGRITY_6" >
<documentation>
<remarks>TNET device integrity fault : Factory data</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_INTEGRITY_9" >
<documentation>
<remarks>TNET device integrity fault : Commissioning</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_INTEGRITY_10" >
<documentation>
<remarks>TNET device integrity fault : Commissioning data</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_COMMUNICATION_2ND_CHANNEL" >
<documentation>
<remarks>for TNET intermediary device. Communication fault on the 2nd network</remarks>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_MISSING_HIDDEN" >
<documentation>
<brief>Device handling by an other one is missing.</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_OPEN_ISOLATOR" >
<documentation>
<brief>Device has its isolator open</brief>
</documentation>
</enum>
<enum name="eDEVICE_FAULT_LOW_FIELDBUS_VOLTAGE">
<documentation>
<brief>Device measures low voltage on the fielbus</brief>
</documentation>
</enum>
</type>
<type id="type_0019" name="eDeviceDisableMode_t" cat="enum" size="1" padding="1" >
<documentation>
<brief>Device disable mode available</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eDEVICE_ENABLED" value="0">
<documentation>
<brief>Device states are available</brief>
</documentation>
</enum>
<enum name="eDEVICE_DISABLED_MANUALY" value="1">
<documentation>
<brief>Device has been disabled by the user. This state has an higher priority than the "Automaticaly disabled"</brief>
</documentation>
</enum>
<enum name="eDEVICE_DISABLED_AUTOMATICALY" value="2">
<documentation>
<brief>Device has been disabled by the day night mode management</brief>
</documentation>
</enum>
</type>
<type id="type_0020" name="eMBOutputPhyState_t" cat="enum" size="1" padding="1">
<documentation>
<brief>physical state of a device output</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eMB_OUTPUT_PHY_INACTIVE" >
<documentation>
</documentation>
</enum>
<enum name="eMB_OUTPUT_PHY_SC" >
<documentation>
</documentation>
</enum>
<enum name="eMB_OUTPUT_PHY_OC" >
<documentation>
</documentation>
</enum>
<enum name="eMB_OUTPUT_PHY_COMMAND" >
<documentation>
</documentation>
</enum>
</type>
<type id="type_0021" name="eMBOutputFuncState_t" cat="enum" size="1" padding="1">
<documentation>
<brief>functional state of a device output</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eMB_OUTPUT_FUNC_IDLE" >
<documentation>
</documentation>
</enum>
<enum name="eMB_OUTPUT_FUNC_DELAY_CDE" >
<documentation>
</documentation>
</enum>
<enum name="eMB_OUTPUT_FUNC_EXECUTION" >
<documentation>
</documentation>
</enum>
<enum name="eMB_OUTPUT_FUNC_EXECUTED" >
<documentation>
</documentation>
</enum>
</type>
<type id="type_0023" name="tRawDevicePort_t" cat="struct" size="2" padding="1" origin="type_0001" >
<documentation>
<brief>Device IO state</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<field name="ePortRawState" type="type_0044">
<documentation>
<brief>This enum provide the device port state.</brief>
</documentation>
</field>
<field name="ePortRawCmdStatus" type="type_0057">
<documentation>
<brief>here is the command status if the port is an output</brief>
</documentation>
</field>
</type>
<type id="type_0024" name="tDirtyValue_t" cat="alias" size="1" padding="1" origin="type_0001" >
<documentation>
<brief>dirty (encrassement) value</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
</type>
<type id="type_0025" name="tDirtyLevel_t" cat="alias" size="1" padding="1" origin="type_0001" >
<documentation>
<brief>dirty (encrassement) level</brief>
<todo>Describe more precisely </todo>
<date>2014-10-14T18:03:55</date>
</documentation>
</type>
<type id="type_0026" name="tMBDeviceSerialNumber_t" cat="alias" size="4" padding="1" origin="type_0001" >
<documentation>
<brief>Device serial number (returned by the Device)</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
</type>
<type id="type_0027" name="eDeviceType_t" cat="alias" size="1" padding="1" origin="type_0001" >
<documentation>
<brief>Device type index </brief>
<description>
The @@type_0027::name@@ type is a pointer to a ::tDDSDeviceDefinition object.
It represent a device configuration, and will help to manage it.
</description>
<sees>tDDSDeviceDefinition</sees>
<date>2014-10-14T18:03:55</date>
</documentation>
</type>
<type id="type_0028" name="eLevelAlarm_t" cat="enum" size="1" padding="1">
<documentation>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="__eLevelAlarm_TBD__" >
<documentation>
</documentation>
</enum>
</type>
<type id="type_0029" name="tLoopInfo_t" cat="struct" size="6" padding="2">
<documentation>
<brief>Loop/Line state</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<field name="u16IsolatorsBeforeSC_FromStart" type="type_0003" count="1">
<documentation>
<brief>Number of isolators between the start of the loop/line and the short-circuit</brief>
<remarks>This value has no sens if bit 5 of ::@@type_0029::name@@::@@type_0029::F3::name@@ field is __0__</remarks>
<minimalValue>0</minimalValue>
<maximalValue>252</maximalValue>
</documentation>
</field>
<field name="u16IsolatorsBeforeSC_FromEnd" type="type_0003" count="1">
<documentation>
<brief>Number of isolators between the end of the loop/line and the short-circuit</brief>
<remarks>This value has no sens if bit 5 of ::@@type_0029::name@@::@@type_0029::F3::name@@ field is __0__</remarks>
<minimalValue>0</minimalValue>
<maximalValue>252</maximalValue>
</documentation>
</field>
<field name="u8Status" type="type_0001" count="1" bitfield="true">
<documentation>
</documentation>
<bfield name="Is a line" size="1" type="type_0007">
<documentation>
<brief>Is a boolean which indicates that the object is a line or a loop</brief>
</documentation>
</bfield>
<bfield name="Has an OC" size="1" type="type_0007">
<documentation>
<brief>Is a boolean which indicates that the line/loop circuit is open or not.</brief>
</documentation>
</bfield>
<bfield name="Has a SC" size="1" type="type_0007">
<documentation>
<brief>Is a boolean which indicates that the line/loop circuit is short-circuited or not.</brief>
<remarks>When the field value is ::@@type_0007::E2::name@@, check ::@@type_0029::name@@::@@type_0029::F2::name@@ and ::@@type_0029::name@@::@@type_0029::F1::name@@ to get the SC position</remarks>
</documentation>
</bfield>
<regroupFields name="Fault">
<rbfield number="2"/>
<rbfield number="3"/>
</regroupFields>
</field>
</type>
<type id="type_0030" name="eMBConventionalLine_t" cat="enum" size="1" padding="1">
<documentation>
<brief>conventional line states</brief>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eCONV_LINE_OC" >
<documentation>
<brief>The conventional line is open</brief>
</documentation>
</enum>
<enum name="eCONV_LINE_SC" >
<documentation>
<brief>The conventional line has a short-circuit</brief>
</documentation>
</enum>
<enum name="eCONV_LINE_FAULT" >
<documentation>
<brief>The conventional line has a fault</brief>
</documentation>
</enum>
<enum name="eCONV_LINE_IDLE" >
<documentation>
<brief>The conventional line is Idle (nothing special).</brief>
</documentation>
</enum>
<enum name="eCONV_LINE_PREALARM" >
<documentation>
<brief>The conventional line is in Pre-alarm state (Only 1 device is active)</brief>
</documentation>
</enum>
<enum name="eCONV_LINE_ALARM" >
<documentation>
<brief>The conventional line is in alarm state (At least 2 devices are active)</brief>
</documentation>
</enum>
</type>
<type id="type_0031" name="tMBInfoDiagLine_t" cat="struct" size="6" padding="2">
<documentation>
<date>2014-10-14T18:03:55</date>
</documentation>
<field name="u16LineImpedance" type="type_0003" count="1">
<documentation>
</documentation>
</field>
<field name="u16LineCurrent" type="type_0003" count="1">
<documentation>
</documentation>
</field>
<field name="u16LineVoltage" type="type_0003" count="1">
<documentation>
</documentation>
</field>
</type>
<type id="type_0032" name="eRadioBatLevel_t" cat="enum" size="1" padding="1">
<documentation>
<brief>Current device battery status</brief>
<remarks>Radio device only</remarks>
<date>2014-10-14T18:03:55</date>
</documentation>
<enum name="eRADIO_BAT_OUT_OF_SERVICE" >
<documentation>
<brief>battery is out of service, need to be changed as soon as possible</brief>
</documentation>
</enum>
<enum name="eRADIO_BAT_LOW" >
<documentation>
<brief>battery level is low, need to charge it, or change the charger if needed</brief>
</documentation>
</enum>
<enum name="eRADIO_BAT_CORRECT" >
<documentation>
<brief>battery level is as it must be</brief>