English
Language : 

PIC32MX440F256H-80I Datasheet, PDF (92/646 Pages) Microchip Technology – 64/100-Pin General Purpose and USB 32-Bit Flash Microcontrollers
PIC32MX3XX/4XX
5.3.3 RCON REGISTER STATES
Status bits from the RCON register are set or cleared
differently in different Reset situations, as indicated in
Table 5-2. The RCON bits only serve as status bits. The
user may set or clear any of the bits at any time during
code execution. Setting a particular Reset bit in
software will not cause a device Reset to occur. The
RCON register also has other bits associated with the
Watchdog Timer and device power-saving states.
TABLE 5-2: STATUS BITS, INITIALIZATION CONDITION FOR RCON REGISTER
Condition
Program Counter
Power-on Reset
0xBFC0_0000
00000011
Brown-out Reset
00000010
MCLR During Run Mode
1uuuuuuu
MCLR During Idle Mode
1 u u u 1(2) u u u
MCLR During Sleep Mode
1 u u 1(2) u u u u
Software Reset Command
u1uuuuuu
Configuration Word
Mismatch Reset
uuuuu1uu
WDT Time-out Reset
During Run Mode
WDT Time-out Reset
During Idle Mode
WDT Time-out Reset
During Sleep Mode
Interrupt Exit from Idle Mode
Interrupt Exit from Sleep Mode
Vector(1)
uu1uuuuu
u u 1 u 1(2) u u u
u u 1 1(2) u u u u
u u 0 u 1(2) u u u
u u 0 1(2) u u u u
Legend: u = unchanged
Note 1: Depends on Interrupt source.
2: SLEEP and IDLE bits states defined by previously executed WAIT instruction.
5.4 Using the RCON Status Bits
The user can read the RCON register after any device
Reset to determine the cause of the Reset. The status
bits in the RCON register should be cleared after they
are read so that the next RCON register value after a
device Reset will be meaningful.
DS61143E-page 90
Preliminary
© 2008 Microchip Technology Inc.