
Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
17-44
Freescale Semiconductor
shows how the unified channel can be used to accumulate high time.
Figure 17-31. Windowed Programmable Time Accumulation Example
17.4.4.4.11
Modulus Counter Mode (MC)
The following table lists the modulus counter settings:
Table 17-23. Modulus Counter Operating Modes
MODE[0:6]
Unified Channel MC Operating Mode
0b0010000
Modulus counter. Up counter, internal clock source.
0b0010001
Modulus counter. Up counter, external clock source.
0b0010010–0b0010011
Reserved
0b0010100
Modulus counter. Up/down counter, no change in counter direction upon
match of input counter and register B1, internal clock source.
0b0010101
Modulus counter. Up/down counter, no change in counter direction upon
match of input counter and register B1, external clock source.
A1 match
Selected
counter bus
0x000100 0x000100
0x003000
B1 Value
3
0x001500
0x004200
0x001500
0xFFFFFF
Time
FLAG
set event
EDPOL = 1
B1 match
A1 Value
2
Notes:
1
After input filter.
2
Writing EMIOS_CADR
n
writes to A1.
3
Writing EMIOS_CBDR
n
writes to B1.
Time
0x000000
Input signal
1
B1 match
A1 and B1
Write
0x003000
0x004200
A1 and B1
Write
A1 match
accumulator
(EMIOS_CCNTR)
0x000100
0x004200
0x001500
0x003000
4
Reading EMIOS_ALTA
n
returns the value of A2. (EMIOS_ALTA only used in PEC and WPTA modes)
A2 Value
4
EMIOS_CCNTR
n
A2
EMIOS_CCNTR
n
A2
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...