periph_conf.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2023 Benjamin Valentin
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
17 #include <stdint.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
34 #ifndef I2C0_SPEED
35 #define I2C0_SPEED I2C_SPEED_FAST
36 #endif
37 #ifndef I2C0_SCL
38 #define I2C0_SCL GPIO6
39 #endif
40 #ifndef I2C0_SDA
41 #define I2C0_SDA GPIO5
42 #endif
55 #define UART0_TXD GPIO21
56 #define UART0_RXD GPIO20
58 #define UART1_TXD GPIO7
59 #define UART1_RXD GPIO3
62 #ifdef __cplusplus
63 } /* end extern "C" */
64 #endif
65 
66 /* include common peripheral definitions as last step */
67 #include "periph_conf_common.h"
68