PIC32CX2051MTG64 RSTC registers

The 3 registers of RSTC (Reset Controller), from 0x40053000, with their reset value and every field. The PIC32CX2051MTG64 has 2801 registers in 57 peripherals, one page each.

RSTC Reset Controller

RSTC_CRControl Register

Address
0x40053000
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
FieldBitsWhat it does
EXTRST3External Reset
PERRST2Peripheral Reset
PROCRST0Processor Reset
KEY31:24System Reset Key
  • 165 Writing any other value in this field aborts the write operation.

RSTC_SRStatus Register

Address
0x40053004
Reset
0x00000000
Access
read only
Size
32-bit
5 fields
FieldBitsWhat it does
SRCMP17Software Reset Command in Progress
NRSTL16NRST Pin Level
RSTTYP11:8Reset Type
  • 0 First power-up reset, Core and VDD3V3 Supply Monitor if not a PORVDD3V3 reset
  • 1 VDDCORE reset. Wake-up from Backup mode
  • 2 Watchdog 0 fault occurred
  • 3 Processor reset required by the software
  • 4 NRST pin detected low
  • 5 Core Supply Monitor reset
  • 6 CPU clock failure detection occurred
  • 7 32.768 kHz crystal failure detection fault occurred
  • 9 Watchdog 1 fault occurred
  • 10 VDD3V3 PORVDD3V3 reset occurred
CORESMS1VDDCORE Supply Monitor Reset Flag Status (cleared on read)
URSTS0User Reset Status (cleared on read)

RSTC_MRMode Register

Address
0x40053008
Reset
0x000000F5
Access
read/write
Size
32-bit
14 fields
FieldBitsWhat it does
BADXTRST22Bad XTAL Fail Reset
PWRSW21Backup Area Power Switch Control
  • 0 VDDBU is supplied by VDD3V3
  • 1 VDDBU is supplied by VBAT
CPEREN17Coprocessor Peripheral Enable
CORSMIEN16VDDCORE Supply Monitor Interrupt Enable
ERSTL11:8External Reset Length
WDTPMC17WDT1 PMC Reset
WDTPMC06WDT0 PMC Reset
SFTPMCRS5Software PMC Reset
URSTIEN4User Reset Interrupt Enable
CPUFEN3CPU Fail Enable
URSTASYNC2User Reset Asynchronous Control
SCKSW1Slow Clock Switching
URSTEN0User Reset Enable
KEY31:24Write Access Password
  • 165 Writing any other value in this field aborts the write operation. Always reads as 0.