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
* 2023 Hugues Larrive
5
*
6
* This file is subject to the terms and conditions of the GNU Lesser
7
* General Public License v2.1. See the file LICENSE in the top level
8
* directory for more details.
9
*/
10
23
#ifndef DEFAULT_TIMER_CONFIG_H
24
#define DEFAULT_TIMER_CONFIG_H
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
#ifndef TIMER_NUMOF
31
#define TIMER_NUMOF (1U)
32
#define TIMER_CHANNEL_NUMOF (2)
33
34
#define TIMER_0 MEGA_TIMER1
35
#define TIMER_0_MASK &TIMSK
36
#define TIMER_0_FLAG &TIFR
37
#define TIMER_0_ISRA TIMER1_COMPA_vect
38
#define TIMER_0_ISRB TIMER1_COMPB_vect
39
#endif
/* TIMER_NUMOF */
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif
/* DEFAULT_TIMER_CONFIG_H */
Generated on Fri Nov 15 2024 22:46:35 by
1.9.8