Example MPC5744P PIT triggering interrupts

Document created by Peter Vlna Employee on Jan 26, 2015Last modified by Peter Vlna Employee on Mar 27, 2015
Version 3Show Document
  • View in full screen mode

********************************************************************************

* Detailed Description:

* This example shows how to use PIT module for triggering interrupts on its timeout.

*

* This example shows how to use PIT module for triggering interrupts on its timeout.

* For closer details on how PIT works I suggest you to check reference manual as this is quite simple timer.

* This example sets PIT timer0 channel0 for 5000000 cycles.

* As soon as it exceeds the interrupt is triggered.

* Pin state is toggling in ISR

*

* ------------------------------------------------------------------------------

* Test HW:  MPC57xx Motherboard + MPC5744PE257DC minimodule, MPC5744P,

* silicon mask set 1N65H

* Target :  internal_FLASH*

********************************************************************************

2 people found this helpful

Outcomes