Subversion Repositories LedShow

Rev

Rev 7 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 9
Line 252... Line 252...
252
/**
252
/**
253
  * @brief  Data received over USB OUT endpoint are sent over CDC interface
253
  * @brief  Data received over USB OUT endpoint are sent over CDC interface
254
  *         through this function.
254
  *         through this function.
255
  *
255
  *
256
  *         @note
256
  *         @note
257
  *         This function will block any OUT packet reception on USB endpoint
257
  *         This function will issue a NAK packet on any OUT packet received on
258
  *         untill exiting this function. If you exit this function before transfer
258
  *         USB endpoint until exiting this function. If you exit this function
259
  *         is complete on CDC interface (ie. using DMA controller) it will result
259
  *         before transfer is complete on CDC interface (ie. using DMA controller)
260
  *         in receiving more data while previous ones are still not sent.
260
  *         it will result in receiving more data while previous ones are still
-
 
261
  *         not sent.
261
  *
262
  *
262
  * @param  Buf: Buffer of data to be received
263
  * @param  Buf: Buffer of data to be received
263
  * @param  Len: Number of data received (in bytes)
264
  * @param  Len: Number of data received (in bytes)
264
  * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL
265
  * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL
265
  */
266
  */