Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Question about using "USBD_CDC_ACM_WriteData()" middleware call

$
0
0
Hi, I have a VCOM USB application and my intent is to send as many messages as possible to an attached PC via the VCOM serial interface. Since I am using middleware I don't have access to the traditional osWait / signal process for flow control. So I built a queue of messages to send and in my USB application thread I have the following code to de-queue and send. // // Write the message to USB // do { intUSBStatus = USBD_CDC_ACM_WriteData( 0U, (const uint8_t *)strCA

Viewing all articles
Browse latest Browse all 3049

Trending Articles