/* $Id$ This file is part of R²C² Copyright © 2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ #ifndef TIMER_H_ #define TIMER_H_ #include #define TIMER_SET_CALLBACK(n, f) \ ISR(TIMER ## n ## _COMPA_vect) \ { \ f(); \ } void timer_start_hz(uint8_t, uint32_t, uint8_t); void timer_start_us(uint8_t, uint32_t); void timer_stop(uint8_t); #endif