Microchip Technology TDGL019 Data Sheet

Page of 330
PIC32MX1XX/2XX
DS60001168F-page 84
© 2011-2014 Microchip Technology Inc.
REGISTER 6-1:
RCON: RESET CONTROL REGISTER
Bit 
Range
Bit
31/23/15/7
Bit
30/22/14/6
Bit
29/21/13/5
Bit
28/20/12/4
Bit
27/19/11/3
Bit
26/18/10/2
Bit
25/17/9/1
Bit
24/16/8/0
31:24
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
23:16
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
15:8
U-0
U-0
U-0
U-0
U-0
U-0
R/W-0, HS
R/W-0
CMR
VREGS
7:0
R/W-0, HS
R/W-0, HS
U-0
R/W-0, HS
R/W-0, HS
R/W-0, HS
R/W-1, HS
R/W-1, HS
EXTR
SWR
WDTO
SLEEP
IDLE
BOR
(1)
POR
(1)
Legend:
HS = Set by hardware
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 31-10 Unimplemented: Read as ‘0’
bit 9
CMR:
 Configuration Mismatch Reset Flag bit 
1
 = Configuration mismatch Reset has occurred
0
 = Configuration mismatch Reset has not occurred
bit 8
VREGS:
 Voltage Regulator Standby Enable bit
1
 = Regulator is enabled and is on during Sleep mode
0
 = Regulator is disabled and is off during Sleep mode
bit 7
EXTR:
 External Reset (MCLR) Pin Flag bit
1
 = Master Clear (pin) Reset has occurred
0
 = Master Clear (pin) Reset has not occurred
bit 6
SWR:
 Software Reset Flag bit
1
 = Software Reset was executed
0
 = Software Reset as not executed
bit 5
Unimplemented: 
Read as ‘0’
bit 4
WDTO:
 Watchdog Timer Time-out Flag bit
1
 = WDT Time-out has occurred
0
 = WDT Time-out has not occurred
bit 3
SLEEP:
 Wake From Sleep Flag bit
1
 = Device was in Sleep mode
0
 = Device was not in Sleep mode
bit 2
IDLE:
 Wake From Idle Flag bit
1
 = Device was in Idle mode
0
 = Device was not in Idle mode
bit 1
BOR:
 Brown-out Reset Flag bit
(1)
1
 = Brown-out Reset has occurred 
0
 = Brown-out Reset has not occurred
bit 0
POR:
 Power-on Reset Flag bit
(1)
1
 = Power-on Reset has occurred
0
 = Power-on Reset has not occurred
Note 1:
User software must clear this bit to view next detection.