Specifications

Capture Units
6-71
Event Manager (EV)
Bits 14–13 CAPQEPN. Capture Units 1 and 2 and QEP circuit control.
00 Disable Capture Units 1 and 2 and QEP circuit. FIFO stacks retain
their contents.
01 Enable Capture Units 1 and 2, disable QEP circuit.
10 Reserved
11 Enable QEP circuit. Disable Capture Units 1 and 2; bits 4–7 and 9
are ignored.
Bit 12 CAP3EN. Capture Unit 3 control.
0 Disable Capture Unit 3; FIFO stack of Capture Unit 3 retains its
contents.
1 Enable Capture Unit 3
Bit 11 Reserved. Reads return zero; writes have no effect.
Bit 10 CAP3TSEL. GP timer selection for Capture Unit 3.
0 Select GP timer 2
1 Select GP timer 1
Bit 9 CAP12TSEL. GP timer selection for Capture Units 1 and 2.
0 Select GP timer 2
1 Select GP timer 1
Bit 8 CAP3TOADC. Capture Unit 3 event starts ADC.
0 No action
1 Start ADC when the CAP3INT flag is set
Bits 7–6 CAP1EDGE. Edge detection control for Capture Unit 1.
00 No detection
01 Detect rising edge
10 Detect falling edge
11 Detect both edges
Bits 5–4 CAP2EDGE. Edge detection control for Capture Unit 2.
00 No detection
01 Detect rising edge
10 Detect falling edge
11 Detect both edges