Microchip Technology IC MCU 8BIT PIC18F65K22-I/PT TQFP-64 MCP PIC18F65K22-I/PT Data Sheet

Product codes
PIC18F65K22-I/PT
Page of 550
PIC18F87K22 FAMILY
DS39960D-page 386
 2009-2011 Microchip Technology Inc.
27.1
CTMU Registers
The control registers for the CTMU are:
• CTMUCONH
• CTMUCONL
• CTMUICON
The CTMUCONH and CTMUCONL registers
(
) contain control bits
for configuring the CTMU module edge source selec-
tion, edge source polarity selection, edge sequencing,
A/D trigger, analog circuit capacitor discharge and
enables. The CTMUICON register (
bits for selecting the current source range and current
source trim. 
 
 
REGISTER 27-1:
CTMUCONH: CTMU CONTROL HIGH 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 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 7
CTMUEN: 
CTMU Enable bit
1
 = Module is enabled
0
 = Module is disabled
bit 6
Unimplemented:
 Read as ‘0’
bit 5
CTMUSIDL:
 Stop in Idle Mode bit
1
 = Discontinue module operation when device enters Idle mode
0
 = Continue module operation in Idle mode
bit 4
TGEN:
 Time Generation Enable bit
1
 = Enables edge delay generation
0
 = Disables edge delay generation
bit 3
EDGEN:
 Edge Enable bit
1
 = Edges are not blocked
0
 = Edges are blocked
bit 2
EDGSEQEN:
 Edge Sequence Enable bit
1
 = Edge 1 event must occur before Edge 2 event can occur
0
 = No edge sequence is needed
bit 1
IDISSEN: 
Analog Current Source Control bit
1
 = Analog current source output is grounded
0
 = Analog current source output is not grounded
bit 0
CTTRIG: 
Trigger Control bit
1
 = Trigger output is enabled
0
 = Trigger output is disabled