mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
38 lines
745 B
C
38 lines
745 B
C
/*
|
|
* 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.
|
|
*/
|
|
|
|
/*
|
|
* 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_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define HWTIMER_MAXTIMERS 4
|
|
#define HWTIMER_SPEED 1000000
|
|
#define HWTIMER_MAXTICKS (0xFFFFFFFF)
|
|
|
|
#define HWTIMER_MSEC (HWTIMER_SPEED/1000)
|
|
#define HWTIMER_SEC (HWTIMER_SPEED)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* HWTIMER_CPU_H_ */
|