comparison cdg3/sap/uart.pdf @ 16:c15047b3d00d

cdg3: import from freecalypso-citrine/cdg
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:27:34 +0000
parents
children
comparison
equal deleted inserted replaced
15:c8bdae60fcb1 16:c15047b3d00d
1 ;********************************************************************************
2 ;*** File : uart.pdf
3 ;*** Creation : Wed Mar 11 09:58:54 CST 2009
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002
6 ;********************************************************************************
7 ;*** Document Type : Service Access Point Specification
8 ;*** Document Name : uart
9 ;*** Document No. : 8441.117.99.014
10 ;*** Document Date : 2002-03-11
11 ;*** Document Status: BEING_PROCESSED
12 ;*** Document Author: TVO
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:56:02 2007"
18 PRAGMA LAST_MODIFIED "2002-03-11"
19 PRAGMA ID_AND_VERSION "8441.117.99.014"
20
21
22
23 CONST UART_DLCI_NOT_MULTIPLEXED 0 ;
24
25
26
27 VALTAB VAL_esc_valid
28 VAL 0 UART_IO_ESC_UNDEF "values for escape sequence detection remain unchanged"
29 VAL 1 UART_IO_ESC_VALID "values for escape sequence detection are valid"
30
31 VALTAB VAL_xoff
32 VAL 19 UART_IO_XOFF_DEFAULT "default value for XOff character"
33
34 VALTAB VAL_xon
35 VAL 17 UART_IO_XON_DEFAULT "default value for XOn character"
36
37 VALTAB VAL_parity
38 VAL 255 UART_IO_PA_UNDEF "parity remain unchanged"
39 VAL 0 UART_IO_PA_NONE "no parity and no space"
40 VAL 1 UART_IO_PA_EVEN "even parity"
41 VAL 2 UART_IO_PA_ODD "odd parity"
42 VAL 3 UART_IO_PA_SPACE "no parity but space"
43
44 VALTAB VAL_flow_tx
45 VAL 255 UART_IO_FC_TX_UNDEF "TX flow control mode remain unchanged"
46 VAL 0 UART_IO_FC_TX_NONE "no TX flow control"
47 VAL 1 UART_IO_FC_TX_RTS "RTS/CTS flow control"
48 VAL 2 UART_IO_FC_TX_XOFF "XON/XOFF flow control"
49
50 VALTAB VAL_esc_char
51 VAL 43 UART_IO_ESC_CHAR_DEFAULT "default value for escape character ('+')"
52
53 VALTAB VAL_flow_rx
54 VAL 255 UART_IO_FC_RX_UNDEF "RX flow control mode remain unchanged"
55 VAL 0 UART_IO_FC_RX_NONE "no RX flow control"
56 VAL 1 UART_IO_FC_RX_RTS "RTS/CTS flow control"
57 VAL 2 UART_IO_FC_RX_XOFF "XON/XOFF flow control"
58
59 VALTAB VAL_nsb
60 VAL 255 UART_IO_SB_UNDEF "stop bits remain unchanged"
61 VAL 1 UART_IO_SB_1 "one stop bit"
62 VAL 2 UART_IO_SB_2 "two stop bits"
63
64 VALTAB VAL_speed
65 VAL 255 UART_IO_SPEED_UNDEF "baud rate remain unchanged"
66 VAL 0 UART_IO_SPEED_AUTO "auto detection of baud rate"
67 VAL 1 UART_IO_SPEED_75 "baud rate of 75 bits per second"
68 VAL 2 UART_IO_SPEED_150 "baud rate of 150 bits per second"
69 VAL 3 UART_IO_SPEED_300 "baud rate of 300 bits per second"
70 VAL 4 UART_IO_SPEED_600 "baud rate of 600 bits per second"
71 VAL 5 UART_IO_SPEED_1200 "baud rate of 1200 bits per second"
72 VAL 6 UART_IO_SPEED_2400 "baud rate of 2400 bits per second"
73 VAL 7 UART_IO_SPEED_4800 "baud rate of 4800 bits per second"
74 VAL 8 UART_IO_SPEED_7200 "baud rate of 7200 bits per second"
75 VAL 9 UART_IO_SPEED_9600 "baud rate of 9600 bits per second"
76 VAL 10 UART_IO_SPEED_14400 "baud rate of 14400 bits per second"
77 VAL 11 UART_IO_SPEED_19200 "baud rate of 19200 bits per second"
78 VAL 12 UART_IO_SPEED_28800 "baud rate of 28800 bits per second"
79 VAL 13 UART_IO_SPEED_33900 "baud rate of 33900 bits per second"
80 VAL 14 UART_IO_SPEED_38400 "baud rate of 38400 bits per second"
81 VAL 15 UART_IO_SPEED_57600 "baud rate of 57600 bits per second"
82 VAL 16 UART_IO_SPEED_115200 "baud rate of 115200 bits per second"
83 VAL 17 UART_IO_SPEED_203125 "baud rate of 203125 bits per second"
84 VAL 18 UART_IO_SPEED_406250 "baud rate of 406250 bits per second"
85 VAL 19 UART_IO_SPEED_812500 "baud rate of 812500 bits per second"
86
87 VALTAB VAL_esc_gp
88 VAL 1000 UART_IO_ESC_GP_DEFAULT "default value for guard period (1000 ms)"
89 VAL 0 UART_IO_ESC_OFF "no escape sequence detection"
90
91 VALTAB VAL_xoff_valid
92 VAL 0 UART_IO_XOFF_UNDEF "XOff character remain unchanged"
93 VAL 1 UART_IO_XOFF_VALID "XOff character valid"
94
95 VALTAB VAL_xon_valid
96 VAL 0 UART_IO_XON_UNDEF "XOn character remain unchanged"
97 VAL 1 UART_IO_XON_VALID "XOn character valid"
98
99 VALTAB VAL_bpc
100 VAL 255 UART_IO_BPC_UNDEF "bits per character remain unchanged"
101 VAL 7 UART_IO_BPC_7 "7 bits per character"
102 VAL 8 UART_IO_BPC_8 "8 bits per character"
103
104 VALTAB VAL_dti_conn
105 VAL 0 UART_CONNECT_DTI "Connect DTI to UART"
106 VAL 1 UART_DISCONNECT_DTI "Disconnect DTI from UART"
107
108 VALTAB VAL_line_state
109 VAL 0 UART_LINE_ON "activate line"
110 VAL 1 UART_LINE_OFF "deactivate line"
111
112 VALTAB VAL_detection
113 VAL 0 UART_ESC_DETECTION_OFF "turn off escape sequence detection"
114 VAL 1 UART_ESC_DETECTION_ON "turn on escape sequence detection"
115
116 VALTAB VAL_cause
117 VAL 1 UART_DETECT_ESC "escape sequence detected"
118 VAL 2 UART_DETECT_DTR "DTR line of serial link drops"
119
120 VALTAB VAL_error
121 VAL 8 UART_ERROR_NO_CHANNEL "can not open VSI communication channel"
122 VAL 9 UART_ERROR_MUX_ESTABLISH_FAIL "establishment of multiplexer operation fails"
123 VAL 10 UART_ERROR_MUX_NO_RESPONSE "no response from TE multiplexer"
124
125 VALTAB VAL_mode
126 VAL 0 UART_MUX_MODE_BASIC "basic option"
127 VAL 1 UART_MUX_MODE_ADVANCED "advanced option"
128
129 VALTAB VAL_frame_type
130 VAL 0 UART_MUX_FRAME_UIH "UIH frames used only"
131 VAL 1 UART_MUX_FRAME_UI "UI frames used only"
132 VAL 2 UART_MUX_FRAME_I "I frames used only"
133 VAL 0 UART_MUX_FRAME_DEFAULT "default value"
134
135 VALTAB VAL_n1
136 VAL 31 UART_MUX_N1_BASIC_DEFAULT "default value for the basic option"
137 VAL 64 UART_MUX_N1_ADVANCED_DEFAULT "default value for the advanced option"
138
139 VALTAB VAL_t1
140 VAL 10 UART_MUX_T1_DEFAULT "default value (100 ms)"
141
142 VALTAB VAL_n2
143 VAL 3 UART_MUX_N2_DEFAULT "default value"
144
145 VALTAB VAL_t2
146 VAL 30 UART_MUX_T2_DEFAULT "default value (300 ms)"
147
148 VALTAB VAL_t3
149 VAL 10 UART_MUX_T3_DEFAULT "default value (10 seconds)"
150
151 VALTAB VAL_convergence
152 VAL 1 UART_MUX_CONVERGENCE_UOS "unstructed octet stream"
153 VAL 2 UART_MUX_CONVERGENCE_UOSV24 "unstructed octet stream with transmission of V.24 signal states"
154 VAL 3 UART_MUX_CONVERGENCE_UFD "uninterruptible framed data"
155 VAL 4 UART_MUX_CONVERGENCE_IFD "interruptible framed data"
156 VAL 1 UART_MUX_CONVERGENCE_DEFAULT "default value"
157
158 VALTAB VAL_service
159 VAL 0 UART_MUX_SERVICE_AT "AT command mode"
160 VAL 1 UART_MUX_SERVICE_DATA "data service"
161 VAL 2 UART_MUX_SERVICE_VOICE_0621 "voice service (coded - GSM 06.21)"
162 VAL 3 UART_MUX_SERVICE_VOICE_PCM64U "voice service (coded - PCM 64 kbits/s U-law)"
163 VAL 4 UART_MUX_SERVICE_VOICE_ADPCM "voice service (coded - ADPCM 32 kbits/s)"
164 VAL 5 UART_MUX_SERVICE_VOICE_PCM64A "voice service (coded - PCM 64 kbits/s A-law)"
165 VAL 6 UART_MUX_SERVICE_VOICE_PCM128 "voice service (coded - PCM 128 kbits/s)"
166 VAL 7 UART_MUX_SERVICE_GPRS "GPRS data"
167 VAL 8 UART_MUX_SERVICE_CS "Circuit-Switched data"
168 VAL 9 UART_MUX_SERVICE_TRACE "Trace / Debug output"
169 VAL 0 UART_MUX_SERVICE_DEFAULT "default value"
170
171
172
173
174 VAR device "device number" B
175
176
177 VAR dlci "data link connection identifier" B
178
179
180 VAR speed "baud rate" B
181
182 VAL @p_uart - VAL_speed@
183
184 VAR bpc "bits per character" B
185
186 VAL @p_uart - VAL_bpc@
187
188 VAR nsb "stop bits" B
189
190 VAL @p_uart - VAL_nsb@
191
192 VAR parity "parity of serial link" B
193
194 VAL @p_uart - VAL_parity@
195
196 VAR flow_rx "flow control mode RX" B
197
198 VAL @p_uart - VAL_flow_rx@
199
200 VAR flow_tx "flow control mode TX" B
201
202 VAL @p_uart - VAL_flow_tx@
203
204 VAR xon_valid "indicator whether xon is valid" B
205
206 VAL @p_uart - VAL_xon_valid@
207
208 VAR xon "XOn character for XON/XOFF flow control" B
209
210 VAL @p_uart - VAL_xon@
211
212 VAR xoff_valid "indicator whether xoff is valid" B
213
214 VAL @p_uart - VAL_xoff_valid@
215
216 VAR xoff "XOff character for XON/XOFF flow control" B
217
218 VAL @p_uart - VAL_xoff@
219
220 VAR esc_valid "indicator whether esc_char and esc_gp are valid" B
221
222 VAL @p_uart - VAL_esc_valid@
223
224 VAR esc_char "escape character" B
225
226 VAL @p_uart - VAL_esc_char@
227
228 VAR esc_gp "guard period" S
229
230 VAL @p_uart - VAL_esc_gp@
231
232 VAR dti_conn "DTI connect" B
233
234 VAL @p_uart - VAL_dti_conn@
235
236 VAR direction "direction of the DTI link" B
237
238
239 VAR link_id "identifier of DTI connection" L
240
241
242 VAR entity_name "communication entity name" L
243
244
245 VAR uart_instances "number of UART instances" B
246
247
248 VAR line_state "state of line" B
249
250 VAL @p_uart - VAL_line_state@
251
252 VAR detection "escape sequence detection" B
253
254 VAL @p_uart - VAL_detection@
255
256 VAR cause "cause of indication" B
257
258 VAL @p_uart - VAL_cause@
259
260 VAR error "error code" B
261
262 VAL @p_uart - VAL_error@
263
264 VAR mode "transparency mechanism" B
265
266 VAL @p_uart - VAL_mode@
267
268 VAR frame_type "type of frame" B
269
270 VAL @p_uart - VAL_frame_type@
271
272 VAR n1 "maximum frame size" S
273
274 VAL @p_uart - VAL_n1@
275
276 VAR t1 "acknowledgement timer" B
277
278 VAL @p_uart - VAL_t1@
279
280 VAR n2 "maximum numer of retransmissions" B
281
282 VAL @p_uart - VAL_n2@
283
284 VAR t2 "response timer for the multiplexer control channel" B
285
286 VAL @p_uart - VAL_t2@
287
288 VAR t3 "wake up response timer" B
289
290 VAL @p_uart - VAL_t3@
291
292 VAR convergence "convergence layer" B
293
294 VAL @p_uart - VAL_convergence@
295
296 VAR service "service on DLC" B
297
298 VAL @p_uart - VAL_service@
299
300 VAR devId "device ID" L
301
302
303
304
305
306 COMP comPar "Parameters of serial link"
307 {
308 speed ; baud rate
309 bpc ; bits per character
310 nsb ; stop bits
311 parity ; parity of serial link
312 flow_rx ; flow control mode RX
313 flow_tx ; flow control mode TX
314 xon_valid ; indicator whether xon is valid
315 xon ; XOn character for XON/XOFF flow control
316 xoff_valid ; indicator whether xoff is valid
317 xoff ; XOff character for XON/XOFF flow control
318 esc_valid ; indicator whether esc_char and esc_gp are valid
319 esc_char ; escape character
320 esc_gp ; guard period
321 }
322
323
324
325
326
327
328 ; UART_PARAMETERS_REQ 0x7400
329 ; UART_PARAMETERS_CNF 0x3400
330 ; UART_PARAMETERS_IND 0x3401
331 ; UART_DTI_REQ 0x7401
332 ; UART_DTI_CNF 0x3402
333 ; UART_DTI_IND 0x3403
334 ; UART_DISABLE_REQ 0x7402
335 ; UART_DISABLE_CNF 0x3404
336 ; UART_RING_REQ 0x7403
337 ; UART_RING_CNF 0x3405
338 ; UART_DCD_REQ 0x7404
339 ; UART_DCD_CNF 0x3406
340 ; UART_ESCAPE_REQ 0x7405
341 ; UART_ESCAPE_CNF 0x3407
342 ; UART_DETECTED_IND 0x3408
343 ; UART_ERROR_IND 0x3409
344 ; UART_MUX_START_REQ 0x7406
345 ; UART_MUX_START_CNF 0x340A
346 ; UART_MUX_DLC_ESTABLISH_IND 0x340B
347 ; UART_MUX_DLC_ESTABLISH_RES 0x7407
348 ; UART_MUX_DLC_RELEASE_REQ 0x7408
349 ; UART_MUX_DLC_RELEASE_IND 0x340C
350 ; UART_MUX_SLEEP_REQ 0x7409
351 ; UART_MUX_SLEEP_IND 0x340D
352 ; UART_MUX_WAKEUP_REQ 0x740A
353 ; UART_MUX_WAKEUP_IND 0x340E
354 ; UART_MUX_CLOSE_REQ 0x740B
355 ; UART_MUX_CLOSE_IND 0x340F
356 ; UART_DRIVER_SENT_IND 0x740C
357 ; UART_DRIVER_RECEIVED_IND 0x740D
358 ; UART_DRIVER_FLUSHED_IND 0x740E
359 ; UART_DRIVER_CONNECT_IND 0x740F
360 ; UART_DRIVER_DISCONNECT_IND 0x7410
361 ; UART_DRIVER_CLEAR_IND 0x7411
362
363
364
365 PRIM UART_PARAMETERS_REQ 0x7400
366 {
367 device ; device number
368 comPar ; Parameters of serial link
369 }
370
371
372
373
374
375
376 PRIM UART_PARAMETERS_CNF 0x3400
377 {
378 device ; device number
379 }
380
381
382
383
384
385
386 PRIM UART_PARAMETERS_IND 0x3401
387 {
388 uart_instances ; number of UART instances
389 }
390
391
392
393
394
395
396 PRIM UART_DTI_REQ 0x7401
397 {
398 dti_conn ; DTI connect
399 device ; device number
400 dlci ; data link connection identifier
401 direction ; direction of the DTI link
402 link_id ; identifier of DTI connection
403 entity_name ; communication entity name
404 }
405
406
407
408
409
410
411 PRIM UART_DTI_CNF 0x3402
412 {
413 dti_conn ; DTI connect
414 device ; device number
415 dlci ; data link connection identifier
416 }
417
418
419
420
421
422
423 PRIM UART_DTI_IND 0x3403
424 {
425 dti_conn ; DTI connect
426 device ; device number
427 dlci ; data link connection identifier
428 }
429
430
431
432
433
434
435 PRIM UART_DISABLE_REQ 0x7402
436 {
437 device ; device number
438 }
439
440
441
442
443
444
445 PRIM UART_DISABLE_CNF 0x3404
446 {
447 device ; device number
448 }
449
450
451
452
453
454
455 PRIM UART_RING_REQ 0x7403
456 {
457 device ; device number
458 dlci ; data link connection identifier
459 line_state ; states of line
460 }
461
462
463
464
465
466
467 PRIM UART_RING_CNF 0x3405
468 {
469 device ; device number
470 dlci ; data link connection identifier
471 }
472
473
474
475
476
477
478 PRIM UART_DCD_REQ 0x7404
479 {
480 device ; device number
481 dlci ; data link connection identifier
482 line_state ; states of line
483 }
484
485
486
487
488
489
490 PRIM UART_DCD_CNF 0x3406
491 {
492 device ; device number
493 dlci ; data link connection identifier
494 }
495
496
497
498
499
500
501 PRIM UART_ESCAPE_REQ 0x7405
502 {
503 device ; device number
504 dlci ; data link connection identifier
505 detection ; escape sequence detection
506 }
507
508
509
510
511
512
513 PRIM UART_ESCAPE_CNF 0x3407
514 {
515 device ; device number
516 dlci ; data link connection identifier
517 }
518
519
520
521
522
523
524 PRIM UART_DETECTED_IND 0x3408
525 {
526 device ; device number
527 dlci ; data link connection identifier
528 cause ; cause of indication
529 }
530
531
532
533
534
535
536 PRIM UART_ERROR_IND 0x3409
537 {
538 device ; device number
539 dlci ; data link connection identifier
540 error ; error code
541 }
542
543
544
545
546
547
548 PRIM UART_MUX_START_REQ 0x7406
549 {
550 device ; device number
551 mode ; transparency mechanism
552 frame_type ; type of frame
553 n1 ; maximum frame size
554 t1 ; acknowledgement timer
555 n2 ; maximum numer of retransmissions
556 t2 ; response timer for the multiplexer control channel
557 t3 ; wake up response timer
558 }
559
560
561
562
563
564
565 PRIM UART_MUX_START_CNF 0x340A
566 {
567 device ; device number
568 }
569
570
571
572
573
574
575 PRIM UART_MUX_DLC_ESTABLISH_IND 0x340B
576 {
577 device ; device number
578 dlci ; data link connection identifier
579 convergence ; convergence layer
580 n1 ; maximum frame size
581 service ; service on DLC
582 }
583
584
585
586
587
588
589 PRIM UART_MUX_DLC_ESTABLISH_RES 0x7407
590 {
591 device ; device number
592 dlci ; data link connection identifier
593 n1 ; maximum frame size
594 }
595
596
597
598
599
600
601 PRIM UART_MUX_DLC_RELEASE_REQ 0x7408
602 {
603 device ; device number
604 dlci ; data link connection identifier
605 }
606
607
608
609
610
611
612 PRIM UART_MUX_DLC_RELEASE_IND 0x340C
613 {
614 device ; device number
615 dlci ; data link connection identifier
616 }
617
618
619
620
621
622
623 PRIM UART_MUX_SLEEP_REQ 0x7409
624 {
625 device ; device number
626 }
627
628
629
630
631
632
633 PRIM UART_MUX_SLEEP_IND 0x340D
634 {
635 device ; device number
636 }
637
638
639
640
641
642
643 PRIM UART_MUX_WAKEUP_REQ 0x740A
644 {
645 device ; device number
646 }
647
648
649
650
651
652
653 PRIM UART_MUX_WAKEUP_IND 0x340E
654 {
655 device ; device number
656 }
657
658
659
660
661
662
663 PRIM UART_MUX_CLOSE_REQ 0x740B
664 {
665 device ; device number
666 }
667
668
669
670
671
672
673 PRIM UART_MUX_CLOSE_IND 0x340F
674 {
675 device ; device number
676 }
677
678
679
680
681
682
683 PRIM UART_DRIVER_SENT_IND 0x740C
684 {
685 devId ; Primitive Item
686 }
687
688
689
690
691
692
693 PRIM UART_DRIVER_RECEIVED_IND 0x740D
694 {
695 devId ; Primitive Item
696 }
697
698
699
700
701
702
703 PRIM UART_DRIVER_FLUSHED_IND 0x740E
704 {
705 devId ; Primitive Item
706 }
707
708
709
710
711
712
713 PRIM UART_DRIVER_CONNECT_IND 0x740F
714 {
715 devId ; Primitive Item
716 }
717
718
719
720
721
722
723 PRIM UART_DRIVER_DISCONNECT_IND 0x7410
724 {
725 devId ; Primitive Item
726 }
727
728
729
730
731
732
733 PRIM UART_DRIVER_CLEAR_IND 0x7411
734 {
735 devId ; Primitive Item
736 }
737
738
739
740
741
742
743
744
745