MPC563XM Reference Manual, Rev. 1
1326
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
The counter period can be restarted, by first disabling, then enabling the timer with the TEN bit (see
).
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
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
Figure 29-7. Stopping and Starting a Timer
Figure 29-8. Modifying Running Timer Period
Figure 29-9. Dynamically Setting a New Load Value
29.6.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 (e.g. the timer values) and then
continue the operation.
29.6.2
Interrupts
All of the timers support interrupt generation. The RTI is typicall used for system wakeup, but can be used
for interrupt generation as well. Refer to the MCU specification for related vector addresses and priorities.
p1
p1
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
p1
p1
Timer Enabled
New Start
Value p2 set
p1
p2
Start Value = p1
p2
Trigger
Event