cancel
Showing results for 
Search instead for 
Did you mean: 

how to use osMessageQueueNew

yang hong
Associate II

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,

0 REPLIES 0