| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
CDC_LineEncoding_t Struct Reference
Common Class Definitions

CDC Virtual Serial Port Line Encoding Settings Structure. More...

`#include <CDCClassCommon.h>`

## Data Fields
uint32_t | BaudRateBPS
uint8_t | CharFormat
uint8_t | DataBits
uint8_t | ParityType

## Detailed Description

Type define for a CDC Line Encoding structure, used to hold the various encoding parameters for a virtual serial port.

Note
  Regardless of CPU architecture, these values should be stored as little endian.

## Field Documentation

uint32_t CDC_LineEncoding_t::BaudRateBPS

Baud rate of the virtual serial port, in bits per second.

uint8_t CDC_LineEncoding_t::CharFormat

Character format of the virtual serial port, a value from the CDC_LineEncodingFormats_t enum.

uint8_t CDC_LineEncoding_t::DataBits

Bits of data per character of the virtual serial port.

uint8_t CDC_LineEncoding_t::ParityType

Parity setting of the virtual serial port, a value from the CDC_LineEncodingParity_t enum.

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

- Drivers/USB/Class/Common/CDCClassCommon.h