Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
18
#ifndef PERIPH_CONF_H
19
#define PERIPH_CONF_H
20
21
#include <stdint.h>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
#ifndef I2C0_SPEED
32
#define I2C0_SPEED I2C_SPEED_FAST
33
#endif
34
#ifndef I2C0_SDA
35
#define I2C0_SDA GPIO4
36
#endif
37
#ifndef I2C0_SCL
38
#define I2C0_SCL GPIO5
39
#endif
40
55
#ifndef PWM0_GPIOS
56
#define PWM0_GPIOS { GPIO0, GPIO5, GPIO16 }
57
#endif
58
59
#ifdef __cplusplus
60
}
/* end extern "C" */
61
#endif
62
63
/* include common peripheral definitions as last step */
64
#include "periph_conf_common.h"
65
66
#endif
/* PERIPH_CONF_H */
67
Generated on Tue Nov 24 2020 19:46:50 by
1.8.17