]>
git.zerfleddert.de Git - fnordlicht-mini/blob - firmware/fnordlicht-controller/timer.h
4bd8d43e535ae096a1d1c85ea58ba64276698630
4 * (c) by Alexander Neumann <alexander@lochraster.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 * For more information on the GPL, please go to:
20 * http://www.gnu.org/copyleft/gpl.html
23 /* small timer library, uses timer2 */
38 void timer_init(void);
39 void timer_set(timer_t
*t
, uint8_t timeout
);
40 bool timer_expired(timer_t
*t
);