PIC32CM5112GC00064 PTC registers

The 28 registers of PTC (Polaris Peripheral Touch Controller), from 0x4482C000, with their reset value and every field. The PIC32CM5112GC00064 has 2253 registers in 57 peripherals, one page each.

PTC Polaris Peripheral Touch Controller

CTRLACONTROL ENABLE REGISTER

Address
0x4482C000
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
ONDEMAND7On Demand Control
RUNSTDBY6Run In Standby
PRIV2Privileged Access Only -- provides filtering of privilege/non-privilege bus accesses to SFR registers
ENABLE1PTC -- Enable
  • 0 Disable module. System clock is only requested for bus transactions. GCLK is never requested.
  • 1 Enable module by allowing both the generic clock and system clock requests based on the incoming clock requests from the SIB.
SWRST0Software Reset for this macro.
  • 0 There is no reset operation ongoing
  • 1 The reset operation is ongoing

EVCTRLEVENT CONTROL REGISTER

Address
0x4482C004
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
WCOMPEO5Window Comparator Event Output Enable
EOCEO4End of Conversion Event Output Enable
DSEQRINV3DMA Sequencing Restart Event Invert Enable
STCONVINV2Start Conversion Event Invert Enable
DSEQREI1DMA Sequencing Restart Event Input Enable
STCONVEI0Start Conversion Event Input Enable

DBGCTRLDEBUG CONTROL Register

Address
0x4482C008
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DBGRUN0Debug Run

CTRLBCONTROL B Register

Address
0x4482C00C
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
RSEL22:20Resistor Selection
CCDS14:13Channel Change Delay Selection
ASDV12Automatic Sampling Delay Variation.
SDS11:8Sampling Delay Selection.
INTSEL4Interrupt Selection
CTSM2:0Capacitive Touch Sensing Mode

CTRLCCONTROL C Register

Address
0x4482C010
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
CI20:16Integration Capacitor Value
CCC12:8Compensation Capacitor Coarse Value
CCF4:0Compensation Capacitor Fine Value
CSD31:24Charge Share Delay Value

CTRLDCONTROL D Register

Address
0x4482C014
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
DSEN24DSEN Driven Shield Enable.
POLICC23Polarity of Internal Compensation Capacitor
EXTCIEN21:20External Integration Capacitor Enable
WINSS19Window Single Sample
WINCM18:16Window Comparator Mode
AAN11:8Analog Accumulation Number
DAN2:0Digital Accumulation Number
DSEQSTOP31Stop DMA Sequence

CTRLECONTROL E REGISTER

Address
0x4482C018
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
WKUPEXP15:12Wake-Up Exponent
PRSC10:8This field defines the PTC clock relative to the peripheral clock according to the table below.
AIPMPEN4Analog Input Charge Pump Enable

SWTRIGSoftware Trigger Register

Address
0x4482C01C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
STCONV0Start Conversion

WINLTWindow Comparator Low Threshold Register

Address
0x4482C020
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
WCLT15:0Window Comparator Low Threshold

WINHTWindow Comparator High Threshold Register

Address
0x4482C024
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
WCHT15:0Window Comparator High Threshold

PINEN1PTC Line Enable 1 Register

Address
0x4482C028
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
PINEN31:0PTC-Line 31-0 Enable

PINEN2PTC Line Enable 2 Register

Address
0x4482C02C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
PINEN3:0PTC-Line 63-32 Enable

XSEL1X Line Selection 1 Register

Address
0x4482C030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
XSEL31:0X-Line Selection [31:0]

XSEL2X Line Selection 2 Register

Address
0x4482C034
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
XSEL3:0X-Line Selection [63:32]

YSEL1Y Line Selection 1 Register

Address
0x4482C038
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
YSEL31:0Y-Line Selection [31:0]

YSEL2Y Line Selection 2 Register

Address
0x4482C03C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
YSEL3:0Y-Line Selection [63:32]

POLCTRL1Polarity Control 1 Register

Address
0x4482C040
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
POLARITY31:0Choose X/Y lines Polarity [31:0]

POLCTRL2Polarity Control 2 Register

Address
0x4482C044
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
POLARITY3:0Choose X/Y lines Polarity [63:32]

INTENCLRINTERRUPT ENABLE CLEAR Register

Address
0x4482C048
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
ACRRDY7Analog Core Ready Enable Clear.
WCOMP1Window Comparator Enable Clear.
EOC0End of Conversion Enable Clear.

INTENSETINTERRUPT ENABLE SET Register

Address
0x4482C04C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
ACRRDY7Analog Core Ready Enable Set.
WCOMP1Window Comparator Enable Set.
EOC0End of Conversion Enable Set.

INTFLAGSETINTERRUPT FLAG SET Register

Address
0x4482C050
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
ACRRDY7Analog Core Ready Enable Set.
WCOMP1Window Comparator Enable Set.
EOC0End of Conversion Enable Set.

INTFLAGINTERRUPT FLAG STATUS and CLEAR Register

Address
0x4482C054
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
ACRRDY7Analog Core Ready Flag
WCOMP1Window Comparator Flag
EOC0End of Conversion Flag

STATUSSTATUS Register

Address
0x4482C058
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
WCC14:8Window Comparator Counter
DAD7Digital Accumulation Done
PTCBUSY0PTC Busy Status

SYNCBUSYSynchronization Register

Address
0x4482C05C
Reset
0x00000000
Access
read only
Size
32-bit
14 fields
FieldBitsWhat it does
POLCTRL213Polarity Control 2 Synchronization Busy
POLCTRL112Polarity Control 1 Synchronization Busy
YSEL211Y-lines Selection 2 Synchronization Busy
YSEL110Y-lines Selection 1 Synchronization Busy
XSEL29X-lines Selection 2 Synchronization Busy
XSEL18X-lines Selection 1 Synchronization Busy
WINHT7Window Comparator High Threshold Synchronization Busy
WINLT6Window Comparator Low Threshold Synchronization Busy
SWTRIG5Software Trigger Synchronization Busy
CTRLD4Control D Synchronization Busy
CTRLC3Control C Synchronization Busy
CTRLB2Control B Synchronization Busy
ENABLE1ENABLE Synchronization Busy
SWRST0SWRST Synchronization Busy --- Synchronizing Busy bit for swrst

DSEQCTRLDMA SEQUENCE CTRL Register

Address
0x4482C060
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
CSD17Charge Share Delay
CI16Integration Capacitor
CC15Compensation Capacitor
POL14:11Polarity n lower/upper half word
YSEL10:7Y-line n Selection lower/uper half word
XSEL6:3X-line n Selection lower/upper half word
WINHT2Window Comparator High Threshold
WINLT1Window Comparator Low Threshold
CTRLD0Control D.
AUTOSTART31PTC Auto-Start Conversion.

DSEQSTATDMA SEQUENCE STATUS - Register

Address
0x4482C064
Reset
0x00000000
Access
read only
Size
32-bit
10 fields
FieldBitsWhat it does
CSD17Charge Share Delay
CI16Integration Capacitor
CC15Compensation Capacitor
POL14:11Polarity n lower/upper half word
YSEL10:7Y-line n Selection lower/upper half word
XSEL6:3X-line n Selection lower/upper half word
WINHT2Window Comparator High Threshold
WINLT1Window Comparator Low Threshold
CTRLD0Control D.
BUSY31Sequencing Busy

DSEQDATADMA SEQUENCE DATA - Register

Address
0x4482C068
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
DATA31:0DMA Sequential Data.

RESULTRegister

Address
0x4482C06C
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
RES11:0Result Conversion Value.
ACCRES31:16Accumulated Result Conversion Value.