diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-02 09:08:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-02 09:08:10 +0000 |
commit | 9226141410542325cfac87cd8eb62368c0ad82d4 (patch) | |
tree | 0ec9536b8c47903c6dd93e2d7c7b1e58bd123ab6 /os/hal/templates | |
parent | af7d354bdca2ad2c96bd7eada7033aaf7b0991e1 (diff) | |
download | ChibiOS-9226141410542325cfac87cd8eb62368c0ad82d4.tar.gz ChibiOS-9226141410542325cfac87cd8eb62368c0ad82d4.tar.bz2 ChibiOS-9226141410542325cfac87cd8eb62368c0ad82d4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4864 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates')
-rw-r--r-- | os/hal/templates/hal_lld.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/os/hal/templates/hal_lld.h b/os/hal/templates/hal_lld.h index 1b7106962..a133c5854 100644 --- a/os/hal/templates/hal_lld.h +++ b/os/hal/templates/hal_lld.h @@ -34,6 +34,11 @@ /*===========================================================================*/
/**
+ * @brief Defines the support for realtime counters in the HAL.
+ */
+#define HAL_IMPLEMENTS_COUNTERS TRUE
+
+/**
* @brief Platform name.
*/
#define PLATFORM_NAME ""
@@ -50,6 +55,16 @@ /* Driver data structures and types. */
/*===========================================================================*/
+/**
+ * @brief Type representing a system clock frequency.
+ */
+typedef uint32_t halclock_t;
+
+/**
+ * @brief Type of the realtime free counter value.
+ */
+typedef uint32_t halrtcnt_t;
+
/*===========================================================================*/
/* Driver macros. */
/*===========================================================================*/
|