Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
18
#ifndef PERIPH_CONF_H
19
#define PERIPH_CONF_H
20
21
#include <stdint.h>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
38
#ifndef I2C0_SPEED
39
#define I2C0_SPEED I2C_SPEED_FAST
40
#endif
41
#ifndef I2C0_SCL
42
#define I2C0_SCL GPIO6
43
#endif
44
#ifndef I2C0_SDA
45
#define I2C0_SDA GPIO5
46
#endif
59
#define UART0_TXD GPIO21
60
#define UART0_RXD GPIO20
62
#define UART1_TXD GPIO7
63
#define UART1_RXD GPIO3
66
#ifdef __cplusplus
67
}
/* end extern "C" */
68
#endif
69
70
/* include common peripheral definitions as last step */
71
#include "periph_conf_common.h"
72
73
#endif
/* PERIPH_CONF_H */
Generated on Sat Dec 21 2024 20:58:02 by
1.9.8