Example Program - Advantech PCE-2033 Manual

Lga1700 12th/13th generation intel® core™ i9/i7/i5/i3 & pentium®/celeron® cpu board for ipc-2 series chassis
Hide thumbs Also See for PCE-2033:
Table of Contents

Advertisement

F1 (hex)
F2 (hex)
AA (hex)
A.1.3

Example Program

1.
Enable watchdog timer and set 10 sec. as timeout interval.
;-----------------------------------------------------------
Mov dx,2eh
Mov al,87h
Out dx,al
Out dx,al
;-----------------------------------------------------------
Mov al,07h
Out
dx,al
Inc
dx
Mov
al,08h
Out
dx,al
;-----------------------------------------------------------
Dec dx
Mov
al,30h
Out
dx,al
Inc
dx
In
al,dx
Or
al,01h
Out
dx,al
;-----------------------------------------------------------
Dec dx
Mov
al,0f5h
Out
dx,al
Inc
dx
In
al,dx
And al,not 08h
Out
dx,al
;-----------------------------------------------------------
Dec dx
PCE-2033/2133 User Manual
0: stop timer [default]
01~FF (hex): The amount of the count, in seconds or
minutes, depends on the value set in register F1 (hex).
write
This number decides how long the watchdog timer waits
for the strobe before generating an interrupt or reset sig-
nal. Writing a new value to this register can reset the
timer to count with the new value.
Bit 7:Write 1 to enable mouse to reset the timer, 0 to dis-
able[default].
Bit 6: Write 1 to enable keyboard to reset the timer, 0 to
disable.[default]
read/write
Bit 5: Write 1 to generate a timeout signal immediately
and automatically return to 0. [default=0]
Bit 4: Read status of watchdog timer, 1 means timer is
"timeout".
Write this address to I/O port 2E (hex) to lock the
-----
NCT6126D.
; Unlock NCT6126D
; Select registers of watchdog timer
; Enable the watchdog timer function
; Set seconds as counting unit
; Set timeout interval as 10 seconds and start counting
68

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pce-2133

Table of Contents