跳转至

DD_SERIAL_CONFIG

结构体定义

1
2
3
4
5
6
7
8
typedef struct _dd_serial_config_
{
    unsigned int baudRate;        
    unsigned int dataBit;         
    unsigned int stopBit;         
    unsigned int parity;          
    unsigned int dataFlowControl; 
} DD_SERIAL_CONFIG;
1
2
3
4
5
6
7
8
9
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_SERIAL_CONFIG
{
    public UInt32 baudRate;
    public UInt32 dataBit;
    public UInt32 stopBit;
    public UInt32 parity;
    public UInt32 dataFlowControl;
}

功能描述

序列配置结构体。

成员说明

成员 类型 备注
baudRate unsigned int 波特率。
dataBit unsigned int 数据位。
stopBit unsigned int 停止位。
parity unsigned int 奇偶校验位。
dataFlowControl unsigned int 数据流控制。
错误码