cdc.h File Reference

USB Communication Device Class (CDC) driver.



Copyright 2015 Silicon Labs, Inc.

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file cdc.h .


void CDC_Init (void)
CDC device initialization.
int CDC_SetupCmd (const USB_Setup_TypeDef *setup)
Handle USB setup commands. Implements CDC class specific commands.
void CDC_StateChangeEvent ( USBD_State_TypeDef oldState, USBD_State_TypeDef newState)
Callback function called each time the USB device state is changed. Starts CDC operation when device has been configured by USB host.