Wixel SDK
Data Fields
ACM_LINE_CODING Struct Reference

#include <com.h>

Data Fields

unsigned long dwDTERate
 
unsigned char bCharFormat
 
unsigned char bParityType
 
unsigned char bDataBits
 

Detailed Description

Specifies the type of coding to use on an asynchronous serial line.

This struct is defined in PSTN120.pdf in Table 17: Line Coding Structure. PSTN120.pdf is available for download from USB Implementers Forum at this url: http://www.usb.org/developers/devclass_docs

Definition at line 66 of file com.h.

Field Documentation

unsigned char bCharFormat

The number of stop bits. Valid values are STOP_BITS_1, STOP_BITS_1_5, and STOP_BITS_2.

Definition at line 73 of file com.h.

unsigned char bDataBits

The number of data bits in each byte. Valid values are 5, 6, 7, 8 and 16.

Definition at line 81 of file com.h.

unsigned char bParityType

The parity type. Valid values are PARITY_NONE, PARITY_ODD, PARITY_EVEN, PARITY_MARK, and PARITY_SPACE.

Definition at line 77 of file com.h.

unsigned long dwDTERate

Baud rate, in bits per second.

Definition at line 69 of file com.h.


The documentation for this struct was generated from the following file: