|
PIC24FV16KM204 Datasheet, PDF (79/336 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontroller with XLP Technology Data Sheet | |||
|
◁ |
PIC24FV16KM204 FAMILY
7.0 RESETS
Note:
This data sheet summarizes the features
of this group of PIC24F devices. It is not
intended to be a comprehensive refer-
ence source. For more information on
Resets, refer to the âPIC24F Family
Reference Manualâ, Section 40. âReset
with Programmable Brown-out Resetâ
(DS39728).
The Reset module combines all Reset sources and
controls the device Master Reset Signal, SYSRST. The
following is a list of device Reset sources:
⢠POR: Power-on Reset
⢠MCLR: Pin Reset
⢠SWR: RESET Instruction
⢠WDTR: Watchdog Timer Reset
⢠BOR: Brown-out Reset
⢠LPBOR: Low-Power BOR
⢠TRAPR: Trap Conflict Reset
⢠IOPUWR: Illegal Opcode Reset
⢠UWR: Uninitialized W Register Reset
A simplified block diagram of the Reset module is
shown in Figure 7-1.
Any active source of Reset will make the SYSRST
signal active. Many registers associated with the CPU
and peripherals are forced to a known Reset state.
Most registers are unaffected by a Reset; their status is
unknown on Power-on Reset (POR) and unchanged by
all other Resets.
Note:
Refer to the specific peripheral or
Section 3.0 âCPUâ of this data sheet for
register Reset states.
All types of device Reset will set a corresponding status
bit in the RCON register to indicate the type of Reset
(see Register 7-1). A Power-on Reset will clear all bits
except for the BOR and POR bits (RCON<1:0>) which
are set. The user may set or clear any bit at any time
during code execution. The RCON bits only serve as
status bits. Setting a particular Reset status bit in
software will not cause a device Reset to occur.
The RCON register also has other bits associated with
the Watchdog Timer (WDT) and device power-saving
states. The function of these bits is discussed in other
sections of this manual.
Note:
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.
FIGURE 7-1:
RESET SYSTEM BLOCK DIAGRAM
RESET
Instruction
MCLR
Glitch Filter
WDT
Module
Sleep or Idle
BOREN<1:0> VDD
VDD Rise
Detect
0
00
SBOREN
(RCON<13>)
01
SLEEP
10
1
11
Brown-out
Reset
Enable Voltage Regulator
PIC24FV16KMXXX (only)
Configuration Mismatch
Trap Conflict
Illegal Opcode
Uninitialized W Register
POR
BOR
SYSRST
ï£ 2013 Microchip Technology Inc.
Advance Information
DS33030A-page 79
|
▷ |