Microchip Technology Microstick for the 5V PIC24F K-series DM240013-2 DM240013-2 Data Sheet

Product codes
DM240013-2
Page of 338
PIC24FV16KM204 FAMILY
DS30003030B-page 246
 
 2013 Microchip Technology Inc.
  
REGISTER 24-2:
CTMUCON1H: CTMU CONTROL 1 HIGH REGISTER
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 the Comparator 3 output
1110
 = Edge 1 source is the Comparator 2 output
1101
 = Edge 1 source is the Comparator 1 output
1100
 = Edge 1 source is CLC2
1011
 = Edge 1 source is CLC1
1010
 = Edge 1 source is the MCCP2 Compare Event (CCP2IF)
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 the MCCP1 Compare Event (CCP1IF)
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 the 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 the 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
Note 1:
Edge sources, CTED7 and CTED8, are not available on 28-pin and 20-pin devices.
2:
Edge sources, CTED3, CTED9 and CTED11, are not available on 20-pin devices.