X12_set_vbr, X12_read_gpio, X12_write_gpio – Sensoray 512 QNX User Manual
Page 13

13
X12_set_vbr
void X12_set_vbr(int CardId,int vbr);
Parameters
CardId
Card identifier. Must be between 0 and number of cards minus 1.
vbr
Enables (1) or disables (0) variable bit rate compression
Return values
None.
Notes
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