Home > C: Programming > Function Descriptions > | History back Previous chapter Next chapter Print |
is_SetIOMask |
uEye Camera Manual Version 3.80
is_SetIOMask
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_SetIOMask (HIDS hCam, INT nMask)
Description
Using is_SetIOMask(), you can configure the general purpose I/Os (GPIO) of some uEye models as an input or output. The is_SetIO() function sets or returns the current GPIO states.
|
|
Input Parameters
hCam |
Camera handle |
nMask |
Bit mask for inputs / outputs. |
0x00 (00) |
Use both GPIOs as inputs. |
0x01 (01) |
Use the first GPIO as output, the second one as input. |
0x02 (10) |
Use the first GPIO as input, the second one as output. |
0x03 (11) |
Use both GPIOs as outputs. |
IS_GET_IO_MASK |
Returns the current bit mask. |
IS_GET_INPUT_MASK |
Returns the IOs to be used as inputs. |
IS_GET_OUTPUT_MASK |
Returns the IOs to be used as outputs. |
Return Values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Current setting when used together with |
|
When used with |
Bit masks of the IOs to be used. |
Related Functions