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
9#pragma once
10
18
19#include <stdint.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#ifndef I2C0_SPEED
30#define I2C0_SPEED I2C_SPEED_FAST
31#endif
32#ifndef I2C0_SDA
33#define I2C0_SDA GPIO4
34#endif
35#ifndef I2C0_SCL
36#define I2C0_SCL GPIO5
37#endif
39
45
53#ifndef PWM0_GPIOS
54#define PWM0_GPIOS { GPIO0, GPIO2, GPIO16 }
55#endif
56
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