Example Program; A.1.3 Example Program - Advantech AIMB-281 User Manual

Intel core i7/i5/i3/celeron lga1155 mini-itx with crt/dvi/ lvds, 6 com, dual lan, pcie x4
Hide thumbs Also See for AIMB-281:
Table of Contents

Advertisement

A.1.3

Example Program

1.
Enable watchdog timer and set the timeout interval as 10 seconds
;-----------------------------------------------------------
Mov dx,2eh; Unlock NCT6776F
Mov al,87h
Out dx,al
Out dx,al
;-----------------------------------------------------------
Mov al,07h; Select the watchdog timer registers
Out dx,al
Inc dx
Mov al,08h
Out dx,al
;-----------------------------------------------------------
Dec dx; Enable the watchdog timer function
Mov al,30h
Out dx,al
Inc dx
Mov al,01h
Out dx,al
;-----------------------------------------------------------
Dec dx; Set seconds as the counting unit
Mov al,0f5h
Out dx,al
Inc dx
In al,dx
And al,not 08h
Out dx,al
;-----------------------------------------------------------
Dec dx; Set the timeout interval as 10 seconds and start counting
Mov al,0f6h
Out dx,al
Inc dx
Mov al,10
Out dx,al
;-----------------------------------------------------------
Dec dx; Lock NCT6776F
Mov al,0aah
Out dx,al
2.
Enable the watchdog timer and set the timeout interval as 5 minutes
;-----------------------------------------------------------
Mov dx,2eh; Unlock NCT6776F
Mov al,87h
Out dx,al
Out dx,al
75
AIMB-281 User Manual

Advertisement

Table of Contents
loading

Table of Contents