Example MPC5744P PIT triggering interrupts

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

Example MPC5744P PIT triggering interrupts

Example MPC5744P PIT triggering interrupts

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

* 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*

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

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1102928%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5744P%20PIT%20triggering%20interrupts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1102928%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20This%20example%20shows%20how%20to%20use%20PIT%20module%20for%20triggering%20interrupts%20on%20its%20timeout.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20This%20example%20shows%20how%20to%20use%20PIT%20module%20for%20triggering%20interrupts%20on%20its%20timeout.%3C%2FP%3E%3CP%3E*%20For%20closer%20details%20on%20how%20PIT%20works%20I%20suggest%20you%20to%20check%20reference%20manual%20as%20this%20is%20quite%20simple%20timer.%3C%2FP%3E%3CP%3E*%20This%20example%20sets%20PIT%20timer0%20channel0%20for%205000000%20cycles.%3C%2FP%3E%3CP%3E*%20As%20soon%20as%20it%20exceeds%20the%20interrupt%20is%20triggered.%3C%2FP%3E%3CP%3E*%20Pin%20state%20is%20toggling%20in%20ISR%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%20MPC57xx%20Motherboard%20%2B%20MPC5744PE257DC%20minimodule%2C%20MPC5744P%2C%3C%2FP%3E%3CP%3E*%20silicon%20mask%20set%201N65H%3C%2FP%3E%3CP%3E*%20Target%20%3A%26nbsp%3B%20internal_FLASH*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1102928%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎01-26-2015 02:19 AM
Updated by: