AnsweredAssumed Answered

Is USB_DeviceCdcVcomCallback() inside an interrupt routine?

Question asked by David Pfaltzgraff on Apr 27, 2016
Latest reply on May 9, 2016 by Iva Susnova

The situation is that I'm am adapting the example in C:\KSDK2\boards\frdmk22f\usb_examples\usb_device_cdc_vcom to run with/under FreeRTOS. As it is written, the background routine polls for input. What I'd like to do is link the background routine to the callback() routine with a semaphore to indicate that data is ready to be read.


So, inside the callback() routine, should I use the xSemaphhoreGiveFromISR() or the xSemaphhoreGive() routine?