參數(shù)資料
型號: DS80C320
廠商: Maxim Integrated Products, Inc.
英文描述: High-Speed/Low-Power Microcontrollers
中文描述: 高速/低功耗微控制器
文件頁數(shù): 15/42頁
文件大?。?/td> 1501K
代理商: DS80C320
DS80C320/DS80C323
15 of 42
As shown above, the watchdog timer uses the crystal frequency as a time base. A user selects one of four
counter values to determine the timeout. These clock counter lengths are 2
17
= 131,072 clocks; 2
20
=
1,048,576; 2
23
= 8,388,608 clocks; or 2
26
= 67,108,864 clocks. The times shown in Table 4 are with a 25
MHz crystal frequency. Note that once the counter chain has reached a conclusion, the optional interrupt
is generated. Regardless of whether the user enables this interrupt, there are then 512 clocks left until a
reset occurs. There are 5 control bits in special function registers that affect the Watchdog Timer and two
status flags that report to the user. The Reset Watchdog Timer bit (WDCON.0) should be asserted prior to
modifying the Watchdog Timer Mode Select bits (WD1, WD0) to avoid corruption of the watchdog
count.
WDIF (WDCON.3) is the interrupt flag that is set when there are 512 clocks remaining until a reset
occurs. WTRF (WDCON.2) is the flag that is set when a Watchdog reset has occurred. This allows the
application software to determine the source of a reset.
Setting the EWT (WDCON.1) bit enables the Watchdog Timer. The bit is protected by Timed Access
discussed below. Setting the RWT (WDCON.0) bit restarts the Watchdog Timer for another full interval.
Application software must set this bit prior to the timeout. As mentioned previously, WD1 and 0
(CKCON .7 and 6) select the timeout. Finally, the Watchdog Interrupt is enabled using EWDI (EIE.4).
INTERRUPTS
The DS80C320/DS80C323 provides 13 sources of interrupt with three priority levels. The Power-fail
Interrupt (PFI), if enabled, always has the highest priority. There are two remaining user selectable
priorities: high and low. If two interrupts that have the same priority occur simultaneously, the natural
precedence given below determines which is a acted upon. Except for the PFI, all interrupts that are new
to the 8051 family have a lower natural priority than the originals.
INTERRUPT PRIORITY
Table 5
NAME
DESCRIPTION
VECTOR
PFI
Power-fail Intterupt
33h
j
INT0
External Interrupt 0
03h
TF0
Timer 0
0Bh
External Interrupt 1
13h
TF1
Timer 1
1Bh
SCON0
TI0 or RI0 from serial port 0
23h
TF2
Timer 2
2Bh
SCON1
TI1 or RI1 from serial port 1
3Bh
INT2
External Interrupt 2
43h
External Interrupt 3
4Bh
INT4
External Interrupt 4
53h
External Interrupt 5
5Bh
WDTI
Watchdog Timeout Interrupt
63h
NATURAL PRIORITY
1
2
3
4
5
6
7
8
9
10
11
12
13
OLD/NEW
NEW
OLD
OLD
OLD
OLD
OLD
OLD
NEW
NEW
NEW
NEW
NEW
NEW
INT1
INT3
INT5
相關(guān)PDF資料
PDF描述
DS80C320-ECG Strain Relief
DS80C320-ECL High-Speed/Low-Power Microcontrollers
DS80C320-ENG High-Speed/Low-Power Microcontrollers
DS80C320-ENL High-Speed/Low-Power Microcontrollers
DS80C320-MCG High-Speed/Low-Power Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS80C320_06 制造商:MAXIM 制造商全稱:Maxim Integrated Products 功能描述:High-Speed/Low-Power Microcontrollers
DS80C320+ENL 制造商:Maxim Integrated Products 功能描述:MCU 8BIT CISC ROMLESS 5V 44TQFP - Trays
DS80C320+FCG 制造商:Maxim Integrated Products 功能描述:MICRO HI SPD 44PQFP 25MHZ PB-FREE - Trays
DS80C320+FNG 制造商:Maxim Integrated Products 功能描述:MICRO HS 44MQFP 25MHZ IND PB-FREE - Trays
DS80C320+MCG 制造商:Maxim Integrated Products 功能描述:MCU 8BIT CISC ROMLESS 5V 40PDIP - Rail/Tube 制造商:Maxim Integrated Products 功能描述:IC 8BIT CPU CMOS 80C320 DIP40 制造商:Maxim Integrated Products 功能描述:IC, 8BIT CPU CMOS, 80C320, DIP40 制造商:Maxim Integrated Products 功能描述:IC, 8BIT CPU CMOS, 80C320, DIP40; Controller Family/Series:(8051) 8052; Core Size:8bit; No. of I/O's:32; Supply Voltage Min:4.5V; Supply Voltage Max:5.5V; Digital IC Case Style:DIP; No. of Pins:40; RAM Memory Size:256Byte; CPU ;RoHS Compliant: Yes