USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Files > usb_host_cdc.h
MPLAB Harmony USB Stack
usb_host_cdc.h

Microchip Technology Inc.

File Name

usb_host_cdc.h

Description

USB Host CDC Client Driver Interface Definition 

This header file contains the function prototypes and definitions of the data types and constants that make up the interface to the USB Host CDC Client Driver.

Enumerations
 
Name 
Description 
 
Identifies the possible events that the CDC Class Driver can generate. 
 
Return type of the USB CDC Host Client Driver Event Handler. 
 
USB Host CDC Client Driver Result enumeration. 
Functions
 
Name 
Description 
 
This function sends a request to the attached device to set its Control Line State. 
 
This function sends a request to the attached device to set its Line Coding. 
 
This function will set an attach event handler. 
 
This function closes the CDC device. 
 
This function returns the Device Object Handle for this CDC device. 
 
Registers an event handler with the CDC Host Client Driver. 
 
This function opens the specified CDC device. 
 
This function will read data from the attached device. 
 
This function will request Serial State Notification from the attached device. 
 
This function will write data to the attached device. 
Macros
 
Name 
Description 
 
Defines an Invalid CDC Client Driver Handle. 
 
USB HOST CDC Client Driver Interface 
 
USB Host CDC Client Driver Invalid Request Handle 
 
USB Host CDC Client Driver Invalid Transfer Handle Definition. 
Structures
 
Name 
Description 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Event Data. 
 
USB Host CDC Client Driver Event Data. 
 
USB Host CDC Client Driver Event Data. 
Types
 
Name 
Description 
 
USB Host CDC Client Driver Attach Event Handler Function Pointer Type. 
 
USB Host CDC Client Driver Event Handler Function Pointer Type. 
 
Defines the type of the CDC Host Client Driver Handle 
 
Defines the type of the CDC Host Client Object. 
 
USB Host CDC Client Driver Request Handle 
 
USB Host CDC Client Driver Transfer Handle