Specifications

V850E2/MN4 USB CDC (Communication Device Class) Driver
R01AN0010EJ0101 Rev.1.01 Page 41 of 117
Feb 01, 2012
usbf850_data_send
[Synopsis]
USB data transmit processing for bulk/interrupt in endpoints
[C language format]
INT32 usbf850_data_send(UINT8 *data, INT32 len, INT8 ep)
[Parameters]
Parameter Description
UINT8 *data Pointer to transmit data buffer
INT32 len Transmit data length
INT8 ep Endpoint number of the endpoint to be used for data transmission
[Return Value]
Symbol Description
len (>=0) Size of the data that was transmitted normally.
DEV_ERROR Abnormal termination
[Function]
This function transfers data from the transmit data buffer to the FIFO for the specified endpoint, one byte at a time.