AnsweredAssumed Answered

Triggering a task by an interrupt or timer

Question asked by amleng on Feb 6, 2014
Latest reply on Feb 6, 2014 by Luis Casado

Hello MQX Community,

 

 

I would like to now how can I trigger a task by a hardware

interrupt or a timer? That means the task should wait for a trigger

in block state. Once the interrupt happened (e.g push a button) it

goes to non-block mode and process the data. The same

concept for timer...wait for a timer-overflow in block mode and

gets nonblock periodically.

 

Is there any sample code available that I can have look?

 

 

Cheers!

Outcomes