SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The SimpleLink host driver supports a time-out mechanism for busy loops that the operating systems objects do not support (for example, while waiting for a response from the device between a small SPI transactions). These time-outs require the implementation of a timestamp mechanism.
To implement this mechanism, the host application must provide a function that retrieves the current timestamp:
In addition, the host application must declare the time resolution of the timestamp on the platform by using the following macros:
The default time-out values are set to meet the common values of an average system. If the host application needs to, it can set a different time-out value by defining the following macros: