How to use timer interrupt or timer isr?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use timer interrupt or timer isr?

775 Views
Abil
Contributor II

hello,

i am using FRDM k64f with codewarrior 10.6 and MQX4.2 RTOS, i want to use timer isr or timer interrupt to make my task periodic...(ie. i want to make timer based interrupt which will call my task periodically) can anyone help? Is there any example code that can help me ....

Thank u.

0 Kudos
2 Replies

436 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

I suggest you check the timer example in the MQX installation path.

C:\Freescale\Freescale_MQX_4_2\mqx\examples\timer

This example creates two timers, withe 2 seconds period, the terminal print "ON" & "OFF" three times in turn.

Regards

Daniel

0 Kudos

436 Views
Abil
Contributor II

Thank u daniel.. I want to configure periodic timer interrupt (hardware interrupt) and based on that want to call my task...could u suggest how to do this?

Sent from Samsung Mobile

0 Kudos