sources/common/libs/STM32Cube_F4/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc_if_template.c
/**
  * @brief  TEMPLATE_Receive
  *         Data received over USB OUT endpoint are sent over CDC interface
  *         through this function.
  *
  *         @note
  *         This function will issue a NAK packet on any OUT packet received on
  *         USB endpoint until exiting this function. If you exit this function
  *         before transfer is complete on CDC interface (ie. using DMA controller)
  *         it will result in receiving more data while previous ones are still
  *         not sent.
  *
  * @param  Buf: Buffer of data to be received
  * @param  Len: Number of data received (in bytes)
  * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL
  */
@brief  TEMPLATE_Receive
Data received over USB OUT endpoint are sent over CDC interface
through this function.

@note
This function will issue a NAK packet on any OUT packet received on
USB endpoint until exiting this function. If you exit this function
before transfer is complete on CDC interface
it will result in receiving more data while previous ones are still
not sent.

@param  Buf: Buffer of data to be received
@param  Len: Number of data received (in bytes)
@retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL
@brief TEMPLATE_Receive Data received over USB OUT endpoint are sent over CDC interface through this function . @note This function will issue a NAK packet on any OUT packet received on USB endpoint until exiting this function . If you exit this function before transfer is complete on CDC interface it will result in receiving more data while previous ones are still not sent . @param Buf : Buffer of data to be received @param Len : Number of data received ( in bytes ) @retval Result of the operation : USBD_OK if all operations are OK else USBD_FAIL
static int8_t TEMPLATE_Receive(uint8_t *Buf, uint32_t *Len)
{
  UNUSED(Buf);
  UNUSED(Len);
  return (0);
}
static int8_t TEMPLATE_Receive ( uint8_t * Buf , uint32_t * Len ) { UNUSED ( Buf ) ; UNUSED ( Len ) ; return ( 0 ) ; }
@brief  TEMPLATE_Receive
         Data received over USB OUT endpoint are sent over CDC interface
         through this function.
@brief TEMPLATE_Receive Data received over USB OUT endpoint are sent over CDC interface through this function .