English
Language : 

PXD10RM Datasheet, PDF (988/1332 Pages) Freescale Semiconductor, Inc – PXD10 Microcontroller
The counter period can be restarted, by first disabling, then enabling the timer with the TEN bit (see
Figure 27-7).
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 Figure 27-8).
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 27-9).
Timer Enabled
Start Value = p1
Disable
Timer
Trigger
Event
p1
p1
p1
Re-Enable
Timer
p1
Figure 27-7. Stopping and Starting a Timer
Timer Enabled
Start Value = p1
Trigger
Event
Disable
Timer,
Set new
Re-Enable
Timer
Load Value
p2
p2
p2
p1
p1
Figure 27-8. Modifying Running Timer Period
Timer Enabled
Start Value = p1
New Start
Value p2 set
Trigger
Event
p1
p1
p1
p2
p2
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 (e.g. 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.
27-8
PXD10 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
Freescale Semiconductor