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

PIC18F2450-I/SO 参数 Datasheet PDF下载

PIC18F2450-I/SO图片预览
型号: PIC18F2450-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚,高性能, 12 MIPS ,增强型闪存, USB微控制器采用纳瓦技术 [28/40/44-Pin, High-Performance, 12 MIPS, Enhanced Flash, USB Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 320 页 / 5591 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F2450-I/SO的Datasheet PDF文件第31页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第32页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第33页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第34页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第36页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第37页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第38页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第39页  
PIC18F2450/4450  
3.1.1  
CLOCK SOURCES  
3.0  
POWER-MANAGED MODES  
The SCS1:SCS0 bits allow the selection of one of three  
clock sources for power-managed modes. They are:  
PIC18F2450/4450 devices offer a total of seven  
operating modes for more efficient power  
management. These modes provide a variety of  
options for selective power conservation in applications  
where resources may be limited (i.e., battery-powered  
devices).  
• The primary clock, as defined by the  
FOSC3:FOSC0 Configuration bits  
• The secondary clock (the Timer1 oscillator)  
• The internal oscillator (for RC modes)  
There are three categories of power-managed modes:  
3.1.2  
ENTERING POWER-MANAGED  
MODES  
• Run modes  
• Idle modes  
• Sleep mode  
Switching from one power-managed mode to another  
begins by loading the OSCCON register. The  
SCS1:SCS0 bits select the clock source and determine  
which Run or Idle mode is to be used. Changing these  
bits causes an immediate switch to the new clock  
source, assuming that it is running. The switch may  
also be subject to clock transition delays. These are  
discussed in Section 3.1.3 “Clock Transitions and  
Status Indicators” and subsequent sections.  
These categories define which portions of the device  
are clocked and sometimes, what speed. The Run and  
Idle modes may use any of the three available clock  
sources (primary, secondary or internal oscillator); the  
Sleep mode does not use a clock source.  
The power-managed modes include several power-  
saving features offered on previous PICmicro®  
devices. One is the clock switching feature, offered in  
other PIC18 devices, allowing the controller to use the  
Timer1 oscillator in place of the primary oscillator. Also  
included is the Sleep mode, offered by all PICmicro  
devices, where all device clocks are stopped.  
Entry to the power-managed Idle or Sleep modes is  
triggered by the execution of a SLEEPinstruction. The  
actual mode that results depends on the status of the  
IDLEN bit.  
Depending on the current mode and the mode being  
switched to, a change to a power-managed mode does  
not always require setting all of these bits. Many  
transitions may be done by changing the oscillator  
select bits, or changing the IDLEN bit, prior to issuing a  
SLEEP instruction. If the IDLEN bit is already  
configured correctly, it may only be necessary to  
perform a SLEEP instruction to switch to the desired  
mode.  
3.1  
Selecting Power-Managed Modes  
Selecting  
a power-managed mode requires two  
decisions: if the CPU is to be clocked or not and the  
selection of clock source. The IDLEN bit  
(OSCCON<7>) controls CPU clocking, while the  
SCS1:SCS0 bits (OSCCON<1:0>) select the clock  
source. The individual modes, bit settings, clock sources  
and affected modules are summarized in Table 3-1.  
a
TABLE 3-1:  
Mode  
POWER-MANAGED MODES  
OSCCON Bits Module Clocking  
CPU Peripherals  
Off Off  
Clocked Clocked Primary – all oscillator modes.  
This is the normal full power execution mode.  
Available Clock and Oscillator Source  
IDLEN(1)  
SCS1:SCS0  
Sleep  
0
N/A  
None – all clocks are disabled  
PRI_RUN  
N/A  
00  
SEC_RUN  
RC_RUN  
PRI_IDLE  
SEC_IDLE  
RC_IDLE  
N/A  
N/A  
1
01  
1x  
00  
01  
1x  
Clocked Clocked Secondary – Timer1 oscillator  
Clocked Clocked Internal oscillator(2)  
Off  
Off  
Off  
Clocked Primary – all oscillator modes  
Clocked Secondary – Timer1 oscillator  
Clocked Internal oscillator(2)  
1
1
Note 1: IDLEN reflects its value when the SLEEPinstruction is executed.  
2: Clock is INTRC source.  
© 2006 Microchip Technology Inc.  
Advance Information  
DS39760A-page 33  
 复制成功!