dev_enums.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
23 #ifndef PERIPH_DEV_ENUMS_H
24 #define PERIPH_DEV_ENUMS_H
25 
26 #include "periph_conf.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
35 enum {
36 #if TIMER_0_EN
37  TIMER_0,
38 #endif
39 #if TIMER_1_EN
40  TIMER_1,
41 #endif
42 #if TIMER_2_EN
43  TIMER_2,
44 #endif
45 #if TIMER_3_EN
46  TIMER_3,
47 #endif
49 };
50 
54 enum {
55 #if I2C_0_EN
56  I2C_0,
57 #endif
58 #if I2C_1_EN
59  I2C_1,
60 #endif
61 #if I2C_2_EN
62  I2C_2,
63 #endif
64 #if I2C_3_EN
65  I2C_3,
66 #endif
68 };
69 
73 enum {
74 #if UART_0_EN
75  UART_0 = 0,
76 #endif
77 #if UART_1_EN
78  UART_1,
79 #endif
80 #if UART_2_EN
81  UART_2,
82 #endif
83 #if UART_3_EN
84  UART_3,
85 #endif
86 #if UART_4_EN
87  UART_4,
88 #endif
89 #if UART_5_EN
90  UART_5,
91 #endif
92 #if UART_6_EN
93  UART_6,
94 #endif
96 };
97 
98 #ifdef __cplusplus
99 }
100 #endif
101 
102 #endif /* PERIPH_DEV_ENUMS_H */
103 
Deprecated symbol, use UART_UNDEF instead.
Definition: dev_enums.h:95
deprecated legacy undefined values
Definition: dev_enums.h:48
Deprecated symbol, use I2C_UNDEF instead.
Definition: dev_enums.h:67