Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
16-27
16.4.4.1
Programmable Input Filter (PIF)
The PIF ensures that only valid input pin transitions are received by the unified channel edge detector. A
block diagram of the PIF is shown in
.
The PIF is a 5-bit programmable up counter that is incremented by the selected clock source, according to
bits IF[0:3] in EMIOS_CCR
n
. The clock source is selected by the EMIOS_CCR
n
[FCK] bit.
Figure 16-14. 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 16-15. Programmable Input Filter Example
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
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...