41
English
4.1 Watch Dog Timer Setting
Software code
SIO_IDX equ 2Eh
SIO_DTA equ 2Fh
Timer equ 10; reset after 10 seconds
1. Enter configuration mode
mov dx,SIO_IDX
mov al,87h
out dx,al
mov al,01h
out dx,al
mov al,55h
out dx,al
out dx,al
2. Set to LDN 07
mov dx,SIO_IDX
mov al,07h
out dx,al
mov dx,SIO_DTA
mov al,07h
out dx,al
3. Set WatchDog Timer
mov dx,SIO_IDX
mov al,073h
out dx,al
mov dx,SIO_DTA
mov al,Timer
out dx,al
4. Exit configuration mode
mov dx,SIO_IDX
mov al,02h
out dx,al
mov dx,SIO_DTA
out dx,al
4 System Resources