USBIP C library 0.7.0
Virtual USB devices & host drivers over USB/IP
Loading...
Searching...
No Matches
cdc_line_coding Struct Reference

Serial line parameters (USB CDC "line coding"). More...

#include <classes/cdc_acm.h>

Data Fields

uint32_t baud
 Baud rate.
 
uint8_t stop_bits
 0 = 1 stop bit, 1 = 1.5, 2 = 2
 
uint8_t parity
 0 none, 1 odd, 2 even, 3 mark, 4 space
 
uint8_t data_bits
 5, 6, 7, 8, or 16
 

Detailed Description

Serial line parameters (USB CDC "line coding").

Field Documentation

◆ baud

uint32_t cdc_line_coding::baud

Baud rate.

◆ stop_bits

uint8_t cdc_line_coding::stop_bits

0 = 1 stop bit, 1 = 1.5, 2 = 2

◆ parity

uint8_t cdc_line_coding::parity

0 none, 1 odd, 2 even, 3 mark, 4 space

◆ data_bits

uint8_t cdc_line_coding::data_bits

5, 6, 7, 8, or 16


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