ACCES I/O Products, Inc.
MADE IN THE USA
PCIe-ADIO16-16F Family Manual
10
Rev B1
DIO Data, 44 of 64-bit Memory BAR[2+3] Read/Write 32-bits only
bit D31 through D16
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Name UNUSED
DIO15
DIO14
DIO13
DIO12
DIO11
DIO10
DIO9
DIO8
DIO7
DIO6
DIO5
DIO4
DIO3
DIO2
DIO1
DIO0
I/O GROUP
I/O Group 1
I/O Group 0
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 bits 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 64-bit Memory BAR[2+3] Read/Write 32-bits only
bit
D31…D24
D23
D22
D21
D20
D19
D18
D17
D16
D15 through D8 D1
D0
Name UNUSED edgeEXT enEXT edgeLDAC enLDAC edgeSTART enSTART edgeTRIG enTRIG
unused
IOG1 IOG0
Write DIO Control to enable Digital Secondary Functions, and to control the input vs output direction of each Digital I/O Group.
enEXT:
SET enEXT to enable the “External IRQ” Digital Input Secondary Function on DIO 13 so the selected edge on the input will (opt
ionally) generate IRQs.
enLDAC:
SET enLDAC to enable the “External LDAC” Digital Input Secondary Function on DIO12 so the selected edge will cause the DACs to update and optionally
generate an IRQ.
enSTART:
SET enSTART
to enable the “ADC Start Conversion” Digital Input Secondary Function on DIO 14 so the selected edge will cause an ADC Start
Event and
optionally generate an IRQ.
enTRIG:
SET enTRIG to enable the “ADC Trigger”
Digital Input Secondary Function on DIO15 so the selected edge will trigger timed ADC conversions and optionally
generate an IRQ. Consult the “Software Tips” section for details on using ADC Trigger.
Each Digital Input Secondary function has a configurable active edge, rising or falling. SET the corresponding edge
XXX
bit to select rising edge, CLEAR the bit for falling edge.
IOG
x
:
SET each IOGx bit to configure the digital I/O bits in the associated I/O Group for use as digital outputs. CLEAR an IOG
x
bit to configure the I/O Group for use as
inputs.
Watchdog Control, 4C of 64-bit Memory BAR[2+3] Read/Write 32-bits only
bit D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20 D19 D18 D17 D16 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Name Watchdog Timeout
Write the number of Ticks (which occur at the ADC Base Clock Rate (+C)) before the Watchdog should timeout (“Bark”); e.g., fo
r a one-second timeout period write the value read from
+C to +4C.
When the Watchdog Barks the board is RESET as if just powered on (or as if a 1 is written to the Resets and Power (+0) register) with the following exceptions:
T
he “WDT Output Status”
output on pin 68 asserts 0.
Bit D31 of the IRQ Enable/Clear and Status
(+40) “WDG” is latched SET to indicate that the Watchdog timed out.
Write 0 to the Watchdog Timeout (+4C) register to disable the Watchdog Feature.
In Windows
1
, please consult the various samples (C#, Delphi, and more) to explore how to program the device. The AIOAIO Software Reference Manual.pdf provides reference material
covering all AIOAIO Library APIs. A quick reference of the most-applicable functions is provided, below:
1
In Linux or OSX please refer to the documentation at