![NXP Semiconductors MPC5605BK Reference Manual Download Page 703](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852703.webp)
Chapter 27 Timers
MPC5606BK Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
701
When interrupts are enabled, the software must clear the FLAG bits before exiting the interrupt service
routine.
27.4.5.2
Application information
Correlated output signals can be generated by all output operation modes. Bits OU[n] of the
EMIOSOUDIS register can be used to control the update of these output signals.
In order to guarantee that the internal counters of correlated channels are incremented in the same clock
cycle, the internal prescalers must be set up before enabling the global prescaler. If the internal prescalers
are set after enabling the global prescaler, the internal counters may increment in the same ratio, but at a
different clock cycle.
27.4.5.2.1
Time base generation
For MC with internal clock source operation modes, the internal counter rate can be modified by
configuring the clock prescaler ratio.
shows an example of a time base with prescaler ratio
equal to one.
NOTE
MCB and OPWFMB modes have a different behavior.
Figure 27-52. Time base period when running in the fastest prescaler ratio
If the prescaler ratio is greater than one or external clock is selected, the counter may behave in three
different ways depending on the channel mode:
•
If MC mode and Clear on Match Start and External Clock source are selected, the internal counter
behaves as described in
.
•
If MC mode and Clear on Match Start and Internal Clock source are selected, the internal counter
behaves as described in
.
•
If MC mode and Clear on Match End are selected, the internal counter behaves as described in
.
system clock
input event/prescaler clock enable = 1
internal counter
match value = 3
1
2
3
0
1
2
3
0
1
2
3
0
1
2
3
0
1
2
3
0
1
2
3
PRE SCALED CLOCK RATIO = 1
(bypassed)
see note 1
FLAG set event
Note 1: When a match occurs, the first clock cycle is used to
clear the internal counter, starting another period.
FLAG pin/register
FLAG clear
Summary of Contents for MPC5605BK
Page 2: ...This page is intentionally left blank...
Page 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Page 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Page 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Page 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Page 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Page 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Page 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...