Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
21
#ifndef DEFAULT_TIMER_CONFIG_H
22
#define DEFAULT_TIMER_CONFIG_H
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
#ifndef TIMER_NUMOF
29
#define TIMER_NUMOF (1U)
30
#define TIMER_CHANNEL_NUMOF (2)
31
32
#define TIMER_0 MEGA_TIMER1
33
#define TIMER_0_MASK &TIMSK1
34
#define TIMER_0_FLAG &TIFR1
35
#define TIMER_0_ISRA TIMER1_COMPA_vect
36
#define TIMER_0_ISRB TIMER1_COMPB_vect
37
#endif
/* TIMER_NUMOF */
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* DEFAULT_TIMER_CONFIG_H */
Generated on Fri Nov 15 2024 22:46:35 by
1.9.8