欢迎访问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 TECHNOLOGY ]
 浏览型号PIC18F2320-I/SP的Datasheet PDF文件第27页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第28页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第29页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第30页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第32页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第33页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第34页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第35页  
PIC18F2220/2320/4220/4320
3.0
POWER MANAGED MODES
The PIC18F2X20 and PIC18F4X20 devices offer a total
of six operating modes for more efficient power
management (see Table 3-1). These operating modes
provide a variety of options for selective power
conservation in applications where resources may be
limited (i.e., battery-powered devices).
There are three categories of power managed modes:
• Sleep mode
• Idle modes
• Run modes
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 INTOSC multiplexer);
the Sleep mode does not use a clock source.
The clock switching feature offered in other PIC18
devices (i.e., using the Timer1 oscillator in place of the
primary oscillator) and the Sleep mode offered by all
PICmicro
®
devices (where all system clocks are
stopped) are both offered in the PIC18F2X20/4X20
devices (SEC_RUN and Sleep modes, respectively).
However, additional power managed modes are avail-
able that allow the user greater flexibility in determining
what portions of the device are operating. The power
managed modes are event driven; that is, some
specific event must occur for the device to enter or
(more particularly) exit these operating modes.
For PIC18F2X20/4X20 devices, the power managed
modes are invoked by using the existing
SLEEP
instruction. All modes exit to PRI_RUN mode when trig-
gered by an interrupt, a Reset, or a WDT time-out
(PRI_RUN mode is the normal full power execution
mode; the CPU and peripherals are clocked by the pri-
mary oscillator source). In addition, power managed
Run modes may also exit to Sleep mode or their
corresponding Idle mode.
3.1
Selecting Power Managed Modes
Selecting a power managed mode requires deciding if
the CPU is to be clocked or not and selecting a clock
source. The IDLEN bit controls CPU clocking while the
SC1:SCS0 bits select a clock source. The individual
modes, bit settings, clock sources and affected
modules are summarized in Table 3-1.
3.1.1
CLOCK SOURCES
The clock source is selected by setting the SCS bits of
the OSCCON register. Three clock sources are avail-
able for use in power managed Idle modes: the primary
clock (as configured in Configuration Register 1H), the
secondary clock (Timer1 oscillator) and the internal
oscillator block. The secondary and internal oscillator
block sources are available for the power managed
modes (PRI_RUN mode is the normal full power exe-
cution mode; the CPU and peripherals are clocked by
the primary oscillator source).
TABLE 3-1:
Mode
POWER MANAGED MODES
OSCCON Bits
IDLEN
<7>
0
0
0
0
1
1
1
SCS1:SCS0
<1:0>
00
00
01
1x
00
01
1x
Module Clocking
Available Clock and Oscillator Source
CPU
Off
Clocked
Clocked
Clocked
Off
Off
Off
Peripherals
Off
Clocked
Clocked
Clocked
Clocked
Clocked
Clocked
None – All clocks are disabled
Primary – LP, XT, HS, HSPLL, RC, EC, INTRC
(1)
.
This is the normal full power execution mode.
Secondary – Timer1 Oscillator
Internal Oscillator Block
(1)
Primary – LP, XT, HS, HSPLL, RC, EC
Secondary – Timer1 Oscillator
Internal Oscillator Block
(1)
Sleep
PRI_RUN
SEC_RUN
RC_RUN
PRI_IDLE
SEC_IDLE
RC_IDLE
Note 1:
Includes INTOSC and INTOSC postscaler, as well as the INTRC source.
2003 Microchip Technology Inc.
DS39599C-page 29