periph_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Gunar Schorcht
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 
17 #ifndef PERIPH_CONF_H
18 #define PERIPH_CONF_H
19 
20 #include <stdint.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
30 #ifndef I2C0_SPEED
31 #define I2C0_SPEED I2C_SPEED_FAST
32 #endif
33 #ifndef I2C0_SDA
34 #define I2C0_SDA GPIO4
35 #endif
36 #ifndef I2C0_SCL
37 #define I2C0_SCL GPIO5
38 #endif
39 
54 #ifndef PWM0_GPIOS
55 #define PWM0_GPIOS { GPIO0, GPIO2, GPIO16 }
56 #endif
57 
60 #ifdef __cplusplus
61 } /* end extern "C" */
62 #endif
63 
64 /* include common peripheral definitions as last step */
65 #include "periph_conf_common.h"
66 
67 #endif /* PERIPH_CONF_H */
68