
Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
17-58
Freescale Semiconductor
illustrates the counter cycle for several A1 values. Register A1 is loaded with the A2 value
at the cycle boundary. Thus any value written to A2 within cycle (
n
) is updated to A1 at the next cycle
boundary, and therefore is used on cycle (
n
+1). The cycle boundary between cycle (
n
) and cycle (
n
+1) is
defined as the first clock cycle of cycle (
n
+1). Flags are set when A1 matches occur.
Figure 17-40. eMIOS MCB Mode Example — Up Operation
illustrates the MCB up/down counter mode. The A1 register is updated at the cycle boundary.
If A2 is written in cycle (
n
), this new value is used in cycle (
n
+1) for the next A1 match.
Flags are generated only at an A1 match if MODE[5] is 0. If MODE[5] is 1, flags are also generated at the
cycle boundary.
Figure 17-41. eMIOS MCB Mode Example — Up/Down Operation
EMIOS_CCNTR
n
Time
Write to A2
Match A1
Match A1
Match A1
Write to A2
0x000001
0x000005
0x000006
0x000007
FLAG set event
0x000005
0x000007
A2 value
A1 value
0x000006
0x000005
0x000007
0x000007
Note: A2 value transferred to A1 according to OU
n
bit.
EMIOS_CCNTR
n
Time
Write to A2
Match A1
Match A1
Write to A2
0x000001
0x000005
0x000006
0x000007
FLAG set event
0x000005
0x000007
A2 value
A1 value
0x000006
0x000005
0x000007
Note: A2 value transferred to A1 according to OU
n
bit.
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...