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

X  

AD822 数据表(PDF) 53 Page - Analog Devices

部件名 AD822
功能描述  MicroConverter짰 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

AD822 数据表(HTML) 53 Page - Analog Devices

Back Button AD822 Datasheet HTML 49Page - Analog Devices AD822 Datasheet HTML 50Page - Analog Devices AD822 Datasheet HTML 51Page - Analog Devices AD822 Datasheet HTML 52Page - Analog Devices AD822 Datasheet HTML 53Page - Analog Devices AD822 Datasheet HTML 54Page - Analog Devices AD822 Datasheet HTML 55Page - Analog Devices AD822 Datasheet HTML 56Page - Analog Devices AD822 Datasheet HTML 57Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 88 page
background image
ADuC841/ADuC842/ADuC843
Rev. 0 | Page 53 of 88
WATCHDOG TIMER
The purpose of the watchdog timer is to generate a device reset
or interrupt within a reasonable amount of time if the ADuC841/
ADuC842/ADuC843 enter an erroneous state, possibly due to a
programming error or electrical noise. The watchdog function
can be disabled by clearing the WDE (watchdog enable) bit in
the watchdog control (WDCON) SFR. When enabled, the
watchdog circuit generates a system reset or interrupt (WDS) if
the user program fails to set the watchdog (WDE) bit within a
predetermined amount of time (see PRE3-0 bits in Table 23.
The watchdog timer is clocked directly from the 32 kHz
external crystal on the ADuC842/ADuC843. On the ADuC841,
the watchdog timer is clocked by an internal R/C oscillator at
32 kHz ±10%. The WDCON SFR can be written only by user
software if the double write sequence described in WDWR
below is initiated on every write access to the WDCON SFR.
WDCON Watchdog Timer
Control Register
SFR Address
C0H
Power-On Default
10H
Bit Addressable
Yes
Table 23. WDCON SFR Bit Designations
Bit No.
Name
Description
7
PRE3
Watchdog Timer Prescale Bits.
6
PRE2
The watchdog timeout period is given by the equation
tWD = (2PRE × (29/ fXTAL))
5
PRE1
(0 – PRE – 7; fXTAL = 32.768 kHz (ADuC842/ADuC843), or 32kHz ± 10%(ADuC841) )
PRE3
PRE2
PRE1
PRE0
Timeout Period (ms)
Action
0
0
0
0
15.6
Reset or Interrupt
0
0
0
1
31.2
Reset or Interrupt
0
0
1
0
62.5
Reset or Interrupt
0
0
1
1
125
Reset or Interrupt
0
1
0
0
250
Reset or Interrupt
0
1
0
1
500
Reset or Interrupt
0
1
1
0
1000
Reset or Interrupt
0
1
1
1
2000
Reset or Interrupt
1
0
0
0
0.0
Immediate Reset
4
PRE0
PRE3–0 > 1000
Reserved
3
WDIR
Watchdog Interrupt Response Enable Bit.
If this bit is set by the user, the watchdog generates an interrupt response instead of a system reset when the
watchdog timeout period has expired. This interrupt is not disabled by the CLR EA instruction, and it is also a fixed,
high priority interrupt. If the watchdog is not being used to monitor the system, it can be used alternatively as a
timer. The prescaler is used to set the timeout period in which an interrupt will be generated.
2
WDS
Watchdog Status Bit.
Set by the watchdog controller to indicate that a watchdog timeout has occurred.
Cleared by writing a 0 or by an external hardware reset. It is not cleared by a watchdog reset.
1
WDE
Watchdog Enable Bit.
Set by the user to enable the watchdog and clear its counters. If this bit is not set by the user within the watchdog
timeout period, the watchdog generates a reset or interrupt, depending on WDIR.
Cleared under the following conditions: user writes 0, watchdog reset (WDIR = 0); hardware reset; PSM interrupt.
Watchdog Write Enable Bit.
To write data to the WDCON SFR involves a double instruction sequence. The WDWR bit must be set and the very
next instruction must be a write instruction to the WDCON SFR.
For example:
CLR
EA
;disable interrupts while writing
;to WDT
SETB
WDWR
;allow write to WDCON
MOV
WDCON,#72H
;enable WDT for 2.0s timeout
0
WDWR
SETB
EA
;enable interrupts again (if rqd)



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


数据表 下载

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