EasyManua.ls Logo

protech SE-8134 - Page 126

Default Icon
130 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix B Technical Summary
SE-8134 SERIES USER MANUAL
Code example for watch dog timer
Enable watchdog timer and set timeout interval to 30 seconds.
; --------------------Enter to extended function mode-------------------------
mov dx, 2eh
mov al, 87h
out dx, al
out dx, al
; -----------------Select Logical Device 7 of watchdog timer----------------
mov al, 07h
out dx, al
inc dx
mov al, 07h
out dx, al
;-------------------------Enable Watch dog feature-----------------------------
mov al, 030h
out dx, al
inc dx
mov al, 01h
out dx, al
;------------------------------Enable Watch PME--------------------------------
dec dx
mov al, 0FAh
out dx, al
inc dx
in al, dx
and al, 51h
out dx, al
; -------------------------Set timeout interval to 30-----------------------------
dec dx
mov al, 0F6h
out dx, al
inc dx

Table of Contents

Related product manuals