ACCES I/O Products, Inc.
MADE IN THE USA
mPCIe-AIO16-16F Family Manual
7
Rev 01
ADC FIFO Data: Read the RAW-format ADC Conversion results (in twos-complement 16-bit form) and the associated status word.
INVALID:
If INVALID is SET then all other bits are undefined, and the entry should be discarded. This can occur if you read from the ADC FIFO while the ADC FIFO Count
(+28) is zero.
RUNNING:
SET indicates the ADC Sequencer is operating, taking either periodic (timer-driven) conversions or via the external ADC Start secondary digital function.
Channel2:0:
The 3 Channel bits indicate from which Analog Input the paired ADC Counts were sampled. Refer to ADC Control (+38) for important information about the
Channel bits re Differential operation.
Diff:
SET indicates the paired ADC Counts were sampled in Differential mode. Refer to ADC Control (+38) for important information about the Channel bits re
Differential operation.
Gain2:0:
The 3 Gain bits indicate at what gain code the paired ADC Counts were sampled. Refer to the gain code table in ADC Advanced Sequencer Gain Control (+18)
for how to interpret the Gain bits.
ADC Counts:
16-
bit two’s complement ADC counts, the ADC conversion result from the samples Ch
annel at the specified Gain, sampled in Differential or Singled-ended /
Pseudo-Differential mode as indicated by the Diff bit (D19).
Please refer to the “Software Tips” section for details on how to translate RAW
-format ADC data into Volts
—
or skip the hassle and use our AIOAIO.dll API Library:
ADC_GetImmediateV(iBoard, pVolts, iChannel, iRange);, ADC_GetImmediateScanV(iBoard, pVolts[]); etc.
ADC Control, 38 of 32-bit Memory BAR[1]Read/Write 32-bits only
bit D31 through D19
D18
D17
D16 D15 D14 through D12
D11
D10 D9 through D7 D6
D5
D4
D3
D2
D1
D0
Name UNUSED
RSV
CONFIG
GO
RSV
IN
x
2:0
COM
RSV
Gain2:0
/MUX SEQ1
SEQ0
/TEMP RSV CMS
RSV
Controls ADAS #0, channels 0-7
ADC Control #2, 3C of 32-bit Memory BAR[1]Read/Write 32-bits only
bit D31 through D19
D18
D17
D16 D15 D14 through D12
D11
D10 D9 through D7 D6
D5
D4
D3
D2
D1
D0
Name UNUSED
RSV
CONFIG
GO
RSV
IN
x
2:0
COM
RSV
Gain2:0
/MUX SEQ1
SEQ0
/TEMP RSV CMS
RSV
Controls ADAS #1, channels 8-15
DIO Data, 44 of 32-bit Memory BAR[1]Read/Write 32-bits only
bit D31 through D2
D1
D0
Name UNUSED
DIO1
DIO0
Read DIO Data to read the digital input pins or to readback the last commanded digital output state.
Write to DIO Data to configure the digital pin(s)’ high/low state for those bits in I/O Groups configured as Outputs. SET bi
ts will output high voltage, CLEAR bits will output GND.
Refer to DIO Control (+48) for how to configure the input vs output direction of each I/O Group.
DIO Control, 48 of 32-bit Memory BAR[1]Read/Write 32-bits only
bit
D31…D25
D24 D23
D22
D21 D20 D19
D18
D17through D2
D1
D0
Name UNUSED
RSV edgeEXT enEXT RSV RSV edgeSTART enSTART UNUSED
I/O Group 1
I/O Group 0
Write DIO Control to enable Digital Secondary Functions, and to control the input vs output direction of each Digital I/O Group.