diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-29 13:28:35 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-29 13:28:35 +0000 |
commit | 61f841306aaa11b1471db1deb00470ea48f646fd (patch) | |
tree | 0f69b278240b26d0dd4e20da5fe6de2a2b840992 /os/ports/GCC | |
parent | 0cb6bc9b9d260beb05fcc9e2ec4d72f0ba621b71 (diff) | |
download | ChibiOS-61f841306aaa11b1471db1deb00470ea48f646fd.tar.gz ChibiOS-61f841306aaa11b1471db1deb00470ea48f646fd.tar.bz2 ChibiOS-61f841306aaa11b1471db1deb00470ea48f646fd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6037 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC')
-rw-r--r-- | os/ports/GCC/ARMCMx/chtypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/os/ports/GCC/ARMCMx/chtypes.h b/os/ports/GCC/ARMCMx/chtypes.h index 6870fbd6e..f20c43bd8 100644 --- a/os/ports/GCC/ARMCMx/chtypes.h +++ b/os/ports/GCC/ARMCMx/chtypes.h @@ -34,6 +34,7 @@ #include <stdbool.h>
typedef bool bool_t; /**< Fast boolean type. */
+typedef uint32_t systime_t; /**< System time. */
typedef uint32_t rtcnt_t; /**< Realtime counter. */
typedef uint32_t syssts_t; /**< System status word. */
typedef uint8_t tmode_t; /**< Thread flags. */
@@ -45,8 +46,8 @@ typedef int32_t msg_t; /**< Inter-thread message. */ typedef int32_t eventid_t; /**< Numeric event identifier. */
typedef uint32_t eventmask_t; /**< Mask of event identifiers. */
typedef uint32_t eventflags_t; /**< Mask of event flags. */
-typedef uint32_t systime_t; /**< System time. */
-typedef int32_t cnt_t; /**< Resources counter. */
+typedef int32_t cnt_t; /**< Generic signed counter. */
+typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
/**
* @brief ROM constant modifier.
|