EasyManua.ls Logo

NXP Semiconductors MPC5606S - Debug Mode

NXP Semiconductors MPC5606S
1344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Periodic Interrupt Timer (PIT)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 979
Figure 27-7. Stopping and Starting a Timer
Figure 27-8. Modifying Running Timer Period
Figure 27-9. Dynamically Setting a New Load Value
27.4.1.2 Debug mode
In Debug mode the timers will be frozen. This is intended to aid software development, allowing the
developer to halt the processor, investigate the current state of the system (for example, the timer values)
and then continue the operation.
27.4.2 Interrupts
All of the timers support interrupt generation. Refer to the MCU specification for related vector addresses
and priorities.
Timer interrupts can be disabled by setting the TIE bits to zero. The timer interrupt flags (TIF) are set to 1
when a timeout occurs on the associated timer, and are cleared to 0 by writing a 1 to that TIF bit.
27.5 Initialization and application information
27.5.1 Example configuration
In the example configuration:
p1p1
Timer Enabled Disable
Timer
p1
Start Value = p1
Trigger
Event
p1
Re-Enable
Timer
p1
Timer Enabled
Disable
Timer,
Start Value = p1
Trigger
Event
Re-Enable
Timer
p1
Set new
Load Value
p2 p2 p2
p1p1
Timer Enabled New Start
Value p2 set
p1 p2
Start Value = p1
p2
Trigger
Event

Table of Contents

Related product manuals