3.7.2 I/O Pins Configuration Procedure
Use the following procedure to configure the I/O pins:
- Refering to all IOxSettings registers, prepare the data to be sent with the CNFG_SetIOConfiguration command
- Send the CNFG_SetIOConfiguration command through Endpoint 0x05 (OUT)
- Read the response through Endpoint 0x85 (IN)
The possible responses are as follows:
- The command is accepted and executed successfully
- The command is rejected because the configurations are locked
- The command is rejected because the
parameters are invalid
If the response is rejected because parameters are invalid, retry with valid parameters.
If the response is rejected as “Configurations are Locked”, try again after unlocking the configuration.
If the response is accepted and successful, the I/O pins configurations are saved in EEPROM.
To make these I/O setting values the current setting:
- Send the CNFG_SetEEPROMAsCurrent command through Endpoint 0x05 (OUT)
