CDC_Itf_Receive() function
CDC_Itf_DataRx Data received over USB OUT endpoint are sent over CDC interface through this function.
Syntax
static int8_t CDC_Itf_Receive(uint8_t* pbuf,
uint32_t *Len);
Arguments
Len
Number of data received (in bytes)
Return value
Result of the operation: USBD_OK if all operations are OK else USBD_FAIL