CDCInitEP Function

Microchip USB Device Library

USB Device Library Help
CDCInitEP Function
C
void CDCInitEP();
Description

This function initializes the CDC function driver. This function sets the default line coding (baud rate, bit parity, number of data bits, and format). This function also enables the endpoints and prepares for the first transfer from the host. 

This function should be called after the SET_CONFIGURATION command. This is most simply done by calling this function from the USBCBInitEP() function. 

Typical Usage:

    void USBCBInitEP(void)
    {
        CDCInitEP();
    }
Preconditions

None

Remarks

None

Microchip MCHPFSUSB v2.3 - Sept 20, 2008
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.