Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
16-44
Freescale Semiconductor
shows how the unified channel can be used to accumulate high time.
Figure 16-31. Windowed Programmable Time Accumulation Example
16.4.4.4.11
Modulus Counter Mode (MC)
The following table lists the modulus counter settings:
Table 16-23. MC 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 MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...