The sCOM_ATTR structure
contains information about the COM port.
typedef struct sCOM_ATTR { BYTE
comBaudRate; BYTE
comDataBits; BYTE
comStopBits; BYTE
comParity; BYTE
comFlowControl; } sCOM_ATTR, *pCOM_ATTR; |
comBaudRate
Value |
Meaning |
0 |
1200 bps |
1 |
2400 bps |
2 |
4800 bps |
3 |
9600 bps |
4 |
19200 bps |
5 |
38400 bps |
6 |
57600 bps |
7 |
115200 bps |
comDataBits
Always
1 (8 bits)
comStopBits
Value |
Meaning |
0 |
1 stop bit |
1 |
2 stop bits |
comParity
Always
0 (no parity)
comFlowControl
Always
0 (no flow control)
Requirements
Header |
arclib.h |
Include |
arclib.h |
See Also