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.
Содержание 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...