English
Language : 

PIC24FJ16MC101_12 Datasheet, PDF (232/350 Pages) Microchip Technology – 16-bit Microcontrollers (up to 32 KB Flash and 2 KB SRAM)
PIC24FJ16MC101/102 AND PIC24FJ32MC101/102/104
REGISTER 22-2: CTMUCON2: CTMU CONTROL REGISTER 2
R/W-0
EDG1MOD
bit 15
R/W-0
EDG1POL
R/W-0
R/W-0
R/W-0
EDG1SEL<3:0>
R/W-0
R/W-0
EDG2STAT
R/W-0
EDG1STAT
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
U-0
EDG2MOD EDG2POL
EDG2SEL<3:0>
—
bit 7
U-0
—
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15
bit 14
bit 13-10
bit 9
bit 8
bit 7
bit 6
bit 5-2
bit 1-0
EDG1MOD: Edge 1 Edge Sampling Selection bit
1 = Edge 1 is edge sensitive
0 = Edge 1 is level sensitive
EDG1POL: Edge 1 Polarity Select bit
1 = Edge 1 programmed for a positive edge response
0 = Edge 1 programmed for a negative edge response
EDG1SEL<3:0>: Edge 1 Source Select bits
1xxx = Reserved
01xx = Reserved
0011 = CTED1 pin
0010 = CTED2 pin
0001 = OC1 module
0000 = Timer1 module
EDG2STAT: Edge 2 Status bit
Indicates the status of Edge 2 and can be written to control the edge source.
1 = Edge 2 has occurred
0 = Edge 2 has not occurred
EDG1STAT: Edge 1 Status bit
Indicates the status of Edge 1 and can be written to control the edge source.
1 = Edge 1 has occurred
0 = Edge 1 has not occurred
EDG2MOD: Edge 2 Edge Sampling Selection bit
1 = Edge 2 is edge sensitive
0 = Edge 2 is level sensitive
EDG2POL: Edge 2 Polarity Select bit
1 = Edge 2 programmed for a positive edge response
0 = Edge 2 programmed for a negative edge response
EDG2SEL<3:0>: Edge 2 Source Select bits
1xxx = Reserved
01xx = Reserved
0011 = CTED2 pin
0010 = CTED1 pin
0001 = Comparator 2 module
0000 = IC1 module
Unimplemented: Read as ‘0’
DS39997C-page 232
Preliminary
© 2011-2012 Microchip Technology Inc.