diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h b/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h index 220ce8b37..35504197e 100644 --- a/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h +++ b/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h @@ -52,7 +52,16 @@ /*===========================================================================*/
/**
+ * @brief System time counter resolution.
+ * @note Allowed values are 16 or 32 bits.
+ */
+#define NIL_CFG_ST_RESOLUTION 32
+
+/**
* @brief System tick frequency.
+ * @note This value together with the @p NIL_CFG_ST_RESOLUTION
+ * option defines the maximum amount of time allowed for
+ * timeouts.
*/
#define NIL_CFG_ST_FREQUENCY 50000
|