Chapter 27 Timers
MPC5606BK Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
685
match signal from cycle
n
. This allows to use the A1 posedge match to mask the B1 negedge match when
they occur at the same time. The result is that no transition occurs on the output flip-flop and a 0% duty
cycle is generated.
Figure 27-37. OPWFMB Mode with A1 = 0 (0% duty cycle)
describes the timing for the A1 and B1 registers load. The A1 and B1 load use the same
signal, which is generated at the last system clock period of a counter cycle. Thus, A1 and B1 are updated
respectively with A2 and B2 values at the same time that the counter (EMIOSCNT[n]) is loaded with 0x1.
This event is defined as the cycle boundary. The load signal pulse has the duration of one system clock
period. If A2 and B2 are written within cycle
n
their values are available at A1 and B1, respectively, at the
first clock of cycle
n+1
and the new values are used for matches at cycle
n+1
. The update disable bits
OU[n] of EMIOSOUDIS register can be used to control the update of these registers, thus allowing to
delay the A1 and B1 registers update for synchronization purposes.
it is assumed that both the channel and global prescalers are set to 0x1 (each divide ratio
is two), meaning that the channel internal counter transitions at every four system clock cycles. FLAGs
can be generated only on B1 matches when MODE[5] is cleared, or on both A1 and B1 matches when
MODE[5] is set. Since B1 flag occurs at the cycle boundary, this flag can be used to indicate that A2 or
B2 data written on cycle
n
were loaded to A1 or B1, respectively, thus generating matches in cycle
n+1
.
Note that the FLAG has a synchronous operation, meaning that it is asserted one system clock cycle after
the FLAG set event.
1
4
match A1 negedge detection
5
A1 value
0x000004
A1 match
A1 match negedge detection
output pin
EDPOL = 0
EMIOSCNT
TIME
match B1 negedge detection
B1 match
B1 match negedge detection
B1 value
0x000008
system clock
prescaler
A2 value
0x000000
write to A2
0x000000
A1 match posedge detection
match A1 posedge detection
no transition at this point
1
cycle n
cycle n+1
Prescaler ratio = 2
Содержание MPC5605BK
Страница 2: ...This page is intentionally left blank...
Страница 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Страница 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Страница 104: ...MPC5606BK Microcontroller Reference Manual Rev 2 104 Freescale Semiconductor This page is intentionally left blank...
Страница 243: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 243 Core platform modules...
Страница 244: ...MPC5606BK Microcontroller Reference Manual Rev 2 244 Freescale Semiconductor This page is intentionally left blank...
Страница 395: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 395 Communication modules...
Страница 396: ...MPC5606BK Microcontroller Reference Manual Rev 2 396 Freescale Semiconductor This page is intentionally left blank...
Страница 548: ...Chapter 24 LIN Controller LINFlexD MPC5606BK Microcontroller Reference Manual Rev 2 548 Freescale Semiconductor...
Страница 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Страница 646: ...MPC5606BK Microcontroller Reference Manual Rev 2 644 Freescale Semiconductor This page is intentionally left blank...
Страница 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Страница 716: ...MPC5606BK Microcontroller Reference Manual Rev 2 714 Freescale Semiconductor This page is intentionally left blank...
Страница 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Страница 788: ...MPC5606BK Microcontroller Reference Manual Rev 2 788 Freescale Semiconductor This page is intentionally left blank...
Страница 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Страница 894: ...MPC5606BK Microcontroller Reference Manual Rev 2 894 Freescale Semiconductor This page is intentionally left blank...
Страница 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...
Страница 944: ...MPC5606BK Microcontroller Reference Manual Rev 2 944 Freescale Semiconductor This page is intentionally left blank...