Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
16-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 16-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 16-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 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...