USB Library
CDCSetLineCoding Macro
Syntax
#define CDCSetLineCoding(baud,format,parity,dataSize) {\
            CDCSetBaudRate(baud);\
            CDCSetCharacterFormat(format);\
            CDCSetParity(parity);\
            CDCSetDataSize(dataSize);\
        }
Description

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.

Preconditions

None

Remarks

None

MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla