By GPIO we here mean the control of relays and the reading of optos.
Functions | |
| ASX32_API ASX_ERROR | ASX_GPIO_GetProperties (ASX_HANDLE hGPIO, int *pnNumberOfInputBits, int *pnNumberOfOutputBits) |
| Get the properties of the GPIO control. | |
| ASX32_API ASX_ERROR | ASX_GPIO_InputGet (ASX_HANDLE hGPIO, int *pnInputBits, const int nNumberOfBits) |
| Read the state of the GPIO opto inputs. | |
| ASX32_API ASX_ERROR | ASX_GPIO_OutputSet (ASX_HANDLE hGPIO, int *pnOutputBits, const int nNumberOfBits) |
| Write to the GPIO relay outputs. | |
| ASX32_API ASX_ERROR | ASX_GPIO_OutputGet (ASX_HANDLE hGPIO, int *pnOutputBits, const int nNumberOfBits) |
| Read the current GPIO relay output settings. | |
|
||||||||||||||||
|
Get the properties of the GPIO control. GPIO controls have a number of input and output bits and this function tells the application how many there are of each.
|
|
||||||||||||||||
|
Read the state of the GPIO opto inputs. This functions reads all the GPIO inputs and returns the current readings in an array of bits.
|
|
||||||||||||||||
|
Read the current GPIO relay output settings. This functions reads all the GPIO outputs.
|
|
||||||||||||||||
|
Write to the GPIO relay outputs. This functions writes to all the GPIO outputs, setting the outputs to the values of pnBits.
|
1.4.6-NO