aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 09:24:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 09:24:29 +0000
commit65f23fc65ff4b60d88281184d9a634375f02e3a1 (patch)
treef240449b155caa5d84cb5d3969a282e003108564 /os/hal/platforms/STM32/hal_lld.h
parentebcb2909b26b261f99ea242629a36a888c53551c (diff)
downloadChibiOS-65f23fc65ff4b60d88281184d9a634375f02e3a1.tar.gz
ChibiOS-65f23fc65ff4b60d88281184d9a634375f02e3a1.tar.bz2
ChibiOS-65f23fc65ff4b60d88281184d9a634375f02e3a1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1428 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/hal_lld.h')
-rw-r--r--os/hal/platforms/STM32/hal_lld.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/hal_lld.h b/os/hal/platforms/STM32/hal_lld.h
index 45f74aff0..9144a48aa 100644
--- a/os/hal/platforms/STM32/hal_lld.h
+++ b/os/hal/platforms/STM32/hal_lld.h
@@ -76,6 +76,8 @@
#define APB1CLK (SYSCLK / 2)
#define APB2CLK (SYSCLK / 2)
#define AHB1CLK (SYSCLK / 1)
+#define TIMCLK2 (APB2CLK * 2)
+#define TIMCLK1 (APB1CLK * 2)
/*
* Values derived from the clock settings.