
ACROSSER TECHNOLOGY
19
3.5 PROGRAMMING THE AR-B3001 WITH DRIVER
ROUTINES
The AR-B3001 package provides driver routines for
Assembly, BASIC, and C language. Functions covered
by these driver routines include the application of trigger
A/D, and read A/D data. The various functions of the
driver routine are described in this section.
3.5.1 Programming With The Assembly Driver
The source code and object code of the driver routine for
assembly language are provided in the "ASM_LIB sub-
directory of provided diskette. To use the driver routine
with your program, you need to link "A3001LIB.OBJ"
wiith your program. You can also modify the source file
"A3001LIB.ASM" to meet your special requirement.
The assembly driver routine is a far procedure. The name
of this procedure is "ADCLIB". Three functions are
provided. Each function corresponds to an AH value for
entering the service routine. DX register is employed to
specify the base port of AR-B3001. Before calling the
driver routine, AH and DX registers must be specified
according to the function number and base address set
by DIP SW. Function 0 and 2 also need the AL register
be specified with the channel number that will be acquired.
On return of each function, AL register contains the
return message code.
Содержание AR-B3001
Страница 4: ...ACROSSER TECHNOLOGY 4 This page is intentionally left blank...
Страница 6: ...ACROSSER TECHNOLOGY 6 Figure 2 1 Board Layout of AR B3001...
Страница 14: ...ACROSSER TECHNOLOGY 14 This page is intentionally left blank...
Страница 28: ...ACROSSER TECHNOLOGY 28 This page is intentionally left blank...
Страница 41: ...ACROSSER TECHNOLOGY 41...