Hardware Reference
In-Depth Information
Table
9-9 lists the macros for member c_cflag .
Table 9-9. Control (c_cflag) Flags
Flag
Baud
Flag
Baud
Flag
Description
B0
Hang-up
B115200
115,200
CLOCAL
Ignore modem controls
B50
50
B230400
230,400
CMSPAR
Stick parity
B75
75
B460800
460,800
CREAD
Enable receiver
B110
110
B500000
500,000
CRTSCTS
Enable RTS/CTS flow
B134
134
B576000
576,000
CS5
5 data bits
B150
150
B921600
921,600
CS6
6 data bits
B200
200
B1000000
1,000,000
CS7
7 data bits
B300
300
B1152000
1,152,000
CS8
8 data bits
B600
600
B1500000
1,500,000
CSIZE
Data bits mask
B1200
1,200
B2000000
2,000,000
CSTOPB
2 stop bits (else 1)
B1800
1,800
B2500000
2,500,000
HUPCL
Modem control hang-up
B2400
2,400
B3000000
3,000,000
PARENB
Enable parity
B4800
4,800
B3500000
3,500,000
PARODD
Odd or stick = 1 parity
B9600
9,600
B4000000
4,000,000
CBAUD
Rate mask
B19200
19,200
CBAUDEX
Extended mask
B38400
38,400
CIBAUD
Input rate mask
B57600
57,600
E XTA
External A
EXTB
External B
 
Search WWH ::




Custom Search