Microchip Technology DM240015 Data Sheet

Page of 472
 2012-2013 Microchip Technology Inc.
 
DS30009312B-page 393
PIC24FJ128GC010 FAMILY
  
REGISTER 32-2:
CTMUCON2: CTMU CONTROL REGISTER 2
R/W-0
R/W-0 R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
EDG1MOD
EDG1POL EDG1SEL3
EDG1SEL2
EDG1SEL1 EDG1SEL0 EDG2STAT
EDG1STAT
bit 15
bit 8
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0  U-0
U-0
EDG2MOD
EDG2POL
EDG2SEL3
EDG2SEL2
EDG2SEL1 EDG2SEL0 
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15
EDG1MOD:
 Edge 1 Edge-Sensitive Select bit
1
 = Input is edge-sensitive
0
 = Input is level-sensitive
bit 14
EDG1POL: 
Edge 1 Polarity Select bit
1
 = Edge 1 is programmed for a positive edge response
0
 = Edge 1 is programmed for a negative edge response
bit 13-10
EDG1SEL<3:0>:
 Edge 1 Source Select bits
1111
 = Edge 1 source is Comparator 3 output
1110
 = Edge 1 source is Comparator 2 output
1101
 = Edge 1 source is Comparator 1 output
1100
 = Edge 1 source is IC3
1011
 = Edge 1 source is IC2
1010
 = Edge 1 source is IC1
1001
 = Edge 1 source is CTED8
1000
 = Edge 1 source is CTED7
(
)
0111
 = Edge 1 source is CTED6
0110
 = Edge 1 source is CTED5
0101
 = Edge 1 source is CTED4
0100
 = Edge 1 source is CTED3
(
)
0011
 = Edge 1 source is CTED1
0010
 = Edge 1 source is CTED2
0001
 = Edge 1 source is OC1
0000
 = Edge 1 source is Timer1
bit 9
EDG2STAT: 
Edge 2 Status bit
Indicates the status of Edge 2 and can be written to control current source.
1
 = Edge 2 has occurred
0
 = Edge 2 has not occurred
bit 8
EDG1STAT: 
Edge 1 Status bit
Indicates the status of Edge 1 and can be written to control current source.
1
 = Edge 1 has occurred
0
 = Edge 1 has not occurred
bit 7
EDG2MOD: 
Edge 2 Edge-Sensitive Select bit
1
 = Input is edge-sensitive
0
 = Input is level-sensitive
bit 6
EDG2POL: 
Edge 2 Polarity Select bit
1
 = Edge 2 is programmed for a positive edge
0
 = Edge 2 is programmed for a positive edge
Note 1:
Edge sources, CTED3, CTED7, CTED10 and CTED11, are available in 100-pin devices only.