Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
16-36
Freescale Semiconductor
MODE[6] controls if the EMIOS_CSR
n
[FLAG] is set on both matches or just on the second match (see
for details).
If subsequent enabled output compares occur on registers A1 and B1, pulses continue to generate,
regardless of the state of the FLAG bit.
At any time, the EMIOS_CCR
n
[FORCMA] and EMIOS_CCR
n
[FORCMB] bits allow the software to
force the output flip-flop to the level corresponding to a comparison event in comparator A or B,
respectively. The FLAG bit is not affected by these forced operations.
NOTE
If both registers (A1 and B1) are loaded with the same value, the unified
channel behaves as if a single match on comparator B had occurred; that is,
the output flip-flop is set to the complement of EDPOL bit and the FLAG
bit is set.
and
show how the unified channel can be used to generate a single output pulse
with FLAG bit being set on the second match or on both matches, respectively.
Figure 16-23. Double Action Output Compare with FLAG Set on the Second Match
Selected
counter bus
FLAG
set event
A1 match
0xxxxxxx 0x001000
0x001000
0x001000
Notes:
1
Writing EMIOS_CADR
n
writes to A1.
2
Writing EMIOS_CBDR
n
writes to B1.
MODE[6] = 0
B1 match
B1 match
0xxxxxxx 0x001100
0x001100
0x001100
A1 match
Update to
A1 and B1
Output
flip-flop
A1 value
1
B1 value
2
A2 value transferred to A1 according to OU
n
bit.
B2 value transferred to B1 according to OU
n
bit.
0x000500
0x001000
0x001100
0x001000
0x001100
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...