cdc.c File Reference

USB Communication Device Class (CDC) driver. More...

#include "em_device.h"
#include "em_common.h"
#include "em_cmu.h"
#include "em_dma.h"
#include "em_gpio.h"
#include "em_usart.h"
#include "em_usb.h"
#include "bsp.h"
#include "dmactrl.h"
Include dependency graph for cdc.c:
This graph shows which files directly or indirectly include this file:

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.
void CDC_StateChangeEvent (USBD_State_TypeDef oldState, USBD_State_TypeDef newState)
 Callback function called each time the USB device state is changed.

Detailed Description

USB Communication Device Class (CDC) driver.

Version:
4.0.0

License

(C) Copyright 2014 Silicon Labs, 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.c.