59
ITA-2000 User Manual
/ 用户手册
Appendix A
P
rogramming
the
W
atchdog
Timer
看门狗定时器编程
A.1.3
Example Program
/ 编程示例
1.
Enable watchdog timer and set 10 sec. as timeout interval
;-----------------------------------------------------------
Mov dx,2eh ; Unlock W83627DHG
Mov al,87h
Out dx,al
Out dx,al
;-----------------------------------------------------------
Mov al,07h ; Select registers of watchdog timer
Out dx,al
Inc dx
Mov al,08h
Out dx,al
;-----------------------------------------------------------
Dec dx ; Enable the function of watchdog timer
Mov al,30h
Out dx,al
Inc dx
Mov al,01h
Out dx,al
;-----------------------------------------------------------
Dec dx ; Set second as counting unit
Mov al,0f5h
Out dx,al
Inc dx
In al,dx
And al,not 08h
Out dx,al
;-----------------------------------------------------------
Dec dx ; Set timeout interval as 10 seconds and start counting
Mov al,0f6h
Out dx,al
Inc dx
Mov al,10
Out dx,al
;-----------------------------------------------------------
Dec dx ; Lock W83627DHG
Mov al,0aah
Out dx,al
2.
Enable watchdog timer and set 5 minutes as timeout interval
;-----------------------------------------------------------
Mov dx,2eh ; Unlock W83627DHG
Mov al,87h
Out dx,al
Out dx,al
Summary of Contents for ITA-2000
Page 8: ...ITA 2000 User Manual viii...
Page 12: ...ITA 2000 User Manual xii...
Page 16: ...ITA 2000 User Manual 4 1 5 Dimension Diagram Figure 1 1 Dimension diagram...
Page 28: ...ITA 2000 User Manual 16...
Page 29: ...Chapter 3 3 BIOS Operation BIOS This chapter describes how to set BIOS configuration data BIOS...
Page 60: ...ITA 2000 User Manual 48...
Page 61: ...Chapter 5 5 System Setup This chapter introduces the instal lation process...
Page 67: ...Appendix A A Programming the Watchdog Timer...
Page 79: ...Appendix B B Examples of the CAN Transfer tool CAN...