AnsweredAssumed Answered

USB Virtual ComPort Example

Question asked by STPrime on Oct 3, 2011
Latest reply on Oct 8, 2011 by Andrew Neil
Hello, I have been searching without success to find an example of the STM32 Virtual Comport that shows how to receive data from the PC.

I am coming from an 8051 background so the use of the legacy COM port will help in porting my programs to the Cortex-M3 environment.  There are plenty of examples of how to transmit and it is very simple.  Why are there no receive examples?

Is there a way, similar to the 8051 where you can use the <intrins> testbit function ie,
_testbit(RI) for reading when a character is available and then decode the command?