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) 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
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
31
#ifndef I2C0_SPEED
32
#define I2C0_SPEED I2C_SPEED_FAST
33
#endif
34
#ifndef I2C0_SDA
35
#define I2C0_SDA GPIO4
36
#endif
37
#ifndef I2C0_SCL
38
#define I2C0_SCL GPIO5
39
#endif
55
#ifndef PWM0_GPIOS
56
#define PWM0_GPIOS { GPIO0, GPIO4, GPIO5 }
57
#endif
58
61
#ifdef __cplusplus
62
}
/* end extern "C" */
63
#endif
64
69
#define SPI_FLASH_CHIP_SIZE 0x80000
70
71
/* include common peripheral definitions as last step */
72
#include "periph_conf_common.h"
73
74
#endif
/* PERIPH_CONF_H */
Generated on Sat Dec 21 2024 20:58:02 by
1.9.8