Appendix B Technical Summary
Page: B-16
PMB-901LF USER
′
S MANUAL
Example Steps
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 8 of watchdog timer ---------------------------------------
mov
al,
07h
out
dx,
al
inc
dx
mov
al,
08h
out
dx,
al
;------ Set second as counting unit ---------------------------------------------------------
dec
dx
mov
al,
0f5h
out
dx,
al
inc
dx
in
al,
dx
and
al,
not 08h
out
dx,
al
;------ Set timeout interval as 30seconds and start counting -------------------------
dec
dx
mov
al,
0f6h
out
dx,
al
inc
dx
mov
al,
30
out
dx,
al
;------ Exit the extended function mode ---------------------------------------------------
dec
dx
mov
al,
0aah
out
dx,
al