Omega Speaker Systems PCI-DAS1001, PCI-DAS1002 manual DIO Port C Data, DIO Control Register

Page 31

DIO PORT C DATA

BADR3 + 6

PORT C may be configured as an 8-bit port of either input or output, or it may be split into two independent 4-bit ports of input or output. When split into two 4-bit I/O ports, D[3:0]

make up the lower nibble, D[7:4] comprise the upper nibble. Although it may be split, every

 

write to Port C is a byte operation. Unwanted information must be ANDed out during

reads

 

and writes must be ORd with current value of the other 4-bit port.

 

 

 

 

READ/WRITE

 

 

 

 

 

 

 

 

7

 

6

5

4

2

3

 

1

0

 

 

 

 

 

 

 

 

 

 

D7

 

D6

D5

D4

D3

D2

 

D1

D0

 

 

 

 

 

 

 

 

 

 

DIO CONTROL REGISTER

BADR3 + 7

The DIO Control register is used configure Ports A,B and C as inputs or outputs. Operation is identical to that of the 8255 in Mode 0.

WRITE

7

6

 

 

5

 

 

4

 

2

 

3

 

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D7

D6

 

D5

 

D4

 

D3

 

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The following table summarizes the possible I/O Port configurations for the PCI-DAS1000

 

 

 

DIO operatin in MODE 0:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D4

 

D3

 

D1

 

D0

 

 

PORT A

 

PORT C

PORT B

PORT C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

UPPER

 

 

LOWER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

0

 

0

 

 

OUT

 

OUT

 

OUT

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

0

 

1

 

 

OUT

 

OUT

 

OUT

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

1

 

0

 

 

OUT

 

OUT

 

IN

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

1

 

1

 

 

OUT

 

OUT

 

IN

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

1

 

0

 

0

 

 

OUT

 

 

IN

 

OUT

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

1

 

0

 

1

 

 

OUT

 

 

IN

 

OUT

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

1

 

1

 

0

 

 

OUT

 

 

IN

 

IN

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

1

 

1

 

1

 

 

OUT

 

 

IN

 

IN

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0

 

0

 

0

 

 

IN

 

OUT

 

OUT

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0

 

0

 

1

 

 

IN

 

OUT

 

OUT

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0

 

1

 

0

 

 

IN

 

OUT

 

IN

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0

 

1

 

1

 

 

IN

 

OUT

 

IN

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

1

 

0

 

0

 

 

IN

 

 

IN

 

OUT

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

1

 

0

 

1

 

 

IN

 

 

IN

 

OUT

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

1

 

1

 

0

 

 

IN

 

 

IN

 

IN

 

OUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

1

 

1

 

1

 

 

IN

 

 

IN

 

IN

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

28

Image 31
Contents Users Guide Table of Contents BADR4 BADR0 BADR1BADR2 BADR3Introduction Introduction InstallationDOS and/or Windows RUN InstaCalHardware Connections Connector PIN DiagramSingle-Ended and Differential Inputs Analog ConnectionsSingle-Ended Inputs Differential Inputs Differential InputWhich system do you have? System Grounds and IsolationSmall Common Mode Voltages Systems with Common Mode ground offset VoltagesLarge Common Mode Voltages Ground Category Input Configuration Our view PCI-DAS1000 and signal source already have isolated grounds    Board Board Programming & Software Applications Analog Inputs SELF-CALIBRATION of the PCI-DAS1000Analog Outputs Region Function Operations BADR0BADR1 Interrupt / ADC Fifo RegisterAdflcl InteEoaie IntclCHL8-CHL1, CHH8-CHH1 ADC Channel MUX and Control Register BADR1 +Pacer Source EOC= ADC Done = ADC Busy TS10 Trigger CONTROL/STATUS Register BADR1 +ARM Indxgt Fifo Mode Sample CTRC0SRC XtrigCal Source Calibration RegisterBADR1 + DAC Channel Cal FunctionDACnR1 DACnR0 Range LSB Size Dacen ModeDAC CONTROL/STATUS Register BADR1 + DACnR10MSB LSB BADR2ADC Data Register BADR2 + ADC Fifo Clear Register BADR2 +Device Counter # Function BADR3ADC Pacer Clock Data and Control Registers BADR3 +DIO Port B Data ADC 8254 Control RegisterDigital I/O Data and Control Registers DIO Port a DataDIO Control Register DIO Port C DataPort a Port C Port B Upper Lower OUT BADR3 + Ah Index and User Counter 4 Data and Control Registers8254B Counter 1 Data User Counter #5 8254B Counter 2 Data User Counter #6BADR3 + Bh 8254B Control Register2 DAC1 Data Register BADR41 DAC0 Data Register BADR4 +Electrical Specifications Analog Output Environmental Power consumptionEC Declaration of Conformity