CAPA13S Capa Board
58
Watchdog Timer
A.3 Sample Program
Assembly sample code :
;Enable WDT:
mov
dx,2Eh
mov
al,87
;Un-lock super I/O
out
dx,al
out
dx,al
;Select Logic device:
mov
dx,2Eh
mov
al,07h
out
dx,al
mov
dx,2Fh
mov
al,07h
out
dx,al
;Enable WDT base address:
mov
dx,2Eh
mov
al,30h
out
dx,al
mov
dx,2Fh
mov
al,01h
out
dx,al
;Activate WDT:
mov
dx,2Eh
mov
al,0F0h
out
dx,al
mov
dx,2Fh
mov
al,80h
out
dx,al
;Set base timer :
mov
dx,2Eh
mov
al,0F6h
out
dx,al
mov
dx,2Fh
mov
al,Mh
;M=00h,01h,...FFh (hex),Value=0 to 255
out
dx,al
;(see
Note
below)
;Set Second or Minute :
mov
dx,2Eh
mov
al,0F5h
out
dx,al
mov
dx,2Fh
mov
al,Nh
;N=71h or 79h(see
Note
below)
out
dx,al
Note:
If N=71h, the time base is set to second.
M = time value
00: Time-out disable
01: Time-out occurs after 1 second
02: Time-out occurs after 2 seconds
03: Time-out occurs after 3 seconds
.
.
FFh: Time-out occurs after 255 seconds
Summary of Contents for CAPA13S Series
Page 1: ...CAPA13S AMD RYZENTM Embedded V1605B V1807B 3 5 Board User s Manual...
Page 6: ...vi This page is intentionally left blank...
Page 10: ...CAPA13S Capa Board 4 Introduction This page is intentionally left blank...
Page 12: ...CAPA13S Capa Board 6 Board and Pin Assignments Bottom View Side View...
Page 13: ...CAPA13S Capa Board Board and Pin Assignments 7 2 2 Board Layout Top View Rear I O...
Page 14: ...CAPA13S Capa Board 8 Board and Pin Assignments Bottom View...
Page 30: ...CAPA13S Capa Board 24 Board and Pin Assignments This page is intentionally left blank...
Page 32: ...CAPA13S Capa Board 26 Hardware Description 3 4 I O Port Address Map...
Page 34: ...CAPA13S Capa Board 28 Hardware Description...
Page 35: ...CAPA13S Capa Board Hardware Description 29...
Page 36: ...CAPA13S Capa Board 30 Hardware Description...
Page 37: ...CAPA13S Capa Board Hardware Description 31...
Page 38: ...CAPA13S Capa Board 32 Hardware Description...
Page 40: ...CAPA13S Capa Board 34 Hardware Description This page is intentionally left blank...
Page 62: ...CAPA13S Capa Board 56 AMI BIOS Setup Utility This page is intentionally left blank...
Page 66: ...CAPA13S Capa Board 60 Watchdog Timer This page is intentionally left blank...