
Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
17-18
Freescale Semiconductor
The following table lists the binary values for the unified channel operating modes used in the eMIOS
channel control register:
24
EDPOL
Edge polarity. For input modes (except QDEC and WPTA mode), the EDPOL bit asserts which edge triggers
either the internal counter or an input capture or a FLAG. When not shown in the mode of operation
description, this bit has no affect.
0 Trigger on a falling edge
1 Trigger on a rising edge
For WPTA mode, the internal counter is used as a time accumulator and counts up when the input gating
signal has the same polarity of EDPOL bit.
0 Counting occurs when the input gating signal is low
1 Counting occurs when the input gating signal is high
For QDEC (MODE[6] cleared), the EDPOL bit selects the count direction according to
direction
signal (UC
n
input).
0 Counts down when UC
n
is asserted
1 Counts up when UC
n
is asserted
NOTE: UC[n-1] EDPOL bit selects which edge clocks the internal counter of UC
n
0 Trigger on a falling edge
1 Trigger on a rising edge
For QDEC (MODE[6] set), the EDPOL bit selects the count direction according to the phase difference.
0 Internal counter decrements if phase_A is ahead phase_B signal
1 Internal counter increments if phase_A is ahead phase_B signal
NOTE:
To operate properly, EDPOL bit must contain the same value in UC
n
and UC[n-1]
For output modes, the EDPOL bit is used to select the logic level on the output pin. When software selects
any output mode except GPIO, the initial state of the output flip-flop is the complement of EDPOL.
0 A match on comparator A clears the output flip-flop, while a match on comparator B sets it
1 A match on comparator A sets the output flip-flop, while a match on comparator B clears it
25–31
MODE
Mode selection. Selects the mode of operation of the unified channel, as shown in
Table 17-10. Binary Values for Unified Channel Operating Modes
MODE[0:6]
Unified Channel Operating Modes
0000000
General purpose input/output mode (input)
0000001
General purpose input/output mode (output)
0000010
Single action input capture
0000011
Single action output compare
0000100
Input pulse-width measurement
0000101
Input period measurement
0000110
Double-action output compare (with FLAG set on the second match)
0000111
Double-action output compare (with FLAG set on both match)
0001000
Pulse and edge accumulation (continuous)
Table 17-9. EMIOS_CCR
n
Field Description (continued)
Field
Description
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...