![Freescale Semiconductor MPC5553 Скачать руководство пользователя страница 665](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5553/mpc5553_reference-manual_2330655665.webp)
MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
17-26
Freescale Semiconductor
Figure 17-13. Programmable Input Filter Submodule Diagram
The input signal is synchronized by the system clock. When a state change occurs in this signal, the 5-bit
counter starts counting up. As long as the new state is stable on the pin, the counter continues incrementing.
If a counter overflows occurs, the new pin value is validated. In this case, it is transmitted as a pulse edge
to the edge detector. If the opposite edge appears on the pin before validation (overflow), the counter is
reset. At the next synchronized pin transition, the counter starts counting again. Any pulse that is shorter
than a full range of the masked counter is regarded as a glitch, and it is not passed on to the edge detector.
A timing diagram of the input filter is shown in
.
Figure 17-14. Programmable Input Filter Example
17.4.4.2
Clock Prescaler (CP)
A unified channel has a clock prescaler (CP) that divides the global clock prescaler (refer to
“Global Clock Prescaler Submodule (GCP)
”) output signal to generate a clock enable for the internal
counter of the unified channel. It is a programmable 2-bit down counter. The global clock prescaler
submodule (GCP) output signal is prescaled by the value defined in
according to the
UCPRE[0:1] bits in the EMIOS_CCR
n
. The output is clocked every time the counter reaches zero.
Counting is enabled by setting the UCPREN bit in the EMIOS_CCR
n
. The counter can be stopped at any
time by clearing this bit, thereby stopping the internal counter in the unified channel.
17.4.4.3
Effect of Freeze on the Unified Channel
When in debug mode and the EMIOS_MCR[FRZ] bit and the EMIOS_CCR
n
[FREN] bit are both set, the
internal counter and the unified channel’s capture and compare functions are halted. The UC is frozen in
its current state.
During freeze, all registers are accessible. When the unified channel is operating in an output mode, the
force match functions remain available, allowing the software to force the output to the desired level.
Synchronizer
IF3
CLK
IF2
IF1
IF0
5-bit Up Counter
FCK
Prescaled Clock
EMIOS
n
Clock
System Clock
Filter Out
Selected Clock
5-bit Counter
IF = 0b0011
Filter Out
EMIOS
n
Time
Содержание MPC5553
Страница 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Страница 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Страница 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Страница 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Страница 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Страница 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Страница 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Страница 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Страница 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Страница 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Страница 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Страница 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Страница 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Страница 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...
Страница 1207: ...Revision History 4 Freescale Semiconductor...