The GPIO_CLR_CFG_EEPROM command clears previously saved configuration settings from the GPIO-24 adapter internal EEPROM memory. Next time you connect the adapter to PC all the pins will be not configured. The GPIO_GET_CFG and GPIO_GET_PIN_CFG commands will return GPIO_CFG_NOT_CONFIGURED (0xf) value. Use GPIO_SAVE_CFG_EEPROM command to save the current GPIO pins configuration settings.
| Byte 0 | GPIO_CLR_CFG_EEPROM | Command ID (0x1C). |
| Byte 1 | ECHO | Echo to associate a command with the response. |
| Bytes 2..7 | Reserved | Reserved (must be 0). |
Command is an 8-byte array of the following format:
This byte contains command ID (command type). It should be set to 0x1C.
This byte is used to associate a response received from GPIO-24 adapter with a specific command. Response will contain exactly the same value in its echo byte.
These bytes are reserved for future usage and have to be set to 0.
For convenience GPIO_CLR_CFG_EEPROM_CMD structure is declared in reports.h file.
GPIO-24 adapter sends GPIO_CLR_CFG_EEPROM response after command execution.
| Byte 0 | GPIO_CLR_CFG_EEPROM | Response ID (0x1C). |
| Byte 1 | ECHO | Echo to associate a command with the response. |
| Byte 2 | ST | Command execution status. |
| Bytes 3..7 | Reserved | Reserved |
Response is an 8-byte array of the following format:
Response ID (response type). This byte will contain 0x1C.
This byte is used to associate a response received from GPIO-24 adapter with a specific command. Response will contain exactly the same value in its echo byte.
Status of the command execution:
GPIO_ST_SUCCESS (0x0) – The GPIO pins configuration settings have been cleared.
These bytes are reserved for future usage.
For convenience GPIO_CLR_CFG_EEPROM_RSP structure is declared in reports.h file.