资 源 简 介
/ * BaudRate設定列舉 * /
公共枚举 BaudRateFlag: uint
{
CBR_110 = 110,
CBR_300 = 300,
CBR_600 = 600,
CBR_1200 = 1200,
CBR_2400 = 2400、
CBR_4800 = 4800,
CBR_9600 = 9600,
CBR_14400 = 14400,
CBR_19200 = 19200,
CBR_38400 = 38400,
CBR_57600 = 57600,
CBR_115200 = 115200,
CBR_128000 = 128000,
CBR_256000 = 256000,
}
/ * DTR控制列舉 * /
公共枚举 DtrControlFlag
{
DTR_CONTROL_DISABLE = 0X00,
DTR_CONTROL_ENABLE = 0X01,
DTR_CONTROL_HANDSHAKE = 0X02,
}
/ * RTS控制列舉 * /
公共枚举 RtsControlFlag
{
RTS_CONTROL_DISABLE = 0X00,
RTS_CONTROL_ENABLE = 0X01,
RTS_CONTROL_HANDSHAKE = 0X02,
RTS_CONTROL_TOGGLE = 0X03,
}
/ * 清除通訊緩衝區列舉 * /
公共枚举 PurgeCommFlag: uint
{
PURGE_TXABORT = 0X0001,
PURGE_RXABORT = 0X0002,
PURGE_TXCLEAR = 0X0004,
PURGE_RXCLEAR = 0X0008,
}