Loading...
Searching...
No Matches
periph_conf.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
16
17#include <stdint.h>
18
19#ifdef __cplusplus
20 extern "C" {
21#endif
22
27#ifndef I2C0_SPEED
28#define I2C0_SPEED I2C_SPEED_FAST
29#endif
30#ifndef I2C0_SDA
31#define I2C0_SDA GPIO4
32#endif
33#ifndef I2C0_SCL
34#define I2C0_SCL GPIO5
35#endif
37
43
51#ifndef PWM0_GPIOS
52#define PWM0_GPIOS { GPIO0, GPIO5, GPIO16 }
53#endif
55
56#ifdef __cplusplus
57} /* end extern "C" */
58#endif
59
60/* include common peripheral definitions as last step */
61#include "periph_conf_common.h"
62