V104
Appendix F: Software Glossary
F-6
b
Baud
6
2400
7
4800
8
9600
9
19,200 (default)
10
38,400
11
57,600
12
76,800
13
115,000
14
230,000
15
460,800
16
1 Meg
Reference: s0_echo.c, s1_echo.c, s1_0.c
void scc_init( unsigned char m1, unsigned char m2, unsigned char b,
scc.h
unsigned char* ibuf,int isiz, unsigned char* obuf,int osiz, COM *c)
Serial port 0, 1 initialization.
Var: m1 = SCC691 MR1
m2 = SCC691 MR2
b – baud rate.
ibuf – pointer to input buffer array
isiz – input buffer size
obuf – pointer to output buffer array
osiz – ouput buffer size
c – pointer to serial port structure. See VE.H for COM
structure.
m1 bit
Definition
7
(RxRTS) receiver request-to-send control, 0=no, 1=yes
6
(RxINT) receiver interrupt select, 0=RxRDY, 1=FIFO FULL
5
(Error Mode) Error Mode Select, 0 = Char., 1=Block
4-3
(Parity Mode), 00=with, 01=Force, 10=No, 11=Special
2
(Parity Type), 0=Even, 1=Odd
1-0
(# bits) 00=5, 01=6, 10=7, 11=8
m2 bit
Definition
7-6
(Modes) 00=Normal, 01=Echo, 10=Local loop, 11=Remote loop
5
(TxRTS) Transmit RTS control, 0=No, 1= Yes
4
(CTS Enable Tx), 0=No, 1=Yes
3-0
(Stop bit), 0111=1, 1111=2
b
baud
1
110
2
150
3
300
4
600
5
1200
6
2400
7
4800
8
9600
9
19200
10
31250
11
62500
12
125000
13
250000