欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18F2520-I/SP 参数 Datasheet PDF下载

PIC18F2520-I/SP图片预览
型号: PIC18F2520-I/SP
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚增强型闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 412 页 / 6898 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F2520-I/SP的Datasheet PDF文件第39页浏览型号PIC18F2520-I/SP的Datasheet PDF文件第40页浏览型号PIC18F2520-I/SP的Datasheet PDF文件第41页浏览型号PIC18F2520-I/SP的Datasheet PDF文件第42页浏览型号PIC18F2520-I/SP的Datasheet PDF文件第44页浏览型号PIC18F2520-I/SP的Datasheet PDF文件第45页浏览型号PIC18F2520-I/SP的Datasheet PDF文件第46页浏览型号PIC18F2520-I/SP的Datasheet PDF文件第47页  
PIC18F2420/2520/4420/4520  
A simplified block diagram of the On-Chip Reset Circuit  
is shown in Figure 4-1.  
4.0  
RESET  
The PIC18F2420/2520/4420/4520 devices differentiate  
between various kinds of Reset:  
4.1  
RCON Register  
a) Power-on Reset (POR)  
Device Reset events are tracked through the RCON  
register (Register 4-1). The lower five bits of the regis-  
ter indicate that a specific Reset event has occurred. In  
most cases, these bits can only be cleared by the event  
and must be set by the application after the event. The  
state of these flag bits, taken together, can be read to  
indicate the type of Reset that just occurred. This is  
described in more detail in Section 4.6 “Reset State  
of Registers”.  
b) MCLR Reset during normal operation  
c) MCLR Reset during power-managed modes  
d) Watchdog Timer (WDT) Reset (during  
execution)  
e) Programmable Brown-out Reset (BOR)  
f) RESETInstruction  
g) Stack Full Reset  
h) Stack Underflow Reset  
The RCON register also has control bits for setting  
interrupt priority (IPEN) and software control of the  
BOR (SBOREN). Interrupt priority is discussed in  
Section 9.0 “Interrupts”. BOR is covered in  
Section 4.4 “Brown-out Reset (BOR)”.  
This section discusses Resets generated by MCLR,  
POR and BOR and covers the operation of the various  
start-up timers. Stack Reset events are covered in  
Section 5.1.2.4 “Stack Full and Underflow Resets”.  
WDT Resets are covered in Section 23.2 “Watchdog  
Timer (WDT)”.  
FIGURE 4-1:  
SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT  
RESET  
Instruction  
Stack Full/Underflow Reset  
Stack  
Pointer  
External Reset  
MCLRE  
MCLR  
( )_IDLE  
Sleep  
WDT  
Time-out  
VDD Rise  
Detect  
POR Pulse  
BOREN  
VDD  
Brown-out  
Reset  
S
OST/PWRT  
OST  
10-Bit Ripple Counter  
1024 Cycles  
Chip_Reset  
R
Q
OSC1  
32 μs  
65.5 ms  
PWRT  
11-Bit Ripple Counter  
INTRC(1)  
Enable PWRT  
(2)  
Enable OST  
Note 1: This is the INTRC source from the internal oscillator block and is separate from the RC oscillator of the CLKI pin.  
2: See Table 4-2 for time-out situations.  
© 2008 Microchip Technology Inc.  
DS39631E-page 41  
 复制成功!