Specifications

V850E2/MN4 USB CDC (Communication Device Class) Driver
R01AN0010EJ0101 Rev.1.01 Page 46 of 117
Feb 01, 2012
usbf850_send_null
[Synopsis]
Send Null packet for Bulk/Interrupt In Endpoint.
[C language format]
INT32 usbf850_send_null(INT8 ep)
[Parameters]
Parameter Description
INT8 ep Endpoint number of the data transmitting endpoint
[Return Value]
Symbol Description
DEV_OK Normal termination
DEV_ERROR Abnormal termination
[Function]
This function sends a Null packet from the USB function controller by clearing the FIFO for the specified Endpoint (for
transmission) and setting the bit that specifies the end of data to 1.