
Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
17-30
Freescale Semiconductor
shows how the unified channel can be used for input capture.
Figure 17-16. Single-action Input Capture Example
17.4.4.4.3
Single-action Output Compare Mode (SAOC)
The following table lists the single action output compare mode setting:
In SAOC mode, a match value is loaded in register A2 and then transferred to register A1 to be compared
with the selected time base. When a match occurs, the EDSEL bit selects if the output flip-flop is toggled
or if the value in EDPOL is transferred to it. At the same time, the FLAG bit is set to indicate that the output
compare match has occurred. Writing to register EMIOS_CADR
n
stores the value in register A2 and
reading to register EMIOS_CADR
n
returns the value of register A1.
An output compare match can be simulated in software by setting the FORCMA bit in EMIOS_CCR
n
. In
this case, the FLAG bit is not set.
Table 17-16. SAOC Operating Mode
MODE[0:6]
Unified Channel SAOC
Operating
Mode
0b0000011
Single-action output compare mode
Selected
counter bus
FLAG
set event
Edge detect
Edge detect
Edge detect
Captured A2
value
2
0xxxxxxx
0x001000
0x001250
0x0016A0
Notes:
1
2
Input signal
1
0x000500
0x001000
0x001100
0x001250
0x001525
0x0016A0
After input filter.
Reading EMIOS_CADR
n
returns the value of A2.
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...