You are here

Device Identification and Configuration

Every GPIO-24 adapter has such parameters as a serial number, ID and version of the adapter firmware. If your fixture consists of several GPIO-24 adapters, you can use ID and serial number to distinguish between one adapter and another.

Device identification commands are used:

There is also a number of commands which are used to configure the GPIO-24 adapter and to retrieve the configuration.

Device configuration commands can be used:

  • to configure pins of a specific GPIO port for input, output and PWM (GPIO_SET_CFG);

  • to retrieve configuration settings for all pins of particular GPIO port or for any chosen I/O pin (GPIO_GET_CFG and GPIO_GET_PIN_CFG);

  • to save the configuration settings into internal GPIO-24 adapter EEPROM memory (GPIO_SAVE_CFG_EEPROM);

  • to clear previously saved configuration settings from the GPIO-24 adapter internal EEPROM memory (GPIO_CLR_CFG_EEPROM).

The values for all 24 GPIO pins can be retrieved with GPIO_GET_VAL command.

Use GPIO_GET_VDD command to retrieve the GPIO-24 adapter supply voltage.