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
* 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
11
#pragma once
12
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
#ifndef TIMER_NUMOF
30
#define TIMER_NUMOF (1U)
31
#define TIMER_CHANNEL_NUMOF (2)
32
33
#define TIMER_0 MEGA_TIMER1
34
#define TIMER_0_MASK &TIMSK
35
#define TIMER_0_FLAG &TIFR
36
#define TIMER_0_ISRA TIMER1_COMPA_vect
37
#define TIMER_0_ISRB TIMER1_COMPB_vect
38
#endif
/* TIMER_NUMOF */
39
40
#ifdef __cplusplus
41
}
42
#endif
43
Generated on Fri Jun 20 2025 21:02:35 by
1.9.1