Microchip® Advanced Software Framework

sha204_config.h File Reference

Macros

#define SHA204_RETRY_COUNT   (1)
 number of command / response retries More...
 

#define SHA204_RETRY_COUNT   (1)

number of command / response retries

If communication is lost, re-synchronization includes waiting for the longest possible execution time of a command. This adds a SHA204_COMMAND_EXEC_MAX delay to every retry. Every increment of the number of retries increases the time the library is spending in the retry loop by SHA204_COMMAND_EXEC_MAX.

Referenced by sha204c_send_and_receive().