diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-11 12:24:04 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-11 12:24:04 +0000 |
commit | ab736d4dfd758091ed3d6244f7170dd641739aed (patch) | |
tree | df838e9728a3bb79ee0c988213bdd4971538067e /demos/nil | |
parent | 0e436b1cb6c0dea2280b09208a43af636a29ce64 (diff) | |
download | ChibiOS-ab736d4dfd758091ed3d6244f7170dd641739aed.tar.gz ChibiOS-ab736d4dfd758091ed3d6244f7170dd641739aed.tar.bz2 ChibiOS-ab736d4dfd758091ed3d6244f7170dd641739aed.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6292 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/nil')
-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
|