Skip to main content
yang hong
Associate III
June 7, 2021
Question

how to use osMessageQueueNew

  • June 7, 2021
  • 0 replies
  • 1018 views

hello,

I am using ADC for data acquisition using 46 uSec. I would like to do some calculation every 4 samples. I am using timer to trigger Adc reading. Can I use osMessageQueue in ADC complete conversion call back function to put 4 new adc reading into osMessageQueue, then create another thread to check this queque and process the data?

Regards,

    This topic has been closed for replies.