2014-11-09 15:06:25 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2009 Freie Universität Berlin
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
/*
|
|
|
|
* lpc2387_timer_0_1.h
|
|
|
|
*
|
|
|
|
* Created on: 15.01.2009
|
|
|
|
* Author: heiko, kaspar
|
|
|
|
*
|
|
|
|
* Changelog:
|
|
|
|
* 26.01.09 kaspar: renamed file, misc changes for firekernel
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef HWTIMER_CPU_H_
|
|
|
|
#define HWTIMER_CPU_H_
|
|
|
|
|
2014-03-21 17:31:55 +01:00
|
|
|
#define HWTIMER_MAXTIMERS 4
|
2010-09-22 15:10:42 +02:00
|
|
|
#define HWTIMER_SPEED 1000000
|
|
|
|
#define HWTIMER_MAXTICKS (0xFFFFFFFF)
|
|
|
|
|
|
|
|
#define HWTIMER_MSEC (HWTIMER_SPEED/1000)
|
|
|
|
#define HWTIMER_SEC (HWTIMER_SPEED)
|
|
|
|
|
|
|
|
#endif /* HWTIMER_CPU_H_ */
|