beautypg.com

5 register map – Measurement Computing CIO-DAS800 User Manual

Page 13

background image

5 REGISTER MAP

Tables 4-1 and 4-2 contain the write and read functions of the board’s registers. Table 4-3 defines the
functions of each bit.

Note that the register at BASE + 2 is a multi-function register. Its function is set by bits CS0 and CS1 in
BASE + 3 register. Coding for Base + 02 register functions is contained in Table 4-4.

Table 4-5 gives the Gain Select codes for the CIO-DAS800.
NOTE: ONLY +/-5V IS SUPPORTED.

Table 4-6 provides special programming instructions.

Table 4-1. Register Map - Write Functions

Function

Data Bits

WRITE
Functions

Register

8254 Counter/Timer Control Register

Base + 7

Cascade Pre-scaler

8254 C/T 2 Control Register

Base + 6

A/D Timer

8254 C/T 1 Control Register

Base + 5

8254 C/T 0 Control Register

Base + 4

Control Select

R0

R1

R2

R3

ENHF

CS0

CS1

CSE

Base + 3

Scan Limits Register

SC0

SC1

SC2

EC0

EC1

EC2

NA

NA

CS1/0=1/0

Conversion Control

ITE

CASC

DTEN

IEOC

EACS

GTEN

NA

HCEN

CS1/0=0/1

Control Register 1

MA0

MA1

MA2

INTE

OP1

OP2

OP3

OP4

CS1/0=0/0

Special Function

- (Depends on value of

CS0,1)

Base + 2

Start Conversion*

Base + 1

Start Conversion

*

Base + 0

D0

D1

D2

D3

D4

D5

D6

D7

* Writing (anything) to either BASE + 0 or BASE + 1 starts a conversion.

9