Information
p1
Timer Enabled Disable
Timer
p1 p1
Re-Enable
Timer
Start Value = p1
Trigger
Event
p1
Figure 38-23. Stopping and Starting a Timer
The counter period of a running timer can be modified, by first disabling the timer,
setting a new load value and then enabling the timer again (see the following figure).
Timer Enabled
Disable
Timer,
p1
p1
Re-Enable
Timer
Start Value = p1
Trigger
Event
Set new
Load Value
p2
p2
p2
Figure 38-24. Modifying Running Timer Period
It is also possible to change the counter period without restarting the timer by writing the
LDVAL register with the new load value. This value will then be loaded after the next
trigger event (see the following figure).
Timer Enabled
p1
p1
Start Value = p1
Trigger
Event
p2
p2
p1
New Start
Value p2 set
Figure 38-25. Dynamically Setting a New Load Value
38.4.1.2 Debug Mode
In debug mode, the timers will be frozen based on FRZ bit in PIT module control
register. 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.
Functional Description
K10 Sub-Family Reference Manual, Rev. 6, Nov 2011
1020 Freescale Semiconductor, Inc.
