![Teledyne SP Devices ADQ8-8C Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/teledyne-sp-devices/adq8-8c/adq8-8c_manual_1081092036.webp)
17-2000 C
2020-09-17
36(50)
ADQ8-8C Manual
17-2000 C 2020-09-17
36(50)
6
GPIO
The General Purpose Input and Output (GPIO) are digital signals available from the front panel of the
digitizer. The GPIO is an optional use of the TRIG and SYNC connectors. The user assigns a function
to these pins, either in the firmware through the ADQ Development Kit or from software.
6.1 GPIO on TRIG connector
The connectors for TRIG connector can be used as GPIO. The process is illustrated in the block dia-
gram in
.
#
DESCRIPTION
USER COMMAND
REF
a
The external pin is automatically connected to the activated function.
b
The GPIO input function always reads the state of the pin. The GPIO
output function is activated by the user.
SetDirectionGPIOPort
c
The user may access the pin by reading and writing from the software.
ReadGPIOPort
WriteGPIOPort
d
The user may build firmware in the ADQ Development Kit for real-time
interaction with the GPIO signals.Then GPIO is accessed through register
access commands.
ReadUserRegister
WriteUserRegister
Figure 26: Using front panel connector TRIG as GPIO.
./
./
0
&
&
%&% 0% &0
% &0
% 00
%&% 0% 00
1%2 3)%
%(%3%& 4
1%2 & )%
./
./