mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/stm32f0: set hwtimer spin barrier value
This commit is contained in:
parent
f1fda21ab7
commit
36b3b9b457
@ -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 (18U) /**< set spin barrier to at least 18 ticks */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user