Technical Reference
Windows 2000/XP
Test function Test Flag
1. PurgeComm PURGE_TXABORT
PURGE_RXABORT
PURGE_TXCLEAR
2. ClearCommBreak()
3. SetCommBreak()
4. ClearCommError CE_BREAK
CE_RXPARITY
CE_FRAME
CE_RXOVER
fCtsHold
fDsrHold
fXoffHold
cbInQue
cbOutQue
5. EscapeCommFunction SETDTR
SETRTS
SETXON
SETXOFF
SETBREAK,CLRBREAK
6. GetCommMask
EV_CTS
EV_DSR
EV_RING
EV_RLSD
EV_RXCHAR
EV_RXFLAG
EV_TXEMPTY
8. GetCommModemStatus()
9. SetCommMask EV_CTS
EV_DSR
EV_RLSD
EV_RXCHAR
EV_RXFLAG
EV_TXEMPTY
EV_TXEMPTY
10. SetCommState BaudRate
Parity, ByteSize, StopBits,fParity
ErrorChar,fErrorChar
fNull
fRtsControl=RTS_CONTROL_DISABLE
fRtsControl=RTS_CONTROL_ENABLE
fDtrControl=DTR_CONTROL_DISABLE
fDtrControl=DTR_CONTROL_ENABLE
FDsrSensitivity=TRUE
NPort 1220/1240 USB-to-Serial Hub User’s Manual
A-3