1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

cpu/stm32f3: set cpu specific hwtimer spin barrier

This commit is contained in:
Hauke Petersen 2014-11-26 19:03:06 +01:00
parent 0c2cc6af95
commit d19515d590

View File

@ -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