ICP Electronics ROCKY-3786EV User Manual page 58

Socket 370 bases sbc with gigabit, 10/100mbps ethernet, vga, audio, usb2.0
Table of Contents

Advertisement

Example assembly program:
TIMER_PORT = 443H
TIMER_START = 443H
TIMER_STOP = 843H
;;INITIAL TIMER COUNTER
MOV DX, TIMER_PORT
MOV AL, 8
;;8 seconds
OUT DX, AL
MOV DX, TIMER_START
IN AL, DX.
;;start counter
W_LOOP:
MOV DX, TIMER_STOP
IN AL, DX
MOV DX, TIMER_START
IN AL, DX
;;restart counter
;;ADD THE USER'S APPLICATION HERE
CMP EXIT_AP, 0
JNE W_LOOP
MOV DX, TIMER_STOP
IN AL, DX
;;EXIT AP
58

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ROCKY-3786EV and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Rocky-3786evgRocky-3786u2Rocky-3786evu2Rocky-3786evgu2

Table of Contents