ARTRAY ARTCAM-407UV-WOM Series Buklet Instruksi - Halaman 15

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

ARTRAY ARTCAM-407UV-WOM Series Buklet Instruksi
・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)
IO pin
Bit
GPIO_0
0x01
GPIO_1
0x02
GPIO_2
0x04
GPIO_3
0x08
GPIO_4
0x10
GPIO_5
0x20
- 15 -