-
-
Notifications
You must be signed in to change notification settings - Fork 100
/
uper.h
2617 lines (2438 loc) · 59.8 KB
/
uper.h
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
/**
* The MIT License (MIT)
*
* Copyright (c) 2018-2019 Erik Moqvist
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**
* This file was generated by asn1tools version 0.166.0 Sat Oct 21 09:45:15 2023.
*/
#ifndef UPER_H
#define UPER_H
#include <stdint.h>
#include <stdbool.h>
#include <unistd.h>
#ifndef ENOMEM
# define ENOMEM 12
#endif
#ifndef EINVAL
# define EINVAL 22
#endif
#ifndef EOUTOFDATA
# define EOUTOFDATA 500
#endif
#ifndef EBADCHOICE
# define EBADCHOICE 501
#endif
#ifndef EBADLENGTH
# define EBADLENGTH 502
#endif
#ifndef EBADENUM
# define EBADENUM 503
#endif
/**
* Type A in module CSource.
*/
struct uper_c_source_a_t {
int8_t a;
int16_t b;
int32_t c;
int64_t d;
uint8_t e;
uint16_t f;
uint32_t g;
uint64_t h;
bool i;
struct {
uint8_t buf[11];
} j;
};
/**
* Type AB in module CSource.
*/
struct uper_c_source_ab_t {
int8_t a;
uint16_t b;
};
/**
* Type Q in module CSource.
*/
enum uper_c_source_q_choice_e {
uper_c_source_q_choice_c001_e,
uper_c_source_q_choice_c002_e,
uper_c_source_q_choice_c003_e,
uper_c_source_q_choice_c004_e,
uper_c_source_q_choice_c005_e,
uper_c_source_q_choice_c006_e,
uper_c_source_q_choice_c007_e,
uper_c_source_q_choice_c008_e,
uper_c_source_q_choice_c009_e,
uper_c_source_q_choice_c010_e,
uper_c_source_q_choice_c011_e,
uper_c_source_q_choice_c012_e,
uper_c_source_q_choice_c013_e,
uper_c_source_q_choice_c014_e,
uper_c_source_q_choice_c015_e,
uper_c_source_q_choice_c016_e,
uper_c_source_q_choice_c017_e,
uper_c_source_q_choice_c018_e,
uper_c_source_q_choice_c019_e,
uper_c_source_q_choice_c020_e,
uper_c_source_q_choice_c021_e,
uper_c_source_q_choice_c022_e,
uper_c_source_q_choice_c023_e,
uper_c_source_q_choice_c024_e,
uper_c_source_q_choice_c025_e,
uper_c_source_q_choice_c026_e,
uper_c_source_q_choice_c027_e,
uper_c_source_q_choice_c028_e,
uper_c_source_q_choice_c029_e,
uper_c_source_q_choice_c030_e,
uper_c_source_q_choice_c031_e,
uper_c_source_q_choice_c032_e,
uper_c_source_q_choice_c033_e,
uper_c_source_q_choice_c034_e,
uper_c_source_q_choice_c035_e,
uper_c_source_q_choice_c036_e,
uper_c_source_q_choice_c037_e,
uper_c_source_q_choice_c038_e,
uper_c_source_q_choice_c039_e,
uper_c_source_q_choice_c040_e,
uper_c_source_q_choice_c041_e,
uper_c_source_q_choice_c042_e,
uper_c_source_q_choice_c043_e,
uper_c_source_q_choice_c044_e,
uper_c_source_q_choice_c045_e,
uper_c_source_q_choice_c046_e,
uper_c_source_q_choice_c047_e,
uper_c_source_q_choice_c048_e,
uper_c_source_q_choice_c049_e,
uper_c_source_q_choice_c050_e,
uper_c_source_q_choice_c051_e,
uper_c_source_q_choice_c052_e,
uper_c_source_q_choice_c053_e,
uper_c_source_q_choice_c054_e,
uper_c_source_q_choice_c055_e,
uper_c_source_q_choice_c056_e,
uper_c_source_q_choice_c057_e,
uper_c_source_q_choice_c058_e,
uper_c_source_q_choice_c059_e,
uper_c_source_q_choice_c060_e,
uper_c_source_q_choice_c061_e,
uper_c_source_q_choice_c062_e,
uper_c_source_q_choice_c063_e,
uper_c_source_q_choice_c064_e,
uper_c_source_q_choice_c065_e,
uper_c_source_q_choice_c066_e,
uper_c_source_q_choice_c067_e,
uper_c_source_q_choice_c068_e,
uper_c_source_q_choice_c069_e,
uper_c_source_q_choice_c070_e,
uper_c_source_q_choice_c071_e,
uper_c_source_q_choice_c072_e,
uper_c_source_q_choice_c073_e,
uper_c_source_q_choice_c074_e,
uper_c_source_q_choice_c075_e,
uper_c_source_q_choice_c076_e,
uper_c_source_q_choice_c077_e,
uper_c_source_q_choice_c078_e,
uper_c_source_q_choice_c079_e,
uper_c_source_q_choice_c080_e,
uper_c_source_q_choice_c081_e,
uper_c_source_q_choice_c082_e,
uper_c_source_q_choice_c083_e,
uper_c_source_q_choice_c084_e,
uper_c_source_q_choice_c085_e,
uper_c_source_q_choice_c086_e,
uper_c_source_q_choice_c087_e,
uper_c_source_q_choice_c088_e,
uper_c_source_q_choice_c089_e,
uper_c_source_q_choice_c090_e,
uper_c_source_q_choice_c091_e,
uper_c_source_q_choice_c092_e,
uper_c_source_q_choice_c093_e,
uper_c_source_q_choice_c094_e,
uper_c_source_q_choice_c095_e,
uper_c_source_q_choice_c096_e,
uper_c_source_q_choice_c097_e,
uper_c_source_q_choice_c098_e,
uper_c_source_q_choice_c099_e,
uper_c_source_q_choice_c100_e,
uper_c_source_q_choice_c101_e,
uper_c_source_q_choice_c102_e,
uper_c_source_q_choice_c103_e,
uper_c_source_q_choice_c104_e,
uper_c_source_q_choice_c105_e,
uper_c_source_q_choice_c106_e,
uper_c_source_q_choice_c107_e,
uper_c_source_q_choice_c108_e,
uper_c_source_q_choice_c109_e,
uper_c_source_q_choice_c110_e,
uper_c_source_q_choice_c111_e,
uper_c_source_q_choice_c112_e,
uper_c_source_q_choice_c113_e,
uper_c_source_q_choice_c114_e,
uper_c_source_q_choice_c115_e,
uper_c_source_q_choice_c116_e,
uper_c_source_q_choice_c117_e,
uper_c_source_q_choice_c118_e,
uper_c_source_q_choice_c119_e,
uper_c_source_q_choice_c120_e,
uper_c_source_q_choice_c121_e,
uper_c_source_q_choice_c122_e,
uper_c_source_q_choice_c123_e,
uper_c_source_q_choice_c124_e,
uper_c_source_q_choice_c125_e,
uper_c_source_q_choice_c126_e,
uper_c_source_q_choice_c127_e,
uper_c_source_q_choice_c128_e,
uper_c_source_q_choice_c129_e,
uper_c_source_q_choice_c130_e,
uper_c_source_q_choice_c131_e,
uper_c_source_q_choice_c132_e,
uper_c_source_q_choice_c133_e,
uper_c_source_q_choice_c134_e,
uper_c_source_q_choice_c135_e,
uper_c_source_q_choice_c136_e,
uper_c_source_q_choice_c137_e,
uper_c_source_q_choice_c138_e,
uper_c_source_q_choice_c139_e,
uper_c_source_q_choice_c140_e,
uper_c_source_q_choice_c141_e,
uper_c_source_q_choice_c142_e,
uper_c_source_q_choice_c143_e,
uper_c_source_q_choice_c144_e,
uper_c_source_q_choice_c145_e,
uper_c_source_q_choice_c146_e,
uper_c_source_q_choice_c147_e,
uper_c_source_q_choice_c148_e,
uper_c_source_q_choice_c149_e,
uper_c_source_q_choice_c150_e,
uper_c_source_q_choice_c151_e,
uper_c_source_q_choice_c152_e,
uper_c_source_q_choice_c153_e,
uper_c_source_q_choice_c154_e,
uper_c_source_q_choice_c155_e,
uper_c_source_q_choice_c156_e,
uper_c_source_q_choice_c157_e,
uper_c_source_q_choice_c158_e,
uper_c_source_q_choice_c159_e,
uper_c_source_q_choice_c160_e,
uper_c_source_q_choice_c161_e,
uper_c_source_q_choice_c162_e,
uper_c_source_q_choice_c163_e,
uper_c_source_q_choice_c164_e,
uper_c_source_q_choice_c165_e,
uper_c_source_q_choice_c166_e,
uper_c_source_q_choice_c167_e,
uper_c_source_q_choice_c168_e,
uper_c_source_q_choice_c169_e,
uper_c_source_q_choice_c170_e,
uper_c_source_q_choice_c171_e,
uper_c_source_q_choice_c172_e,
uper_c_source_q_choice_c173_e,
uper_c_source_q_choice_c174_e,
uper_c_source_q_choice_c175_e,
uper_c_source_q_choice_c176_e,
uper_c_source_q_choice_c177_e,
uper_c_source_q_choice_c178_e,
uper_c_source_q_choice_c179_e,
uper_c_source_q_choice_c180_e,
uper_c_source_q_choice_c181_e,
uper_c_source_q_choice_c182_e,
uper_c_source_q_choice_c183_e,
uper_c_source_q_choice_c184_e,
uper_c_source_q_choice_c185_e,
uper_c_source_q_choice_c186_e,
uper_c_source_q_choice_c187_e,
uper_c_source_q_choice_c188_e,
uper_c_source_q_choice_c189_e,
uper_c_source_q_choice_c190_e,
uper_c_source_q_choice_c191_e,
uper_c_source_q_choice_c192_e,
uper_c_source_q_choice_c193_e,
uper_c_source_q_choice_c194_e,
uper_c_source_q_choice_c195_e,
uper_c_source_q_choice_c196_e,
uper_c_source_q_choice_c197_e,
uper_c_source_q_choice_c198_e,
uper_c_source_q_choice_c199_e,
uper_c_source_q_choice_c200_e,
uper_c_source_q_choice_c201_e,
uper_c_source_q_choice_c202_e,
uper_c_source_q_choice_c203_e,
uper_c_source_q_choice_c204_e,
uper_c_source_q_choice_c205_e,
uper_c_source_q_choice_c206_e,
uper_c_source_q_choice_c207_e,
uper_c_source_q_choice_c208_e,
uper_c_source_q_choice_c209_e,
uper_c_source_q_choice_c210_e,
uper_c_source_q_choice_c211_e,
uper_c_source_q_choice_c212_e,
uper_c_source_q_choice_c213_e,
uper_c_source_q_choice_c214_e,
uper_c_source_q_choice_c215_e,
uper_c_source_q_choice_c216_e,
uper_c_source_q_choice_c217_e,
uper_c_source_q_choice_c218_e,
uper_c_source_q_choice_c219_e,
uper_c_source_q_choice_c220_e,
uper_c_source_q_choice_c221_e,
uper_c_source_q_choice_c222_e,
uper_c_source_q_choice_c223_e,
uper_c_source_q_choice_c224_e,
uper_c_source_q_choice_c225_e,
uper_c_source_q_choice_c226_e,
uper_c_source_q_choice_c227_e,
uper_c_source_q_choice_c228_e,
uper_c_source_q_choice_c229_e,
uper_c_source_q_choice_c230_e,
uper_c_source_q_choice_c231_e,
uper_c_source_q_choice_c232_e,
uper_c_source_q_choice_c233_e,
uper_c_source_q_choice_c234_e,
uper_c_source_q_choice_c235_e,
uper_c_source_q_choice_c236_e,
uper_c_source_q_choice_c237_e,
uper_c_source_q_choice_c238_e,
uper_c_source_q_choice_c239_e,
uper_c_source_q_choice_c240_e,
uper_c_source_q_choice_c241_e,
uper_c_source_q_choice_c242_e,
uper_c_source_q_choice_c243_e,
uper_c_source_q_choice_c244_e,
uper_c_source_q_choice_c245_e,
uper_c_source_q_choice_c246_e,
uper_c_source_q_choice_c247_e,
uper_c_source_q_choice_c248_e,
uper_c_source_q_choice_c249_e,
uper_c_source_q_choice_c250_e,
uper_c_source_q_choice_c251_e,
uper_c_source_q_choice_c252_e,
uper_c_source_q_choice_c253_e,
uper_c_source_q_choice_c254_e,
uper_c_source_q_choice_c255_e,
uper_c_source_q_choice_c256_e,
uper_c_source_q_choice_c257_e
};
struct uper_c_source_q_t {
enum uper_c_source_q_choice_e choice;
union {
bool c001;
bool c002;
bool c003;
bool c004;
bool c005;
bool c006;
bool c007;
bool c008;
bool c009;
bool c010;
bool c011;
bool c012;
bool c013;
bool c014;
bool c015;
bool c016;
bool c017;
bool c018;
bool c019;
bool c020;
bool c021;
bool c022;
bool c023;
bool c024;
bool c025;
bool c026;
bool c027;
bool c028;
bool c029;
bool c030;
bool c031;
bool c032;
bool c033;
bool c034;
bool c035;
bool c036;
bool c037;
bool c038;
bool c039;
bool c040;
bool c041;
bool c042;
bool c043;
bool c044;
bool c045;
bool c046;
bool c047;
bool c048;
bool c049;
bool c050;
bool c051;
bool c052;
bool c053;
bool c054;
bool c055;
bool c056;
bool c057;
bool c058;
bool c059;
bool c060;
bool c061;
bool c062;
bool c063;
bool c064;
bool c065;
bool c066;
bool c067;
bool c068;
bool c069;
bool c070;
bool c071;
bool c072;
bool c073;
bool c074;
bool c075;
bool c076;
bool c077;
bool c078;
bool c079;
bool c080;
bool c081;
bool c082;
bool c083;
bool c084;
bool c085;
bool c086;
bool c087;
bool c088;
bool c089;
bool c090;
bool c091;
bool c092;
bool c093;
bool c094;
bool c095;
bool c096;
bool c097;
bool c098;
bool c099;
bool c100;
bool c101;
bool c102;
bool c103;
bool c104;
bool c105;
bool c106;
bool c107;
bool c108;
bool c109;
bool c110;
bool c111;
bool c112;
bool c113;
bool c114;
bool c115;
bool c116;
bool c117;
bool c118;
bool c119;
bool c120;
bool c121;
bool c122;
bool c123;
bool c124;
bool c125;
bool c126;
bool c127;
bool c128;
bool c129;
bool c130;
bool c131;
bool c132;
bool c133;
bool c134;
bool c135;
bool c136;
bool c137;
bool c138;
bool c139;
bool c140;
bool c141;
bool c142;
bool c143;
bool c144;
bool c145;
bool c146;
bool c147;
bool c148;
bool c149;
bool c150;
bool c151;
bool c152;
bool c153;
bool c154;
bool c155;
bool c156;
bool c157;
bool c158;
bool c159;
bool c160;
bool c161;
bool c162;
bool c163;
bool c164;
bool c165;
bool c166;
bool c167;
bool c168;
bool c169;
bool c170;
bool c171;
bool c172;
bool c173;
bool c174;
bool c175;
bool c176;
bool c177;
bool c178;
bool c179;
bool c180;
bool c181;
bool c182;
bool c183;
bool c184;
bool c185;
bool c186;
bool c187;
bool c188;
bool c189;
bool c190;
bool c191;
bool c192;
bool c193;
bool c194;
bool c195;
bool c196;
bool c197;
bool c198;
bool c199;
bool c200;
bool c201;
bool c202;
bool c203;
bool c204;
bool c205;
bool c206;
bool c207;
bool c208;
bool c209;
bool c210;
bool c211;
bool c212;
bool c213;
bool c214;
bool c215;
bool c216;
bool c217;
bool c218;
bool c219;
bool c220;
bool c221;
bool c222;
bool c223;
bool c224;
bool c225;
bool c226;
bool c227;
bool c228;
bool c229;
bool c230;
bool c231;
bool c232;
bool c233;
bool c234;
bool c235;
bool c236;
bool c237;
bool c238;
bool c239;
bool c240;
bool c241;
bool c242;
bool c243;
bool c244;
bool c245;
bool c246;
bool c247;
bool c248;
bool c249;
bool c250;
bool c251;
bool c252;
bool c253;
bool c254;
bool c255;
bool c256;
bool c257;
} value;
};
/**
* Type D in module CSource.
*/
enum uper_c_source_d_a_b_choice_e {
uper_c_source_d_a_b_choice_c_e,
uper_c_source_d_a_b_choice_d_e
};
enum uper_c_source_d_g_h_e {
uper_c_source_d_g_h_i_e = 0,
uper_c_source_d_g_h_j_e = 4,
uper_c_source_d_g_h_k_e = 512
};
struct uper_c_source_d_t {
uint8_t length;
struct {
struct {
struct {
enum uper_c_source_d_a_b_choice_e choice;
union {
uint8_t c;
bool d;
} value;
} b;
struct {
uint8_t length;
} e;
} a;
struct {
enum uper_c_source_d_g_h_e h;
struct {
uint8_t length;
uint8_t buf[2];
} l;
} g;
struct {
bool is_n_present;
bool n;
int8_t o;
bool is_p_present;
struct {
struct {
uint8_t buf[5];
} q;
bool is_r_present;
bool r;
} p;
bool s;
} m;
} elements[10];
};
/**
* Type AC in module CSource.
*/
struct uper_c_source_ac_t {
struct uper_c_source_q_t a;
struct uper_c_source_d_t b;
};
/**
* Type AD in module CSource.
*/
enum uper_c_source_ad_e {
uper_c_source_ad_a_e = 0,
uper_c_source_ad_b_e = 1
};
struct uper_c_source_ad_t {
enum uper_c_source_ad_e value;
};
/**
* Type AE in module CSource.
*/
struct uper_c_source_ae_t {
bool is_a_present;
bool a;
bool b;
bool c;
};
/**
* Type AH in module CSource.
*/
enum uper_c_source_ah_e_e {
uper_c_source_ah_e_f_e = 0,
uper_c_source_ah_e_g_e = 1,
uper_c_source_ah_e_h_e = 2
};
struct uper_c_source_ah_t {
bool c;
bool is_d_addition_present;
uint8_t d;
bool is_e_addition_present;
enum uper_c_source_ah_e_e e;
};
/**
* Type AF in module CSource.
*/
struct uper_c_source_af_t {
bool a;
bool is_b_addition_present;
struct uper_c_source_ah_t b;
bool is_e_addition_present;
uint8_t e;
bool is_f_addition_present;
uint8_t f;
bool is_g_addition_present;
uint8_t g;
bool is_h_addition_present;
uint8_t h;
bool is_i_addition_present;
uint8_t i;
bool is_j_addition_present;
uint8_t j;
bool is_k_addition_present;
uint8_t k;
bool is_l_addition_present;
uint8_t l;
};
/**
* Type AG in module CSource.
*/
enum uper_c_source_ag_d_e {
uper_c_source_ag_d_e_e = 0,
uper_c_source_ag_d_f_e = 256,
uper_c_source_ag_d_g_e = 65536
};
enum uper_c_source_ag_j_choice_e {
uper_c_source_ag_j_choice_k_e,
uper_c_source_ag_j_choice_l_e
};
struct uper_c_source_ag_t {
bool a;
bool is_b_addition_present;
struct {
uint8_t length;
uint8_t buf[10];
} b;
bool is_c_addition_present;
struct {
uint8_t length;
bool elements[10];
} c;
bool is_d_addition_present;
enum uper_c_source_ag_d_e d;
bool is_h_addition_present;
bool is_i_addition_present;
bool is_j_addition_present;
struct {
enum uper_c_source_ag_j_choice_e choice;
union {
uint16_t k;
bool l;
} value;
} j;
bool is_m_addition_present;
struct {
uint8_t buf[5];
} m;
};
/**
* Type AJ in module CSource.
*/
enum uper_c_source_aj_a_e {
uper_c_source_aj_a_a_1_e = 0,
uper_c_source_aj_a_a_2_e = 1
};
struct uper_c_source_aj_t {
enum uper_c_source_aj_a_e a;
};
/**
* Type AK in module CSource.
*/
enum uper_c_source_ak_choice_e {
uper_c_source_ak_choice_a_e
};
struct uper_c_source_ak_t {
enum uper_c_source_ak_choice_e choice;
union {
struct uper_c_source_aj_t a;
} value;
};
/**
* Type AI in module CSource.
*/
struct uper_c_source_ai_t {
struct uper_c_source_ak_t a;
};
/**
* Type AL in module CSource.
*/
struct uper_c_source_al_t {
int16_t value;
};
/**
* Type AM in module CSource.
*/
struct uper_c_source_am_t {
int8_t value;
};
/**
* Type AN in module CSource.
*/
enum uper_c_source_an_e {
uper_c_source_an_a_e = -16777216,
uper_c_source_an_b_e = -8388608,
uper_c_source_an_c_e = -65536,
uper_c_source_an_d_e = -32768,
uper_c_source_an_e_e = -128,
uper_c_source_an_f_e = 0,
uper_c_source_an_g_e = 127,
uper_c_source_an_h_e = 128,
uper_c_source_an_i_e = 32767,
uper_c_source_an_j_e = 65536,
uper_c_source_an_k_e = 16777216
};
struct uper_c_source_an_t {
enum uper_c_source_an_e value;
};
/**
* Type AO in module CSource.
*/
static const uint8_t UPER_C_SOURCE_AO_A_A = 0x80;
static const uint8_t UPER_C_SOURCE_AO_A_B = 0x40;
static const uint8_t UPER_C_SOURCE_AO_A_C = 0x1;
static const uint32_t UPER_C_SOURCE_AO_B_A = 0x800000;
static const uint32_t UPER_C_SOURCE_AO_B_B = 0x400000;
static const uint32_t UPER_C_SOURCE_AO_B_C = 0x1;
static const uint32_t UPER_C_SOURCE_AO_D_A = 0x40000000;
static const uint32_t UPER_C_SOURCE_AO_D_B = 0x20000000;
static const uint32_t UPER_C_SOURCE_AO_D_C = 0x1;
static const uint64_t UPER_C_SOURCE_AO_E_A = 0x4000000000000000;
static const uint64_t UPER_C_SOURCE_AO_E_B = 0x80000000;
static const uint64_t UPER_C_SOURCE_AO_E_C = 0x01;
struct uper_c_source_ao_t {
uint8_t a;
uint32_t b;
uint8_t c;
uint32_t d;
uint64_t e;
};
/**
* Type REFERENCED-SEQUENCE in module CRef.
*/
struct uper_c_ref_referenced_sequence_t {
uint8_t a;
};
/**
* Type REFERENCED-ENUM in module CRef.
*/
enum uper_c_ref_referenced_enum_e {
uper_c_ref_referenced_enum_a_e = 0,
uper_c_ref_referenced_enum_b_e = 1,
uper_c_ref_referenced_enum_c_e = 2
};
struct uper_c_ref_referenced_enum_t {
enum uper_c_ref_referenced_enum_e value;
};
/**
* Type AP in module CSource.
*/
struct uper_c_source_ap_t {
struct uper_c_ref_referenced_sequence_t b;
struct uper_c_ref_referenced_enum_t c;
uint8_t d;
};
/**
* Type AQ in module CSource.
*/
struct uper_c_source_aq_t {
uint32_t value;
};
/**
* Type AR in module CSource.
*/
struct uper_c_source_ar_t {
struct {
uint8_t length;
uint8_t buf[10];
} a;
};
/**
* Type AS in module CSource.
*/
enum uper_c_source_as_a_b_choice_e {
uper_c_source_as_a_b_choice_b_a_e,
uper_c_source_as_a_b_choice_b_b_e
};
struct uper_c_source_as_t {
bool is_a_a_present;
bool a_a;
struct {
enum uper_c_source_as_a_b_choice_e choice;
union {
bool b_a;
bool b_b;
} value;
} a_b;
bool a_c;
};
/**
* Type AT in module CRef.
*/
struct uper_c_ref_at_t {
uint8_t value;
};
/**
* Type AT in module CSource.
*/
struct uper_c_source_at_t {
uint8_t a;
bool is_b_addition_present;
struct {
uint8_t length;
struct uper_c_source_a_t elements[32];
} b;
};
/**
* Type AU in module CRef.
*/
enum uper_c_ref_au_a_a_b_a_e {
uper_c_ref_au_a_a_b_a_a_e = 0,
uper_c_ref_au_a_a_b_a_b_e = 1
};
enum uper_c_ref_au_a_a_b_b_e {
uper_c_ref_au_a_a_b_b_a_e = 0,
uper_c_ref_au_a_a_b_b_b_e = 1
};
enum uper_c_ref_au_a_a_choice_e {
uper_c_ref_au_a_a_choice_b_a_e,
uper_c_ref_au_a_a_choice_b_b_e
};
struct uper_c_ref_au_t {
struct {
enum uper_c_ref_au_a_a_choice_e choice;
union {
enum uper_c_ref_au_a_a_b_a_e b_a;
enum uper_c_ref_au_a_a_b_b_e b_b;
} value;
} a_a;
};
/**
* Type B in module CSource.
*/
enum uper_c_source_b_choice_e {
uper_c_source_b_choice_a_e,
uper_c_source_b_choice_b_e,
uper_c_source_b_choice_c_e
};
struct uper_c_source_b_t {
enum uper_c_source_b_choice_e choice;
union {
int8_t a;