mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
e01329796d
This keeps the test/hwtimer_wait test duration correct.
36 lines
718 B
C
36 lines
718 B
C
/**
|
|
* Native CPU hwtimer_cpu configuration
|
|
*
|
|
* Copyright (C) 2013 Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*
|
|
* @{
|
|
* @ingroup native_hwtimer
|
|
* @file
|
|
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
|
* @}
|
|
*/
|
|
|
|
#include "periph_conf.h"
|
|
|
|
#ifndef HWTIMER_CPU_H_
|
|
#define HWTIMER_CPU_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define HWTIMER_MAXTIMERS 1
|
|
#define HWTIMER_SPEED 1000000
|
|
#define HWTIMER_MAXTICKS (0xFFFFFFFF)
|
|
#define HWTIMER_SPIN_BARRIER NATIVE_TIMER_MIN_RES
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* HWTIMER_CPU_H_ */
|