ARTRAY ARTCAM-407UV-WOM-OP Buklet Instruksi - Halaman 18

Jelajahi secara online atau unduh pdf Buklet Instruksi untuk Kamera termal ARTRAY ARTCAM-407UV-WOM-OP. ARTRAY ARTCAM-407UV-WOM-OP 19 halaman. Usb2.0 ultraviolet ccd camera 1.5 m pixels
Juga untuk ARTRAY ARTCAM-407UV-WOM-OP: Buklet Instruksi (18 halaman)

ARTRAY ARTCAM-407UV-WOM-OP Buklet Instruksi
10-2 GPIO
GPIO option is available upon request before the delivery of the ARTCAM-0134AR-WOM series.
Pin assign
・Each of the six GPIO pins is pulled up to 3.3V with 1kΩ on the circuit board and is connected to the IO pins on FPGA.
・When GPIO pins are used as output pins, the FPGA output is driven at high impedance and Low level.
(At the time of power-up: high impedance)
To control GPIO, please use the ArtCam_SetIOPort / GetIOPort functions in SDK.
To control GPIO output, please specify the corresponding OR calculated values of each bit as per the table below to
the second argument of the SetIOPort function.
For example, to have GPIO_0, GPIO_1, GPIO_4 output High(Z) and GPIO_2, GPIO_3, GPIO_5 output Low,
please call this as follows:
ArtCam_SetIOPort(hACam, (0x01 | 0x02 | 0x10), 0, 0);
To read the GPIO pins, BYTE-type values can be gotten with the GetIOPort function.
For example, to get the status on GPIO_4 pin, please call the followings:
BYTE data = 0x00;
ArtCam_GetIOPort(hACam, &data, 0, 0);
BOOL gpio4 = (data & 0x10) ? TRUE : FALSE;
And the BOOL-type variable gpio4 of GPIO_4 pin is gotten
・Extensions
Monitoring the vertical synchronization signals, horizontal synchronization signals, strobe signals,
and trigger signals on the sensor are possible as extensions of the GPIO option. (Optional)
No.
Function
1
GPIO_0
2
GPIO_1
3
GPIO_2
4
VCC(3.3V) Maximum output 50mA
5
GPIO_3
6
GPIO_4
7
GPIO_5
8
Gnd
IO pin
Bit
GPIO_0
0x01
GPIO_1
0x02
GPIO_2
0x04
GPIO_3
0x08
GPIO_4
0x10
GPIO_5
0x20
- 18 -