công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC18F4331 bảng dữ liệu(PDF) 35 Page - Microchip Technology

tên linh kiện PIC18F4331
Giải thích chi tiết về linh kiện  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PDF  396 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4331 bảng dữ liệu(HTML) 35 Page - Microchip Technology

Back Button PIC18F4331 Datasheet HTML 31Page - Microchip Technology PIC18F4331 Datasheet HTML 32Page - Microchip Technology PIC18F4331 Datasheet HTML 33Page - Microchip Technology PIC18F4331 Datasheet HTML 34Page - Microchip Technology PIC18F4331 Datasheet HTML 35Page - Microchip Technology PIC18F4331 Datasheet HTML 36Page - Microchip Technology PIC18F4331 Datasheet HTML 37Page - Microchip Technology PIC18F4331 Datasheet HTML 38Page - Microchip Technology PIC18F4331 Datasheet HTML 39Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 396 page
background image
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 33
PIC18F2331/2431/4331/4431
3.2
Sleep Mode
The power-managed Sleep mode in the PIC18F2331/
2431/4331/4431 devices is identical to that offered in
all other PICmicro® controllers. It is entered by clearing
the IDLEN and SCS1:SCS0 bits (this is the Reset
state), and executing the SLEEP instruction. This shuts
down the primary oscillator and the OSTS bit is cleared
(see Figure 3-1).
When a wake event occurs in Sleep mode (by interrupt,
Reset, or WDT time-out), the system will not be clocked
until the primary clock source becomes ready (see
Figure 3-2), or it will be clocked from the internal oscil-
lator block if either the Two-Speed Start-up or the Fail-
Safe Clock Monitor are enabled (see Section 22.0
“Special Features of the CPU”). In either case, the
OSTS bit is set when the primary clock provides the
system clocks. The IDLEN and SCS bits are not
affected by the wake-up.
3.3
Idle Modes
The IDLEN bit allows the controller’s CPU to be selec-
tively shut down while the peripherals continue to oper-
ate. Clearing IDLEN allows the CPU to be clocked.
Setting IDLEN disables clocks to the CPU, effectively
stopping program execution (see Register 2-2). The
peripherals continue to be clocked regardless of the
setting of the IDLEN bit.
There is one exception to how the IDLEN bit functions.
When all the low-power OSCCON bits are cleared
(IDLEN:SCS1:SCS0 = 000), the device enters Sleep
mode upon the execution of the SLEEP instruction. This
is both the Reset state of the OSCCON register and the
setting that selects Sleep mode. This maintains com-
patibility with other PICmicro devices that do not offer
power-managed modes.
If the Idle Enable bit, IDLEN (OSCCON<7>), is set to a
‘1’ when a SLEEP instruction is executed, the
peripherals will be clocked from the clock source
selected using the SCS1:SCS0 bits; however, the CPU
will not be clocked. Since the CPU is not executing
instructions, the only exits from any of the idle modes
are by interrupt, WDT time-out or a Reset.
When a wake event occurs, CPU execution is delayed
approximately 10 µs while it becomes ready to execute
code. When the CPU begins executing code, it is
clocked by the same clock source as was selected in
the power-managed mode (i.e., when waking from
RC_IDLE mode, the internal oscillator block will clock
the CPU and peripherals until the primary clock source
becomes ready – this is essentially RC_RUN mode).
This continues until the primary clock source becomes
ready. When the primary clock becomes ready, the
OSTS bit is set, and the system clock source is
switched to the primary clock (see Figure 3-4). The
IDLEN and SCS bits are not affected by the wake-up.
While in any idle mode or the Sleep mode, a WDT time-
out will result in a WDT wake-up to full power operation.
TABLE 3-2:
COMPARISON BETWEEN POWER-MANAGED MODES
Power
Managed
Mode
CPU is clocked by ...
WDT time-out
causes a ...
Peripherals are
clocked by ...
Clock during wake-up
(while primary becomes
ready)
Sleep
Not clocked (not running) Wake-up
Not clocked
None or INTOSC multiplexer
if Two-Speed Start-up or
Fail-Safe Clock Monitor are
enabled.
Any idle mode
Not clocked (not running) Wake-up
Primary, Secondary or
INTOSC multiplexer
Unchanged from Idle mode
(CPU operates as in
corresponding Run mode).
Any run mode
Secondary, or INTOSC
multiplexer
Reset
Secondary or INTOSC
multiplexer
Unchanged from Run mode.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com