Specifications
V850E2/MN4 USB CDC (Communication Device Class) Driver
R01AN0010EJ0101 Rev.1.01 Page 35 of 117
Feb 01, 2012
(2)
Main Routine Functions
main
[Synopsis]
Perform main processing.
[C language format]
void main(void)
[Parameters]
None
[Return Value]
None
[Function]
This function is called first when the sample driver is started.
The function initializes first the CPU and then the USB function controller. Next, it performs the sample application
processing and monitors the flag (usbf850_rsuspd_flg) that indicates that a suspend has occurred. If a suspend has
occurred, it performs suspend and resume processing at that point.