20.01.2014 Views

ECK-3699GF Embedded System User Manual - ICP America

ECK-3699GF Embedded System User Manual - ICP America

ECK-3699GF Embedded System User Manual - ICP America

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ECK</strong>-<strong>3699GF</strong> <strong>Embedded</strong> <strong>System</strong><br />

NOTE:<br />

When exiting a program it is necessary to disable the Watchdog Timer,<br />

otherwise the system resets.<br />

Example program:<br />

; INITIAL TIMER PERIOD COUNTER<br />

;<br />

W_LOOP:<br />

MOV AX, 6F02H ;setting the time-out value<br />

MOV BL, 30 ;time-out value is 48 seconds<br />

INT 15H<br />

;<br />

; ADD THE APPLICATION PROGRAM HERE<br />

;<br />

CMP EXIT_AP, 1 ;is the application over?<br />

JNE W_LOOP ;No, restart the application<br />

MOV AX, 6F02H ;disable Watchdog Timer<br />

MOV BL, 0 ;<br />

INT 15H<br />

;<br />

; EXIT ;<br />

167

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!