2013-03-06 10:29:49 +01:00
|
|
|
/**
|
|
|
|
* Native CPU hwtimer_cpu configuration
|
|
|
|
*
|
2014-05-15 18:07:02 +02:00
|
|
|
* Copyright (C) 2013 Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
2013-03-06 10:29:49 +01:00
|
|
|
*
|
2014-08-23 15:43:13 +02:00
|
|
|
* 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.
|
2013-03-06 10:29:49 +01:00
|
|
|
*
|
|
|
|
* @{
|
2013-03-13 21:56:56 +01:00
|
|
|
* @ingroup native_hwtimer
|
2013-03-06 10:29:49 +01:00
|
|
|
* @file
|
|
|
|
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2013-03-06 01:08:15 +01:00
|
|
|
#ifndef HWTIMER_CPU_H_
|
|
|
|
#define HWTIMER_CPU_H_
|
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-03-21 17:31:55 +01:00
|
|
|
#define HWTIMER_MAXTIMERS 4
|
2013-03-06 01:08:15 +01:00
|
|
|
#define HWTIMER_SPEED 1000000
|
|
|
|
#define HWTIMER_MAXTICKS (0xFFFFFFFF)
|
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2013-03-06 01:08:15 +01:00
|
|
|
#endif /* HWTIMER_CPU_H_ */
|