Functions
|
Name |
Description |
|
This function initializes the CDC function driver. This function should be called after the SET_CONFIGURATION command. | |
|
CDCTxService handles device-to-host transaction(s). This function should be called once per Main Program loop after the device reaches the configured state. | |
|
getsUSBUSART copies a string of BYTEs received through USB CDC Bulk OUT endpoint to a user's specified location. It is a non-blocking function. It does not wait for data if there is no data available. Instead it returns '0' to notify the caller that there is no data available. | |
|
putrsUSBUSART writes a string of data to the USB including the null character. Use this version, 'putrs', to transfer data literals and data located in program memory. | |
|
putsUSBUSART writes a string of data to the USB including the null character. Use this version, 'puts', to transfer data from a RAM buffer. | |
|
putUSBUSART writes an array of data to the USB. Use this version, is capable of transfering 0x00 (what is typically a NULL character in any of the string transfer functions). |
Macros
|
Name |
Description |
|
This macro is used to check if the CDC class is ready to send more data. | |
|
This function is used to manually set the data reported back to the host during a get line coding request. (optional) | |
|
This macro is used set the baud rate reported back to the host during a get line coding request. (optional) | |
|
This macro is used manually set the character format reported back to the host during a get line coding request. (optional) | |
|
This function is used manually set the parity format reported back to the host during a get line coding request. (optional) | |
|
This function is used manually set the number of data bits reported back to the host during a get line coding request. (optional) |
MCHPFSUSB Device Library > Function Drivers > Communication Device Class (CDC) > Public API Members > Functions and Macros