Author Topic: how to use the mcf52235 timer interrupt in the utasker  (Read 6836 times)

Offline tr111

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
how to use the mcf52235 timer interrupt in the utasker
« on: March 10, 2008, 01:19:19 PM »
   Did the utasker use all of the mcf52235 timer interrupt???
   I only want to use one mcf52235 timer interrupt!

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3234
    • View Profile
    • uTasker
Re: how to use the mcf52235 timer interrupt in the utasker
« Reply #1 on: March 10, 2008, 04:56:56 PM »
Hi

The uTasker project for the M5223X uses the PIT (Periodic Interrupt Timer) as system TICK.
The second PIT is free.

If global HW timer support is activated (GLOBAL_TIMER_TASK and GLOBAL_HARDWARE_TIMER) it will additionally use one of the DMA timers - the one used is defined in app_hw_config.h by HW_TIMER_USES_DMA_TIMER

The other DMA timers are free.

Regards

Mark


Offline tr111

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: how to use the mcf52235 timer interrupt in the utasker
« Reply #2 on: March 11, 2008, 01:50:03 AM »
thanks you!