Entry Parameter:
AH = 0
AL bits 7-4: 0001xxxx
baud 150
0010xxxx
baud
300
0011xxxx
baud
600
0100xxxx
baud
1200
0101xxxx
baud
2400
0110xxxx
baud
4800
0111xxxx
baud
9600
1000xxxx
baud
19200
1001xxxx
baud
38400
1010xxxx
baud
57600
bits 3-2:
xxxx00xx
none
parity
xxxx01xx
odd
parity
xxxx11xx
even
parity
bit 1: xxxxxx0x
one stop
bit
xxxxxx1x
two
stop bits
bit 0: xxxxxxx0
7 data bits
xxxxxxx1
8 data
bits
Return Value: None
Example
:
int TC_232_parameter(long baud,int parity,int stop,int data)
{
unsigned char cc=0;
unsigned int i_baud;
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...