
Configurable Enhanced Modular IO Subsystem (eMIOS200)
MPC5644A Microcontroller Reference Manual, Rev. 6
658
Freescale Semiconductor
EDSEL
Edge Selection
For input modes, the EDSEL bit selects if the internal counter is triggered by both edges of a pulse
or by a single edge only as defined by the EDPOL bit. When not shown in the mode of operation
description, this bit has no effect.
0 Single edge triggering defined by the EDPOL bit.
1 Both edges triggering.
For GPIO in mode, the EDSEL bit selects if a FLAG can be generated.
0 A FLAG is generated as defined by the EDPOL bit.
1 No FLAG is generated.
For SAOC mode, the EDSEL bit selects the behavior of the output flip-flop at each match.
0 The EDPOL value is transferred to the output flip-flop.
1 The output flip-flop is toggled.
EDPOL
Edge Polarity
For input modes, 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 effect.
0 Trigger on a falling edge.
1 Trigger on a rising edge.
For output modes, the EDPOL bit is used to select the logic level on the output pin.
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.
MODE
Mode Selection
The MODE bits select the mode of operation of the unified channel, as shown in
. Refer
to
for more information on the different modes.
Note:
If a reserved value is written to MODE, the results are unpredictable.
Table 22-9. MODE values
MODE[0:6]
Mode of operation
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 B match)
0000111
Double Action Output compare (with FLAG set on both match)
0001000 through
1001111
Reserved
1
101000b
2
Modulus Counter Buffered (Up counter)
Table 22-8. EMIOS_CCR field description (continued)
Field
Description
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...