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
15
16#include <stdint.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
26#ifndef I2C0_SPEED
27#define I2C0_SPEED I2C_SPEED_FAST
28#endif
29#ifndef I2C0_SDA
30#define I2C0_SDA GPIO4
31#endif
32#ifndef I2C0_SCL
33#define I2C0_SCL GPIO5
34#endif
36
42
50#ifndef PWM0_GPIOS
51#define PWM0_GPIOS { GPIO0, GPIO2, GPIO16 }
52#endif
53
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