数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ADE75 数据表(PDF) 91 Page - Analog Devices

部件名 ADE75
功能描述  Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE75 数据表(HTML) 91 Page - Analog Devices

Back Button ADE75 Datasheet HTML 87Page - Analog Devices ADE75 Datasheet HTML 88Page - Analog Devices ADE75 Datasheet HTML 89Page - Analog Devices ADE75 Datasheet HTML 90Page - Analog Devices ADE75 Datasheet HTML 91Page - Analog Devices ADE75 Datasheet HTML 92Page - Analog Devices ADE75 Datasheet HTML 93Page - Analog Devices ADE75 Datasheet HTML 94Page - Analog Devices ADE75 Datasheet HTML 95Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 91 / 148 page
background image
Preliminary Technical Data
ADE75xx/ADE71xx
Rev. PrE | Page 91 of 148
WATCHDOG TIMER
The watchdog timer generates a device reset or interrupt within a
reasonable amount of time if the ADE75XX/ADE71XX enters
an erroneous state, possibly due to a programming error or
electrical noise. The watchdog is enabled by default with a time
out of 2 seconds and will create a system reset if not cleared
within 2 seconds. The watchdog function can be disabled by
clearing the WDE (watchdog enable) bit in the watchdog
control (WatchDog Timer SFR (WDCON, 0xC0).
The watchdog circuit generates a system reset or interrupt
(WDS) if the user program fails to set the WDE bit within a
predetermined amount of time (see the PRE3…0 bits in
WatchDog Timer SFR (WDCON, 0xC0)). The watchdog timer
is clocked from the 32.768 kHz external crystal connected
between the CLKIN and CLKOUT pins. The WDCON SFR can
be written only by user software if the double write sequence
described in Table 71 is initiated on every write access to the
WDCON SFR.
In order to prevent any code from inadverdently disabling the
watchdog, a watchdog protection can be activated. This
watchdog protection locks in the watchdog enable and event
settings so that they cannot be changed by user code. The
protection is activated by clearing a watchdog protection bit in
the Flash memory. The watchdog protection bit is the most
significant bit at the address 0x3FFA of the Flash memory.
When this bit is cleared, the WDIR bit is forced to 0 and the
WDE bit is forced to 1. Note that the sequence for configuring
the flash protection bits must be followed to modify the
watchdog protection bit at 0x3FFA—see the Protecting the
Flash section.
Table 71. WatchDog Timer SFR (WDCON, 0xC0)
Bit
Location
Bit
Addr.
Bit
Name
Default
Value
Description
7-4
0xC7 –
0xC4
PRE[3:0]
7
Watchdog pre-scaler. In normal mode, the 16-bit watchdog timer is clocked by the
input clock (32.768kHz). The PRE bits set which of the upper bits of the counter are
used as the watchdog output following:
CLKIN
t
PRE
watchdog
9
2
2
×
=
[3:0]
Watchdog Timeout
0000
15.6ms
0001
31.2ms
0010
62.5ms
0011
125ms
0100
250ms
0101
500ms
0110
1s
0111
2s
1000
0
Automatic Reset
1001
0
Serial download reset
1010 to 1111
Not a valid selection
3
0xC3
WDIR
0
Watchdog interrupt response bit.
When clear, watchdog will generate a system reset when the watchdog time out
period has expired
When set, the watchdog will generate a interrupt when the watchdog time out
period has expired.
2
0xC2
WDS
0
WDS Watchdog status bit.
This bit is set to indicate that a watchdog timeout has occurred.
WDS is cleared by writing a zero or by an external hardware reset. A watchdog
reset will not clear WDS. The bit can therefore be used to distinguish between a
watchdog reset and a hardware reset from the RESET pin.
1
0xC1
WDE
1
WDE Watchdog enable bit.
When set, enables the watchdog and clears its counter (e.g. 2 above). The
watchdog counter is subsequently cleared again whenever the WDE bit is set. If
the watchdog is not cleared within its selected timeout period it will generate a
system reset or watchdog interrupt, depending on the WDIR bit.
0
0xC0
WDWR
0
WDWR Watchdog write enable bit. To write data into the WDCON SFR involves a
double instruction sequence. The WDWR bit must be set and the following
instruction must be a write instruction to the WDCON SFR. This sequence is



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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