ARTRAY ARTCAM-407UV-WOM-OP-CM 지침 책자 - 페이지 15
{카테고리_이름} ARTRAY ARTCAM-407UV-WOM-OP-CM에 대한 지침 책자을 온라인으로 검색하거나 PDF를 다운로드하세요. ARTRAY ARTCAM-407UV-WOM-OP-CM 18 페이지. Usb2.0 ultraviolet ccd camera 1.5 m pixels
ARTRAY ARTCAM-407UV-WOM-OP-CM에 대해서도 마찬가지입니다: 지침 책자 (19 페이지)
・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 -