Specifications

V850E2/MN4 USB CDC (Communication Device Class) Driver
R01AN0010EJ0101 Rev.1.01 Page 45 of 117
Feb 01, 2012
usbf850_receive_EP0
[Synopsis]
Receive USB data for Endpoint0.
[C language format]
INT32 usbf850_receive_EP0(UINT8* data, INT32 len)
[Parameters]
Parameter Description
UINT8* data Pointer to receive data buffer
INT32 len Receive data size
[Return Value]
Symbol Description
DEV_OK Normal termination
DEV_ERROR Abnormal termination
[Function]
This function reads data from the receive FIFO for Endpoint0 into the receive data buffer, one byte at a time.