Appendix B Technical Summary
SP-7145/7147 SERIES USER MANUAL
Page: B-14
Code example for watchdog timer
Enable watchdog timer and set 30 sec. as timeout interval
;------ 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 second as counting unit
----------------------------------------------------------------
dec
dx
mov
al,
0f5h
out
dx,
al
inc
dx
in
al,
dx
and
al,
30h
out
dx,
al
;------ Set timeout interval as 30seconds and start counting
----------------------------------
dec
dx
mov
al,
0f6h
Summary of Contents for SP-7145
Page 17: ...Chapter 2 Getting Started SP 7145 7147 SERIES USER MANUAL Page 2 5 Quarter View...
Page 20: ...Chapter 2 Getting Started SP 7145 7147 SERIES USER MANUAL Page 2 8 Quarter View...
Page 109: ...Chapter 5 BIOS Setup SP 7145 7147 SERIES USER MANUAL Page 5 33 BayTrail D...
Page 113: ...Chapter 5 BIOS Setup SP 7145 7147 SERIES USER MANUAL Page 5 37 BayTrail I SoC...