Microchip Technology MA330024 Data Sheet

Page of 462
 2009-2014 Microchip Technology Inc.
DS70000591F-page 117
dsPIC33FJ32GS406/606/608/610 and dsPIC33FJ64GS406/606/608/610
              
REGISTER 6-1:
RCON: RESET CONTROL REGISTER
)
R/W-0
R/W-0
U-0
U-0
U-0
U-0
U-0
R/W-0
TRAPR
IOPUWR
VREGS
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-1
R/W-1
EXTR
SWR
SWDTEN
WDTO
SLEEP
IDLE
BOR
POR
bit 7
bit 0
Legend:
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 15
TRAPR: Trap Reset Flag bit
1
 = A Trap Conflict Reset has occurred
0
 = A Trap Conflict Reset has not occurred
bit 14
IOPUWR: Illegal Opcode or Uninitialized W Access Reset Flag bit
1
 = An illegal opcode detection, an illegal address mode or Uninitialized W register used as an
Address Pointer caused a Reset
0
 = An Illegal Opcode or Uninitialized W Reset has not occurred
bit 13-9
Unimplemented: Read as ‘0’
bit 8
VREGS: Voltage Regulator Standby During Sleep bit
1
 = Voltage regulator is active during Sleep
0
 = Voltage regulator goes into Standby mode during Sleep
bit 7
EXTR: External Reset Pin (MCLR) bit
1
 = A Master Clear (pin) Reset has occurred
0
 = A Master Clear (pin) Reset has not occurred
bit 6
SWR: Software Reset Flag (Instruction) bit
1
 = A RESET instruction has been executed
0
 = A RESET instruction has not been executed
bit 5
SWDTEN: Software Enable/Disable of WDT bit
1
 = WDT is enabled
0
 = WDT is disabled
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-up from Sleep Flag bit
1
 = Device has been in Sleep mode
0
 = Device has not been in Sleep mode
bit 2
IDLE: Wake-up from Idle Flag bit
1
 = Device has been in Idle mode
0
 = Device has not been in Idle mode
bit 1
BOR: Brown-out Reset Flag bit
1
 = A Brown-out Reset has occurred
0
 = A Brown-out Reset has not occurred
bit 0
POR: Power-on Reset Flag bit
1
 = A Power-on Reset has occurred
0
 = A Power-on Reset has not occurred
Note 1:
All of the Reset status bits can be set or cleared in software. Setting one of these bits in software does not 
cause a device Reset. 
2:
If the FWDTEN Configuration bit is ‘1’ (unprogrammed), the WDT is always enabled, regardless of the 
SWDTEN bit setting.