blob: 1ca69bdfc931244deefb94f9d0a1f3208eba5f3b (
plain)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- committed 2017-09-22 -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Unicens">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens</UCSElementPath>
Schema for the description of a UNICENS configuration</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Node">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node</UCSElementPath>
Node is a connection point that can receive, create, store or send data along distributed network routes.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="USBPort">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/USBPort</UCSElementPath>
Configuration Structure of a USB Port</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="PhysicalLayer" type="USBPortPhysicalLayer" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/USBPort/@PhysicalLayer</UCSElementPath>
Interface of the USB Ports Physical Layer
This attribute corresponds with the parameter PhysicalLayer of the INIC function INIC.USBPortCreate.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DeviceInterfaces" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/USBPort/@DeviceInterfaces</UCSElementPath>
USB Devices interfaces mask.
This attribute corresponds with the parameter DeviceInterfaces of the INIC function INIC.USBPortCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StreamingIfEpInCount" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/USBPort/@StreamingIfEpInCount</UCSElementPath>
IN Endpoints inside the streaming interfaces.
This attribute corresponds with the parameter StreamingIfEpInCount of the INIC function INIC.USBPortCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StreamingIfEpOutCount" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/USBPort/@StreamingIfEpOutCount</UCSElementPath>
OUT Endpoints inside the streaming interfaces.
This attribute corresponds with the parameter StreamingIfEpInCount of the INIC function INIC.USBPortCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="MediaLBPort">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/MediaLBPort</UCSElementPath>
Configuration Structure of a MediaLB Port
The MediaLB Port is the interface to the Media Local Bus.
It supports the handling of all MOST network data types and is available in two pin-out options: MediaLB 3-Pin (single-ended) and MediaLB 6-Pin (differential). </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ClockConfig" type="MediaLBPortClockConfig" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/MediaLBPort/@ClockConfig</UCSElementPath>
Clock speed configuration.
This attribute corresponds with the parameter ClockConfig of the INIC function INIC.MediaLBPortCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StreamPort">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/StreamPort</UCSElementPath>
Configuration Structure of a Stream Port</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ClockConfig" type="StreamPortClockConfig" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/StreamPort/@ClockConfig</UCSElementPath>
Clock speed configuration.
This attribute corresponds with the parameter ClockConfig of the INIC function INIC.StreamPortCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DataAlignment" type="StreamPortDataAlignment" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/StreamPort/@DataAlignment</UCSElementPath>
Alignment of the data bytes .
This attribute corresponds with the parameter DataAlignment of the INIC function INIC.StreamPortCreate</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="SyncConnection">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/SyncConnection</UCSElementPath>
Configuration Structure of a SyncConnection It sets the connection in Sync mode.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="Connection">
<xs:attribute name="MuteMode" type="SyncConnectionMuteMode" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/SyncConnection/@MuteMode</UCSElementPath>
Mode of operation of mute.
This attribute corresponds with the parameter MuteMode of the INIC function INIC.SyncCreate</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="AVPConnection">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/AVPConnection</UCSElementPath>
Configuration Structure of an AVP Connection. It sets the connection in AVP mode.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="Connection">
<xs:attribute name="IsocPacketSize" type="AVPConnectionIsocPacketSize" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/AVPConnection/@IsocPacketSize</UCSElementPath>
Size of data packets.
This attribute corresponds with the parameter IsocPacketSize of the INIC function INIC.AVPacketizedCreate</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="Address" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/@Address</UCSElementPath>
Address of the Unicens node</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Script" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Node/@Script</UCSElementPath>
Script to which the node is linked.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Name" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="Script">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script</UCSElementPath>
A script is a structure data composed of :
The command based on INIC FBlock-Syntax to be transmitted
The expected result also based on INIC FBlock-Syntax.
The amount time [in milliseconds] to pause before sending the Tx command.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element name="GPIOPortCreate">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/GPIOPortCreate</UCSElementPath>
Creates the GPIO port with its associated port instance identifier.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DebounceTime" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/GPIOPortCreate/@DebounceTime</UCSElementPath>
The timeout for the GPIO debounce timer (in ms).
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="GPIOPortPinMode">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/GPIOPortPinMode</UCSElementPath>
This function is used for GPIO pin configuration.
To change a pin into a GPIO pin, it has to be configured via GPIOPortPinMode</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="PinConfiguration" type="HexData" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/GPIOPortPinMode/@PinConfiguration</UCSElementPath>
Defines the GPIO pin configuration and clears the trigger conditions on level-sensitive inputs and sticky inputs thereby allowing reporting of further trigger events.
Note that trigger conditions are automatically cleared for all edge-sensitive input/output GPIO classes when the INIC.GPIOPortTriggerEvent.Status message is sent.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="GPIOPinState">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/GPIOPinState</UCSElementPath>TO DO - [State of GPIO Pin : High/Low]</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Mask" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/GPIOPinState/@Mask</UCSElementPath>
TO DO - [Changing certain data elements within a data store so that the structure remains similar while the information itself is changed to protect sensitive information]</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Data" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/GPIOPinState/@Data</UCSElementPath>
TO DO - [Data to be given to GPIO Pin State]</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="I2CPortCreate">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortCreate</UCSElementPath>
This function is used to define the I2C Port working as I2C-bus master.
The function creates the I2C Port with its associated port instance identifier.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Speed" type="I2CPortCreateSpeed" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortCreate/@Speed</UCSElementPath>
The speed grade of I2C port.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="I2CPortWrite">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortWrite</UCSElementPath>
This function writes a block of bytes to an I2C device at a specified I2C address.
The function supports also a burst write mechanism for optimized transactions.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Mode" type="I2CPortWriteMode" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortWrite/@Mode</UCSElementPath>
The write transfer mode.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="BlockCount" type="Number" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortWrite/@BlockCount</UCSElementPath>
The number of blocks to be written to the I2C address.
If parameter mode is not set to Burst Mode, the value of block_count has to be set to 0.
Otherwise the valid range of this parameter goes from 1 to 30. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Address" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortWrite/@Address</UCSElementPath>
Address of the target device. Use the UCS_ADDR_LOCAL_DEV macro to target the local device.
The following address ranges are supported:
â¢[0x10 ... 0x2FF]
â¢[0x500 ... 0xFEF]
â¢UCS_ADDR_LOCAL_DEV </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Length" type="Number" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortWrite/@Length</UCSElementPath>
The total number of bytes to be written to the addressed I2C peripheral.
Even if parameter mode is set to Burst Mode, the data_len shall correspond to the whole size of the burst transfer.
That is, the data_len shall equal the size of a block times the block_count value.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Payload" type="HexData" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortWrite/@PayLoad</UCSElementPath>
Payload bytes to be written on I2C</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Timeout" type="Number" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortWrite/@Timeout</UCSElementPath>
The timeout for the I2C Port write. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="I2CPortRead">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortRead</UCSElementPath>
This function reads a block of bytes from an I2C device at a specified I2C address.
The function can only be used, if the I2C Port has been configured as Master.
If the I2C Port was configured as I2C-bus slave via the configuration string, an error message will be returned.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Address" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortRead/@Address</UCSElementPath>
Address of the target device. Use the UCS_ADDR_LOCAL_DEV macro to target the local device.
The following address ranges are supported:
â¢[0x10 ... 0x2FF]
â¢[0x500 ... 0xFEF]
â¢UCS_ADDR_LOCAL_DEV </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Length" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortRead/@Length</UCSElementPath>
Number of bytes to be read from the address.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Timeout" type="Number" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/I2CPortRead/@Timeout</UCSElementPath>
The timeout for the I2C Port read.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="MsgSend">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/MsgSend</UCSElementPath>
TO DO</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="FBlockId" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/MsgSend/@FBlockId</UCSElementPath>
FBlockId of the config msg.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FunctionId" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/MsgSend/@FunctionId</UCSElementPath>
TO DO</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="OpTypeRequest" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/MsgSend/@OpTypeRequest</UCSElementPath>
TO DO</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="OpTypeResponse" type="Number" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/MsgSend/@OpTypeResponse</UCSElementPath>
TO DO</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PayloadRequest" type="HexData" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/MsgSend/@PayloadRequest</UCSElementPath>
TO DO</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PayloadResponse" type="HexData" use="optional">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/MsgSend/@PayloadResponse</UCSElementPath>
TO DO</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Pause">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/Pause</UCSElementPath>
Specifies the pause which shall be set before sending the configuration message.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="WaitTime" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/Pause/@WaitTime</UCSElementPath>
TO DO -[Time for which pause is to be done]</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Script/@Name</UCSElementPath>
Name of the Script</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="AsyncBandwidth" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/@AsyncBandwidth</UCSElementPath>
Asynchronous bandwidth of the Unicens network.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:complexType name="Connection">
<xs:choice minOccurs="2" maxOccurs="2">
<xs:element name="MOSTSocket" type="MOSTSocketType">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/MOSTSocket</UCSElementPath>
Configuration Structure of a MOST Socket</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="USBSocket">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/USBSocket</UCSElementPath>
Configuration Structure of a USB Socket.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="EndpointAddress" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/USBSocket/@EndpointAddress</UCSElementPath>
Address of a USB Endpoint.
This attribute corresponds with the parameter EndpointAddress of the INIC function INIC.USBSocketCreate</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FramesPerTransaction" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/USBSocket/@FramesPerTransaction</UCSElementPath>
FramesPerTransaction defines the number of data frames that are transferred within one USB bulk transaction.The value depends on the data type being used.
The MOST network frame is six times shorter than the duration of one USB Microframe, the minimum number of FramesPerTransaction must be 7.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="MediaLBSocket">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/MediaLBSocket</UCSElementPath>
Configuration Structure of MediaLB Socket</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ChannelAddress" type="Number" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/MediaLBSocket/@ChannelAddress</UCSElementPath>
MLB Channel address.
This attribute corresponds with the parameter ChannelAddress of the INIC function INIC.MediaLBSocketCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Bandwidth" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/MediaLBSocket/@Bandwidth</UCSElementPath>
Required socket bandwidth in bytes.
This attribute corresponds with the parameter Bandwidth of the INIC function INIC.StreamSocketCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StreamSocket">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/StreamSocket</UCSElementPath>
Configuration Structure of a streaming data Socket</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="StreamPinID" type="StreamSocketStreamPinID" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/StreamSocket/@StreamPinID</UCSElementPath>
ID of the serial interface pin.
This attribute corresponds with the parameter StreamPinID of the INIC function INIC.StreamSocketCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Bandwidth" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/StreamSocket/@Bandwidth</UCSElementPath>
Required socket bandwidth in bytes.
This attribute corresponds with the parameter Bandwidth of the INIC function INIC.StreamSocketCreate.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Splitter" type="SplitterCombinerType">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Splitter</UCSElementPath>
Configuration Structure of a splitter resource.
A splitter enables two variants of routing to be set-up. The first variant is a splitter created with a peripheral socket.
It enables data routing from a specified segment of the peripheral socket to a MOST socket.
The second variant is a splitter created with a MOST socket.
This variant enables data routing in its whole (no segments) from the MOST socket to multiple peripheral sockets.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Combiner" type="SplitterCombinerType">
<xs:annotation>
<xs:documentation>
<UCSElementPath>/Unicens/Combiner</UCSElementPath>
Configuration Structure of a combiner resource.
A combiner enables streaming data to be routed from a MOST socket to a specified segment of a peripheral socket.
The same combiner may be used in multiple connections, which enables grouping of data streams from multiple MOST sockets into the same peripheral socket.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:simpleType name="Number">
<xs:annotation>
<xs:documentation>Hexadecimal or decimal number in the format 0xd..d</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="([0-9]+)|(0x(0|[1-9a-fA-F][0-9a-fA-F]*))"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="USBPortPhysicalLayer">
<xs:annotation>
<xs:documentation>Physical Layer of USB port</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="Standard"/>
<xs:enumeration value="HSIC"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="MediaLBPortClockConfig">
<xs:annotation>
<xs:documentation>Clock Config of MediaLB port</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="256Fs"/>
<xs:enumeration value="512Fs"/>
<xs:enumeration value="1024Fs"/>
<xs:enumeration value="2048Fs"/>
<xs:enumeration value="3072Fs"/>
<xs:enumeration value="4096Fs"/>
<xs:enumeration value="6114Fs"/>
<xs:enumeration value="8192Fs"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="StreamPortClockConfig">
<xs:annotation>
<xs:documentation>Clock Config of Stream port</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="8Fs"/>
<xs:enumeration value="16fs"/>
<xs:enumeration value="32Fs"/>
<xs:enumeration value="64Fs"/>
<xs:enumeration value="128Fs"/>
<xs:enumeration value="256Fs"/>
<xs:enumeration value="512Fs"/>
<xs:enumeration value="Willdcard"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="StreamPortDataAlignment">
<xs:annotation>
<xs:documentation>Data Alignment of Stream port</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="Left16Bit"/>
<xs:enumeration value="Left24Bit"/>
<xs:enumeration value="Right16Bit"/>
<xs:enumeration value="Right24Bit"/>
<xs:enumeration value="Seq"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="StreamSocketStreamPinID">
<xs:annotation>
<xs:documentation>Stream Pin ID of Stream socket</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="SRXA0"/>
<xs:enumeration value="SRXA1"/>
<xs:enumeration value="SRXB0"/>
<xs:enumeration value="SRXB1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SyncConnectionMuteMode">
<xs:annotation>
<xs:documentation>Mute Mode of Sync connection</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="NoMuting"/>
<xs:enumeration value="MuteSignal"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="AVPConnectionIsocPacketSize">
<xs:annotation>
<xs:documentation>Isoc Packet Size of AVP connection</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="188"/>
<xs:enumeration value="196"/>
<xs:enumeration value="206"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="I2CPortCreateSpeed">
<xs:annotation>
<xs:documentation>Speed parameter of I2CPortCreate</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="SlowMode"/>
<xs:enumeration value="FastMode"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="I2CPortWriteMode">
<xs:annotation>
<xs:documentation>Mode parameter of I2CPortWrite</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="DefaultMode"/>
<xs:enumeration value="RepeatedStartMode"/>
<xs:enumeration value="BurstMode"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="HexData">
<xs:annotation>
<xs:documentation>String which represents byte array as hexadecimal digits with space after each two digits</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9a-fA-F]{2}(\s+[0-9a-fA-F]{2})*"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="SplitterCombinerType">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/SplitterCombinerType</UCSElementPath>TO DO</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="MOSTSocket" type="SCMOSTSocketType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/SplitterCombinerType/MOSTSocket</UCSElementPath>TO DO - [Combination of Splitter and combiner.
Splitter : enables two variants of routing to be set-up. The first variant is a splitter created with a peripheral socket.
It enables data routing from a specified segment of the peripheral socket to a MOST socket. The second variant is a splitter created with a MOST socket.
This variant enables data routing in its whole (no segments) from the MOST socket to multiple peripheral sockets.
Combiner : A combiner enables streaming data to be routed from a MOST socket to a specified segment of a peripheral socket.
The same combiner may be used in multiple connections, which enables grouping of data streams from multiple MOST sockets into the same peripheral socket ]</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="BytesPerFrame" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/SplitterCombinerType/@BytesPerFrame</UCSElementPath>
Total number of data bytes to be transferred each MOST network frame.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="MOSTSocketType">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/MOSTSocketType</UCSElementPath>TO DO</xs:documentation>
</xs:annotation>
<xs:attribute name="Route" type="xs:string" use="required">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/MOSTSocketType/@Route</UCSElementPath>
A (virtual) route is a logical unidirectional connection between two endpoints. An endpoint acts as a MOST connection in INIC plus the internal linked resources</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Bandwidth" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/MOSTSocketType/@Bandwidth</UCSElementPath>TO DO - [Bandwidth of MOST Socket Type] </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsActive" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/MOSTSocketType/@IsActive</UCSElementPath>TO DO -[Determines the state of MOST Socket type : Active/Inactive]</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RouteId" type="Number" use="optional">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/MOSTSocketType/@RouteId</UCSElementPath>
User-defined route identifier</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="SCMOSTSocketType">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/SCMOSTSocketType</UCSElementPath>TO DO</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="MOSTSocketType">
<xs:attribute name="Offset" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation><UCSElementPath>/Unicens/SCMOSTSocketType/@Offset</UCSElementPath>
Offset from where the socket data should be routed from a splitter.
</xs:documentation>
</xs:annotation></xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
|