periph_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Benjamin Valentin
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 
20 #include <stdint.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
37 #ifndef I2C0_SPEED
38 #define I2C0_SPEED I2C_SPEED_FAST
39 #endif
40 #ifndef I2C0_SCL
41 #define I2C0_SCL GPIO6
42 #endif
43 #ifndef I2C0_SDA
44 #define I2C0_SDA GPIO5
45 #endif
58 #define UART0_TXD GPIO21
59 #define UART0_RXD GPIO20
61 #define UART1_TXD GPIO7
62 #define UART1_RXD GPIO3
65 #ifdef __cplusplus
66 } /* end extern "C" */
67 #endif
68 
69 /* include common peripheral definitions as last step */
70 #include "periph_conf_common.h"
71