Using The Watchdog Function - AXIOMTEK SHB212 Series User Manual

Intel atom processor picmg 1.3 half-size single board computer
Table of Contents

Advertisement

SHB212 PICMG1.3 Half-Size SBC User's Manual

Using the Watchdog Function

Assembler Sample Code
;Enable WDT:
Mov
dx , 2Eh
Mov
al , 87h
Out
dx , al
Out
dx , al
;Select Logic device:
Mov
dx , 2Eh
Mov
al , 07h
Out
dx , al
Mov
dx , 2Fh
Mov
al , 08h
Out
dx , al
;Set WDT Function:
Mov
dx , 2Eh
Mov
al , 2Dh
Out
dx , al
Mov
dx , 2Fh
Mov
al , 20h
Out
dx , al
;Activate WDT:
Mov
dx , 2Eh
Mov
al , 30h
Out
dx , al
Mov
dx , 2Fh
Mov
al , 01h
Out
dx , al
;Set Second or Minute:
Mov
dx , 2Eh
Mov
al , F5h
Out
dx , al
Mov
dx , 2Fh
Mov
al , Nh ;N=00 or 08(See below
Out
dx
al
66
)
WATCHDOG TIMER

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SHB212 Series and is the answer not in the manual?

Questions and answers

Table of Contents