diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-12 17:45:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-12 17:45:10 +0000 |
commit | a86b48c578db236dddea8f141db7607741d48e57 (patch) | |
tree | b82f567fd5fbfbc507dcd386cd0f480a95ce60e0 /os/rt/osal | |
parent | 8261c67442055afea77ee907dac2bf6199ee73e0 (diff) | |
download | ChibiOS-a86b48c578db236dddea8f141db7607741d48e57.tar.gz ChibiOS-a86b48c578db236dddea8f141db7607741d48e57.tar.bz2 ChibiOS-a86b48c578db236dddea8f141db7607741d48e57.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6298 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/osal')
-rw-r--r-- | os/rt/osal/osal.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/os/rt/osal/osal.h b/os/rt/osal/osal.h index edaa34547..c9cb9b1ec 100644 --- a/os/rt/osal/osal.h +++ b/os/rt/osal/osal.h @@ -71,8 +71,8 @@ * @name Special time constants
* @{
*/
-#define TIME_IMMEDIATE ((systime_t)0)
-#define TIME_INFINITE ((systime_t)-1)
+#define TIME_IMMEDIATE ((systime_t)0)
+#define TIME_INFINITE ((systime_t)-1)
/** @} */
#endif
@@ -86,11 +86,18 @@ /** @} */
/**
- * @name Systick resolution.
+ * @name Systick parameters.
* @{
*/
+/**
+ * @brief Size in bits of the @p systick_t type.
+ */
#define OSAL_ST_RESOLUTION CH_CFG_ST_RESOLUTION
-/** @} */
+
+/**
+ * @brief Required systick frequency or resolution.
+ */
+#define OSAL_ST_FREQUENCY CH_CFG_ST_FREQUENCY
/**
* @brief Systick mode required by the underlying OS.
@@ -100,11 +107,7 @@ #else
#define OSAL_ST_MODE OSAL_ST_MODE_FREERUNNING
#endif
-
-/**
- * @brief Required systick frequency or resolution.
- */
-#define OSAL_SYSTICK_FREQUENCY CH_CFG_ST_FREQUENCY
+/** @} */
/*===========================================================================*/
/* Module pre-compile time settings. */
|