SerialDevice.DataBits Property

Definition

The number of data bits in each character value that is transmitted or received, and does not include parity bits or stop bits.

public:
 property unsigned short DataBits { unsigned short get(); void set(unsigned short value); };
uint16_t DataBits();

void DataBits(uint16_t value);
public ushort DataBits { get; set; }
var uInt16 = serialDevice.dataBits;
serialDevice.dataBits = uInt16;
Public Property DataBits As UShort

Property Value

UInt16

uint16_t

The number of data bits in each character value that is transmitted or received.

Remarks

DataBits corresponds to the WordLength member of the SERIAL_LINE_CONTROL structure.

Applies to