The 9 registers of CFG (Configuration and pin control), from 0xBF800000, with their reset value and every field. The PIC32MZ1025W104132 has 1091 registers in 66 peripherals, one page each.
Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.
CFG Configuration and pin control
CFGCON0
Address
0xBF800000
Reset
0x00000000
Access
read/write
Size
32-bit
23 fields
Field
Bits
What it does
ETHTPSF
30
Ethernet Tx SOF enabled for CTR measurements
0 RPSF is enabled in CTR measurement
1 TPSF is enabled in CTR measurement
FECCCON
29:28
Flash ECC Control
0 ECC Enabled (NVMOP = Word Programming disabled)
1 Dynamically ECC Enabled
2 ECC and Dynamically ECC Disabled
ETHPLLHWMD
27
EWPLL HW Control Mode for PWDN and RESET
0 PWDN and RESET are generated by SW using corresponding PLLCON register bits
1 PWDN and RESET are generated by HW
BTPLLHWMD
26
BTPLL HW Control Mode for PWDN and RESET
0 PWDN and RESET are generated by SW using corresponding PLLCON register bits
1 PWDN and RESET are generated by HW
SPLLHWMD
25
SPLL HW Control Mode for PWDN and RESET
0 PWDN and RESET are generated by SW using corresponding PLLCON register bits
1 PWDN and RESET are generated by HW
UPLLHWMD
24
UPLL HW Control Mode for PWDN and RESET
0 PWDN and RESET are generated by SW using corresponding PLLCON register bits
1 PWDN and RESET are generated by HW
PCM
23
PCHE I/D Cacheable Mode
0 The cache-ability is controlled by the MIPS CPU via HPROT[3]. This feature is not available on all the MIPS cores.
1 Always enabled from outside. Can be further enabled/disabled by PCHE SFR registers.
CANFDDIV
21:20
CAN-FD divider control
0 Divide-by 2
2 Divide-by 4
3 Divide-by 8
IC_ACLK
17
ICAP Alternate Clock Selection
0 All ICAP Modules use TMR2/TMR3 as their timebase clock
1 ICAP Modules use an alternative TMR pair as their timebase clock
OC_ACLK
16
OCMP Alternate Clock Selection
0 All OCMP Modules use TMR2/TMR3 as their timebase clock
1 OCMP Modules use an alternative TMR pair as their timebase clock
CFGLOCK
15:14
Configuration Register Lock
0 All NVR memory self-writes, Boot Configuration (BCFG0) and System Configuration registers (CFG* and USER_ID) are not locked and can be written - CFGLOCK value can be changed
2 All NVR memory self-writes, Boot Configuration (BCFG0) and System Configuration registers (CFG* and USER_ID) are locked and can not be written - CFGLOCK value can be changed.
3 All NVR memory self-writes, Boot Configuration (BCFG0) and System Configuration registers (CFG* and USER_ID) are locked and can not be written - CFGLOCK value can not be changed
IOLOCK
13
IO LOCK
0 IO Remap SFR are not locked and can be modified
1 IO Remap SFR bits are locked and cannot be modified
PMDLOCK
12
Peripheral Module Disable (PMD) LOCK
0 PMDx SFR bits are not locked and can be modified
1 PMDx SFR bits are locked and cannot be modified
PGLOCK
11
Permission Group LOCK
0 CFGPG SFR bits are not locked and can be modified
1 CFGPG SFR bits are locked and cannot be modified
PMULOCK
10
PMU Controller Register LOCK
0 PMU SFR bits are not locked and can be modified
1 PMU SFR bits are locked and cannot be modified
USBSSEN
8
USB Suspend Sleep Enable
0 USB FREF clock continues to run when suspend mode is active.
1 USB FREF clock is shut down when suspend mode is active.
EXLPRI
7
CPU arbitration Priority to SRAM when servicing an Interrupt
0 CPU uses Least Recently Serviced Arbitration (same as other initiators)
1 CPU gets High Priority access to SRAM1, SRAM2
DMAPRI
6
DMAR and DMAW arbitration Priority to SRAM
0 DMA uses Least Recently Serviced Arbitration (same as other initiators)
1 DMA gets High Priority access to SRAM1, SRAM2
FCPRI
5
FC arbitration Priority to SRAM
0 FC uses Least Recently Serviced Arbitration (same as other initiators)
1 FC gets High Priority access to SRAM1, SRAM2
JTAGEN
3
JTAG control bit
0 JTAG Port Disabled
1 JTAG Port Enabled
TROEN
2
Trace clock control bit
0 Stop Trace Clock and disable Trace Outputs
1 Start Trace Clock and enable Trace Outputs (Trace Probe must be present)
TDOEN
0
TDO control for 2 wire JTAG protocol
0 2-wire JTAG protocol does not use TDO (Two phase (Half Duplex) Protocol)