1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atmega2560/include/hwtimer_cpu.h

41 lines
904 B
C
Raw Normal View History

2014-07-15 12:09:50 +02:00
/*
* Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
*
* 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 cpu_atmega2560
* @{
*
* @file
* @brief CPU specific hwtimer configuration options
*
* @author Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
*/
#ifndef __HWTIMER_CPU_H
#define __HWTIMER_CPU_H
2014-10-13 10:53:20 +02:00
#ifdef __cplusplus
extern "C" {
#endif
2014-07-15 12:09:50 +02:00
/**
* @name Hardware timer configuration
* @{
*/
#define HWTIMER_MAXTIMERS 3 /**< the CPU implementation supports 3 HW timers */
#define HWTIMER_SPEED 1000000 /**< the HW timer runs with 1MHz */
#define HWTIMER_MAXTICKS (0xFFFF) /**< 16-bit timer */
/** @} */
2014-10-13 10:53:20 +02:00
#ifdef __cplusplus
}
#endif
2014-07-15 12:09:50 +02:00
#endif /* __HWTIMER_CPU_H */
/** @} */