Specifications

V850E2/MN4 USB CDC (Communication Device Class) Driver
R01AN0010EJ0101 Rev.1.01 Page 58 of 117
Feb 01, 2012
5. Sample Application Specifications
This section describes the sample application that is included in the sample driver.
5.1 Overview
This sample application is provided as a simple example of use of the USB communication device class driver and is
embedded in the main routine of the sample driver.
This sample application performs the sequence of processing required to read data received by the USB function
controller and transmit that read data. It uses various functions provided by the sample driver to perform this sequence
of processing.
5.2 Operation
The sample application performs the flow of operation shown below.
Start of sample application processing
Reception processing for communication class user data
Transmit processing for communication class user data
Yes
FIFO initialized?
Did transmit processing
complete normally?
Did reception processing
complete normally?
No
Clear reception result
No
Yes
No
Yes
Figure 5.1 Sample Application Processing Flowchart