The function usbd_cdc_ser_write writes data with the length to the serial port. The argument buffer is a pointer to the data buffer. The argument length is a pointer specifiying the amount of data, in bytes, that should be written. The function usbd_cdc_ser_write is part of the USB Device Function Driver layer of the RL-USB Device Software Stack. Modify this function to the application needs. |