X12_read_gpio, X12_write_gpio, X12_get_framecount – Sensoray 512 User Manual
Page 15

15
Enables/disables variable bit rate compression. Default is 0.
Important:
All X12_set_xx functions do not change the actual values of the board registers. Use X12_reset function
to refresh the values.
X12_read_gpio
int X12_read_gpio(int CardId);
Parameters
CardId
Card identifier. Must be between 0 and number of cards minus 1.
Return values
State of GPIO
Notes
Reads state of GPIO pins: active input is low (when input is pulled down bit is set to 1).
X12_write_gpio
void X12_write_gpio(int CardId,int state);
Parameters
CardId
Card identifier. Must be between 0 and number of cards minus 1.
state
State of GPIO
Return values
None.
Notes
Sets state of GPIO pins: active output is low (output is pulled down when bit is set to 1).
X12_get_framecount
int X12_get_framecount(int CardId);
Parameters
CardId
Card identifier. Must be between 0 and number of cards minus 1.