#include <RTL.h>
#include <rl_usb.h>
int32_t USBD_CDC_ACM_DataRead (
uint8_t *buf, /* Buffer to where data will be stored */
int32_t len ); /* Maximum number of bytes to be read */
Description
The function USBD_CDC_ACM_DataRead reads data from the
intermediate buffer that was received over the Virtual COM Port and
stores them into buf. Parameter buf is a pointer to the
location where the data are stored. Parameter len identifies
the maximum number of bytes to be read.
The function is part of the USB Device Function Driver layer of
the RL-USB Device Software Stack.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.