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

PIC18F2320-I/SP 参数 Datasheet PDF下载

PIC18F2320-I/SP图片预览
型号: PIC18F2320-I/SP
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能,增强型闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 388 页 / 6899 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F2320-I/SP的Datasheet PDF文件第36页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第37页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第38页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第39页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第41页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第42页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第43页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第44页  
PIC18F2220/2320/4220/4320  
3.4.4  
EXIT TO IDLE MODE  
3.5  
Wake-up From Power Managed  
Modes  
An exit from a power managed Run mode to its corre-  
sponding Idle mode is executed by setting the IDLEN  
bit and executing a SLEEP instruction. The CPU is  
halted at the beginning of the instruction following the  
SLEEPinstruction. There are no changes to any of the  
clock source status bits (OSTS, IOFS or T1RUN).  
While the CPU is halted, the peripherals continue to be  
clocked from the previously selected clock source.  
An exit from any of the power managed modes is trig-  
gered by an interrupt, a Reset, or a WDT time-out. This  
section discusses the triggers that cause exits from  
power managed modes. The clocking subsystem  
actions are discussed in each of the power managed  
modes (see Section 3.2 “Sleep Mode” through  
Section 3.4 “Run Modes”).  
3.4.5  
EXIT TO SLEEP MODE  
Note:  
If application code is timing sensitive, it  
should wait for the OSTS bit to become set  
before continuing. Use the interval during  
the low-power exit sequence (before  
OSTS is set) to perform timing insensitive  
“housekeeping” tasks.  
An exit from a power managed Run mode to Sleep  
mode is executed by clearing the IDLEN and  
SCS1:SCS0 bits and executing a SLEEP instruction.  
The code is no different than the method used to invoke  
Sleep mode from the normal operating (full power)  
mode.  
Device behavior during Low-Power mode exits is  
summarized in Table 3-3.  
The primary clock and internal oscillator block are dis-  
abled. The INTRC will continue to operate if the WDT  
is enabled. The Timer1 oscillator will continue to run, if  
enabled, in the T1CON register. All clock source status  
bits are cleared (OSTS, IOFS and T1RUN).  
3.5.1  
EXIT BY INTERRUPT  
Any of the available interrupt sources can cause the  
device to exit a power managed mode and resume full  
power operation. To enable this functionality, an inter-  
rupt source must be enabled by setting its enable bit in  
one of the INTCON or PIE registers. The exit sequence  
is initiated when the corresponding interrupt flag bit is  
set. On all exits from Lower Power mode by interrupt,  
code execution branches to the interrupt vector if the  
GIE/GIEH bit (INTCON<7>) is set. Otherwise, code  
execution continues or resumes without branching  
(see Section 9.0 “Interrupts”).  
DS39599C-page 38  
2003 Microchip Technology Inc.  
 复制成功!