#define CDCSetLineCoding(baud,format,parity,dataSize) {\ CDCSetBaudRate(baud);\ CDCSetCharacterFormat(format);\ CDCSetParity(parity);\ CDCSetDataSize(dataSize);\ }
This function is used to manually set the data reported back to the host during a get line coding request.
Typical Usage:
CDCSetLineCoding(19200, NUM_STOP_BITS_1, PARITY_NONE, 8);
This function is optional for CDC devices that do not actually convert the USB traffic to a hardware UART.
None
None
MLA - USB Library Help Version : 2.16
![]() |