Triggering a task by an interrupt or timer

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Triggering a task by an interrupt or timer

921件の閲覧回数
amleng
Contributor IV

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!

0 件の賞賛
返信
1 返信

735件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

Hi,

Check this example:

C:\Freescale\Freescale_MQX_4_0\mqx\examples\event

Best Regards,

Luis

0 件の賞賛
返信