2014-04-17 19:36:12 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Freie Universität Berlin
|
|
|
|
*
|
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.
|
2014-04-17 19:36:12 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup cpu_sam3x8e
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file hwtimer_cpu.h
|
|
|
|
* @brief CPU specific hwtimer configuration options
|
|
|
|
*
|
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __HWTIMER_CPU_H
|
|
|
|
#define __HWTIMER_CPU_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Hardware timer configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define HWTIMER_MAXTIMERS 6 /**< the CPU implementation supports 3 HW timers */
|
|
|
|
#define HWTIMER_SPEED 1000000 /**< the HW timer runs with 1MHz */
|
|
|
|
#define HWTIMER_MAXTICKS (0xFFFFFFFF) /**< 32-bit timer */
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __HWTIMER_CPU_H */
|
|
|
|
/** @} */
|