From d19515d5901561b487f45a24167c9f424a244b3e Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 26 Nov 2014 19:03:06 +0100 Subject: [PATCH] cpu/stm32f3: set cpu specific hwtimer spin barrier --- cpu/stm32f3/include/hwtimer_cpu.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpu/stm32f3/include/hwtimer_cpu.h b/cpu/stm32f3/include/hwtimer_cpu.h index ca3157f625..5661c14930 100644 --- a/cpu/stm32f3/include/hwtimer_cpu.h +++ b/cpu/stm32f3/include/hwtimer_cpu.h @@ -27,9 +27,10 @@ extern "C" { * @name Hardware timer configuration * @{ */ -#define HWTIMER_MAXTIMERS 4 /**< the CPU implementation supports 4 HW timers */ -#define HWTIMER_SPEED 1000000 /**< the HW timer runs with 1MHz */ -#define HWTIMER_MAXTICKS (0xFFFFFFFF) /**< 32-bit timer */ +#define HWTIMER_MAXTIMERS (4U) /**< the CPU implementation supports 4 HW timers */ +#define HWTIMER_SPEED (1000000U) /**< the HW timer runs with 1MHz */ +#define HWTIMER_MAXTICKS (0xFFFFFFFF) /**< 32-bit timer */ +#define HWTIMER_SPIN_BARRIER (11U) /**< set cpu specific spin barrier */ /** @} */ #ifdef __cplusplus