Advantech AIMB-767 User Manual Page 71

  • Download
  • Add to my manuals
  • Print
  • Page
    / 86
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 70
59 AIMB-767 User Manual
Appendix A Programming the Watchdog Timer
Dec dx ; Enable the function of watchdog timer
Mov al,30h
Out dx,al
Inc dx
Mov al,01h
Out dx,al
;-----------------------------------------------------------
Dec dx ; Enable watchdog timer to be reset by mouse
Mov al,0f7h
Out dx,al
Inc dx
In al,dx
Or al,80h
Out dx,al
;-----------------------------------------------------------
Dec dx ; Lock W83627DHG-P
Mov al,0aah
Out dx,al
4. Enable watchdog timer to be reset by keyboard.
;-----------------------------------------------------------
Mov dx,2eh ; Unlock W83627DHG-P
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 ; Enable watchdog timer to be strobed reset by keyboard
Mov al,0f7h
Out dx,al
Inc dx
In al,dx
Or al,40h
Out dx,al
Page view 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 85 86

Comments to this Manuals

No comments