Loading...
Searching...
No Matches
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
55#ifndef PWM0_GPIOS
56#define PWM0_GPIOS { GPIO0, GPIO5, GPIO16 }
57#endif
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 */