Microchip Technology MA240017 Data Sheet

Page of 278
 2008-2011 Microchip Technology Inc.
DS39927C-page 191
PIC24F16KA102 FAMILY
  
REGISTER 25-1:
CTMUCON: CTMU CONTROL REGISTER
R/W-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
CTMUEN
CTMUSIDL
TGEN
EDGEN
EDGSEQEN
IDISSEN
CTTRIG
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
EDG2POL
EDG2SEL1
EDG2SEL0
EDG1POL
EDG1SEL1
EDG1SEL0
EDG2STAT
EDG1STAT
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
CTMUEN: 
CTMU Enable bit
1
 = Module is enabled
0
 = Module is disabled
bit 14
Unimplemented:
 Read as ‘0’
bit 13
CTMUSIDL:
 Stop in Idle Mode bit
1
 = Discontinue module operation when device enters Idle mode
0
 = Continue module operation in Idle mode
bit 12
TGEN:
 Time Generation Enable bit
1
 = Enables edge delay generation
0
 = Disables edge delay generation
bit 11
EDGEN:
 Edge Enable bit
1
 = Edges are not blocked
0
 = Edges are blocked
bit 10
EDGSEQEN:
 Edge Sequence Enable bit
1
 = Edge 1 event must occur before Edge 2 event can occur
0
 = No edge sequence is needed
bit 9
IDISSEN: 
Analog Current Source Control bit
1
 = Analog current source output is grounded
0
 = Analog current source output is not grounded
bit 8
CTTRIG: 
Trigger Control bit
1
 = Trigger output is enabled
0
 = Trigger output is disabled
bit 7
EDG2POL:
 Edge 2 Polarity Select bit
1
 = Edge 2 is programmed for a positive edge response
0
 = Edge 2 is programmed for a negative edge response
bit 6-5
EDG2SEL<1:0>:
 Edge 2 Source Select bits
11
 = CTED1 pin
10
 = CTED2 pin
01
 = OC1 module
00
 = Timer1 module
bit 4
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