CDCDSerialDriver.h
Default mainpage
at91lib
usb
device
cdc-serial
CDCDSerialDriver.h
Description
Overview
Description
Purpose
Definition of a class for implementing a USB
device
CDC serial driver.
Usage
Re-implement the
USBDCallbacks_RequestReceived
method to pass received requests to
CDCDSerialDriver_RequestHandler
. *This is automatically done unless the NOAUTOCALLBACK symbol is defined*.
Initialize the CDC serial and USB
drivers
using
CDCDSerialDriver_Initialize
.
Logically connect the
device
to the host using
USBD_Connect
.
Send serial
data
to the USB host using
CDCDSerialDriver_Write
.
Receive serial
data
from the USB host using
CDCDSerialDriver_Read
.