EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
cdc.h File Reference

Detailed Description

USB Communication Device Class (CDC) driver.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

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.

Go to the source code of this file.

Functions

void CDC_Init (void)
 CDC device initialization.
 
int CDC_SetupCmd (const USB_Setup_TypeDef *setup)
 Handle USB setup commands. Implements CDC class specific commands. More...
 
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. More...