USB Component  Version 6.17.0
MDK Middleware for USB Device and Host Communication
CDC (ACM): Communication Device Class (Abstract Control Model)

USB Host functions to support Communication Device Class (CDC) Abstract Control Model (ACM) USB Devices. More...

Content

 User API
 User API reference of the Communication Device Class (Abstract Control Model).
 
 Configuration
 Configuration of the USB Host CDC Class in µVision.
 

Description

USB Host functions to support Communication Device Class (CDC) Abstract Control Model (ACM) USB Devices.

The CDC ACM class in the USB Host Component is used for attaching communication devices to your system.

Refer to:

Software Structure
The application starts the USB Host by calling USBH_Initialize. The USB Host Core will wait until an USB CDC ACM Device is attached to the system. As soon as this happens it will enumerate the device and it will be ready to be used by the application. The handling of the CDC class events is implemented in USBH_CDCn_IntIn_Thread.

The transmit functions USBH_CDC_ACM_Send and USBH_CDC_ACM_Receive will be called by the user thread directly to communicate with the CDC USB Device.

msc_inline_mscgraph_8

Implementation

To create an USB Host with support for the CDC class: