From 9226141410542325cfac87cd8eb62368c0ad82d4 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 2 Dec 2012 09:08:10 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4864 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/templates/hal_lld.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'os/hal/templates') 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 @@ -33,6 +33,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS TRUE + /** * @brief 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. */ /*===========================================================================*/ -- cgit v1.2.3