MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
641
Preliminary—Subject to Change Without Notice
0 = A match on comparator A clears the output flip-flop, while a match on comparator B sets it
MODE[0:6] - Mode selection bits
The MODE[0:6] bits select the mode of operation of the Unified Channel, as shown in
.
Table 22-15. UC MODE bits
MODE[0:6]
1
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
Pulse/Edge Accumulation (continuous)
0001001
Pulse/Edge Accumulation (single shot)
0001010
Pulse/Edge Counting (continuous)
0001011
Pulse/Edge Counting (single shot)
0001100
Quadrature Decode (for count & direction encoders type)
0001101
Quadrature Decode (for phase_A & phase_B encoders type)
0001110
Windowed Programmable Time Accumulation
0001111
Reserved
001000b
Modulus Counter (Up counter with clear on match start)
001001b
Modulus Counter (Up counter with clear on match end)
00101bb
Modulus Counter (Up/Down counter)
00110b0
Output Pulse Width and Frequency Modulation (immediate update)
00110b1
Output Pulse Width and Frequency Modulation (next period update)
00111b0
Center Aligned Output Pulse Width Modulation (with trail edge dead-time)
00111b1
Center Aligned Output Pulse Width Modulation (with lead edge dead-time)
01000b0
Output Pulse Width Modulation (immediate update)
01000b1
Output Pulse Width Modulation (next period update)
0100100 through 0100101
Reserved
0100110
Output Pulse Width Modulation with Trigger
0100111 through 1001111
Reserved
101000b
Modulus Counter Buffered (Up counter)
101001b
Reserved
10101bb
Modulus Counter Buffered (Up/Down counter)
10110b0
Output Pulse Width and Frequency Modulation Buffered
10110b1
Reserved
10111b0
Center Aligned Output Pulse Width Modulation Buffered (with trail edge dead-time)
10111b1
Center Aligned Output Pulse Width Modulation Buffered (with lead edge dead-time)
11000b0
Output Pulse Width Modulation Buffered
1100001 through 1111111
Reserved