Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16F684 Datasheet(PDF) 112 Page - Microchip Technology

Part # PIC16F684
Description  14-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PDF  192 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F684 Datasheet(HTML) 112 Page - Microchip Technology

Back Button PIC16F684 Datasheet HTML 108Page - Microchip Technology PIC16F684 Datasheet HTML 109Page - Microchip Technology PIC16F684 Datasheet HTML 110Page - Microchip Technology PIC16F684 Datasheet HTML 111Page - Microchip Technology PIC16F684 Datasheet HTML 112Page - Microchip Technology PIC16F684 Datasheet HTML 113Page - Microchip Technology PIC16F684 Datasheet HTML 114Page - Microchip Technology PIC16F684 Datasheet HTML 115Page - Microchip Technology PIC16F684 Datasheet HTML 116Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 112 / 192 page
background image
PIC16F684
DS41202F-page 110
© 2007 Microchip Technology Inc.
12.6
Watchdog Timer (WDT)
The WDT has the following features:
• Operates from the LFINTOSC (31 kHz)
• Contains a 16-bit prescaler
• Shares an 8-bit prescaler with Timer0
• Time-out period is from 1 ms to 268 seconds
• Configuration bit and software controlled
WDT is cleared under certain conditions described in
Table 12-7.
12.6.1
WDT OSCILLATOR
The WDT derives its time base from the 31 kHz
LFINTOSC. The LTS bit of the OSCCON register does
not reflect that the LFINTOSC is enabled.
The value of WDTCON is ‘---0 1000’ on all Resets.
This gives a nominal time base of 17 ms.
12.6.2
WDT CONTROL
The WDTE bit is located in the Configuration Word
register. When set, the WDT runs continuously.
When the WDTE bit in the Configuration Word register
is set, the SWDTEN bit of the WDTCON register has no
effect. If WDTE is clear, then the SWDTEN bit can be
used to enable and disable the WDT. Setting the bit will
enable it and clearing the bit will disable it.
The PSA and PS<2:0> bits of the OPTION register
have the same function as in previous versions of the
PIC16F684
Family
of
microcontrollers.
See
Section 5.0 “Timer0 Module” for more information.
FIGURE 12-9:
WATCHDOG TIMER BLOCK DIAGRAM
Note:
When the Oscillator Start-up Timer (OST)
is invoked, the WDT is held in Reset,
because the WDT Ripple Counter is used
by the OST to perform the oscillator delay
count. When the OST count has expired,
the WDT will begin counting (if enabled).
TABLE 12-7:
WDT STATUS
Conditions
WDT
WDTE = 0
Cleared
CLRWDT
Command
Oscillator Fail Detected
Exit Sleep + System Clock = T1OSC, EXTRC, INTRC, EXTCLK
Exit Sleep + System Clock = XT, HS, LP
Cleared until the end of OST
31 kHz
PSA
16-bit WDT Prescaler
From Timer0 Clock Source
Prescaler(1)
8
PS<2:0>
PSA
WDT Time-out
To Timer0
WDTPS<3:0>
WDTE from the Configuration Word Register
1
1
0
0
SWDTEN from WDTCON
LFINTOSC Clock
Note 1:
This is the shared Timer0/WDT prescaler. See Section 5.0 “Timer0 Module” for more information.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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