Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
default_timer_config.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 HAW Hamburg
3
* 2016 Freie Universität Berlin
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
10
#pragma once
11
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
#ifndef TIMER_NUMOF
28
#define TIMER_NUMOF (1U)
29
#define TIMER_CHANNEL_NUMOF (2)
30
31
#define TIMER_0 MEGA_TIMER1
32
#define TIMER_0_MASK &TIMSK1
33
#define TIMER_0_FLAG &TIFR1
34
#define TIMER_0_ISRA TIMER1_COMPA_vect
35
#define TIMER_0_ISRB TIMER1_COMPB_vect
36
#endif
/* TIMER_NUMOF */
37
38
#ifdef __cplusplus
39
}
40
#endif
41
Generated on Fri Jun 20 2025 21:02:35 by
1.9.1