PIC32MK1024GPK064 RCON registers

The 4 registers of RCON (Reset control), from 0xBF801240, with their reset value and every field. The PIC32MK1024GPK064 has 1153 registers in 106 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.

RCON Reset control

RCONReset Control Register

Address
0xBF801240
Reset
0x00000000
Access
read/write
Size
32-bit
16 fields
FieldBitsWhat it does
PORCORE30Core Voltage POR Flag bit
  • 0 A Power-up Reset has not occurred due to Core Voltage
  • 1 A Power-up Reset has occurred due to Core Voltage
BCFGERR27Primary Configuration Registers Error Flag bit
  • 0 No error occurred during a read of the primary configuration registers
  • 1 An error occurred during a read of the primary configuration registers
BCFGFAIL26Primary/Secondary Configuration Registers Error Flag bit
  • 0 No error occurred during a read of the primary and alternate configuration registers
  • 1 An error occurred during a read of the primary and alternate configuration registers
VBPOR17
VBAT16
DPSLP10
CMR9Configuration Mismatch Reset Flag bit
  • 0 A Configuration Mismatch Reset has not occurred
  • 1 A Configuration Mismatch Reset has occurred
EXTR7External Reset (MCLR) Pin Flag bit
  • 0 Master Clear (pin) Reset has not occurred
  • 1 Master Clear (pin) Reset has occurred
SWR6Software Reset Flag bit
  • 0 Software Reset was not executed
  • 1 Software Reset was executed
DMTO5Deadman Timer Time-out Flag bit
  • 0 A DMT time-out has not occurred
  • 1 A DMT time-out has occurred
WDTO4Watchdog Timer Time-out Flag bit
  • 0 WDT Time-out has not occurred
  • 1 WDT Time-out has occurred
SLEEP3Wake From Sleep Flag bit
  • 0 Device was not in Sleep mode
  • 1 Device was in Sleep mode
IDLE2Wake From Idle Flag bit
  • 0 Device was not in Idle mode
  • 1 Device was in Idle mode
BOR1Brown-out Reset Flag bit
  • 0 Brown-out Reset has not occurred
  • 1 Brown-out Reset has occurred
POR0Power-on Reset Flag bit
  • 0 Power-on Reset has NOT occurred
  • 1 Power-on Reset has occurred
PORIO31I/O Voltage POR Flag bit
  • 0 A Power-up Reset has not occurred due to I/O Voltage
  • 1 A Power-up Reset has occurred due to I/O Voltage

RSWRSTSoftware Reset Register

Address
0xBF801250
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
SWRST0Enable software Reset event
  • 0 No effect
  • 1 Enable software Reset event

RNMICONNon-maskable Interrupt Control Register

Address
0xBF801260
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
DMTO25Deadman Timer Time-out Flag bit
  • 0 DMT time-out has not occurred
  • 1 DMT time-out has occurred and caused a NMI
WDTO24Watchdog Timer Time-Out Flag bit
  • 0 WDT time-out has not occurred
  • 1 WDT time-out has occurred and caused a NMI
SWNMI23Software NMI Trigger
  • 0 An NMI will not be generated
  • 1 An NMI will be generated
GNMI19General NMI bit
  • 0 A general NMI event has not been detected
  • 1 A general NMI event has been detected or a user-initiated NMI event has occurred
HLVD18
CF17Clock Fail Detect bit
  • 0 FSCM has not detected clock failure
  • 1 FSCM has detected clock failure and caused an NMI
WDTS16Watchdog Timer Time-out in Sleep Mode Flag bit
  • 0 WDT time-out has not occurred during Sleep mode
  • 1 WDT time-out has occurred during Sleep mode and caused a wake-up from sleep
NMICNT15:0NMI Reset Counter Value bits
  • 0 No delay between NMI assertion and device Reset event

PWRCONPower Control Register

Address
0xBF801270
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
VREGRUN7:6
VREGSLP5:4
VREGS0Internal Voltage Regulator Stand-by Enable bit
  • 0 Voltage regulator will go to Stand-by mode during Sleep
  • 1 Voltage regulator will remain active during Sleep