NetBurner 3.5.6
PDF Version
Periodic Interrupt Timer

Periodic Interrupt Timer (PIT) Example

Supported Platforms: MOD5441x, NANO54415 SB800EX

There are a total of 4 PIT timers on the MCF54415 processor, numbered 0 - 3:

  • 0 is reserved for the RTOS system clock
  • 3 is reserved for the network debugger
  • 1 and 2 are available for customer use

The PIT functions below are part of the 54415 system libraries, and defined in pitr_sem.cpp and pitr_sem.h, located in the include and system folders of your MOD54415 or NANO54415 platform directories.

In this example a semaphore will be set in the PIT interrupt routine, and the semaphore count will be displayed through the serial port.