beautypg.com

IEI Integration NANO-LX v1.00 User Manual

Page 181

background image

NANO-LX CPU Card

181

NOTE:

When exiting a program it is necessary to disable the Watchdog Timer,

otherwise the system will reset.

INT

15H

Example program:

; INITIAL TIMER PERIOD COUNTER

;

W_LOOP:

MOV

AX, 6F02H

; setting the time-out value

MOV

BL, 30

; time-out value is 48 seconds

;

; ADD YOUR APPLICATION PROGRAM HERE

;

CMP

EXIT_AP, 1

; is your application over?

JNE

W_LOOP

; No, restart your application

MOV

AX, 6F02H ;

disable

Watchdog

Timer

MOV

BL, 0

;

;

; EXIT ;