Microchip Technology MA330031-2 Data Sheet
2011-2013 Microchip Technology Inc.
DS70000657H-page 217
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X AND PIC24EPXXXGP/MC20X
bit 4-0
SYNCSEL<4:0>:
Input Source Select for Synchronization and Trigger Operation bits
11111
= No Sync or Trigger source for ICx
11110
= Reserved
11101
= Reserved
11100
= CTMU module synchronizes or triggers ICx
11011
= ADC1 module synchronizes or triggers ICx
11010
= CMP3 module synchronizes or triggers ICx
(
11001
= CMP2 module synchronizes or triggers ICx
(
11000
= CMP1 module synchronizes or triggers ICx
(
10111
= Reserved
10110
= Reserved
10101
= Reserved
10100
= Reserved
10011
= IC4 module synchronizes or triggers ICx
10010
= IC3 module synchronizes or triggers ICx
10001
= IC2 module synchronizes or triggers ICx
10000
= IC1 module synchronizes or triggers ICx
01111
= Timer5 synchronizes or triggers ICx
01110
= Timer4 synchronizes or triggers ICx
01101
= Timer3 synchronizes or triggers ICx (default)
01100
= Timer2 synchronizes or triggers ICx
01011
= Timer1 synchronizes or triggers ICx
01010
= PTGOx module synchronizes or triggers ICx
)
01001
= Reserved
01000
= Reserved
00111
= Reserved
00110
= Reserved
00101
= Reserved
00100
= OC4 module synchronizes or triggers ICx
00011
= OC3 module synchronizes or triggers ICx
00010
= OC2 module synchronizes or triggers ICx
00001
= OC1 module synchronizes or triggers ICx
00000
= No Sync or Trigger source for ICx
REGISTER 14-2:
ICxCON2: INPUT CAPTURE x CONTROL REGISTER 2 (CONTINUED)
Note 1:
The IC32 bit in both the Odd and Even IC must be set to enable Cascade mode.
2:
The input source is selected by the SYNCSEL<4:0> bits of the ICxCON2 register.
3:
This bit is set by the selected input source (selected by SYNCSEL<4:0> bits). It can be read, set and
cleared in software.
cleared in software.
4:
Do not use the ICx module as its own Sync or Trigger source.
5:
This option should only be selected as a trigger source and not as a synchronization source.
6:
Each Input Capture x (ICx) module has one PTG input source. See
Section 24.0 “Peripheral Trigger
Generator (PTG) Module”
for more information.
PTGO8 = IC1
PTGO9 = IC2
PTGO10 = IC3
PTGO11 = IC4
PTGO9 = IC2
PTGO10 = IC3
PTGO11 = IC4