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
9
#pragma once
10
19
20
#include <stdint.h>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#ifndef I2C0_SPEED
31
#define I2C0_SPEED I2C_SPEED_FAST
32
#endif
33
#ifndef I2C0_SDA
34
#define I2C0_SDA GPIO4
35
#endif
36
#ifndef I2C0_SCL
37
#define I2C0_SCL GPIO5
38
#endif
40
46
54
#ifndef PWM0_GPIOS
55
#define PWM0_GPIOS { GPIO0, GPIO4, GPIO5 }
56
#endif
57
59
60
#ifdef __cplusplus
61
}
/* end extern "C" */
62
#endif
63
68
#define SPI_FLASH_CHIP_SIZE 0x80000
69
70
/* include common peripheral definitions as last step */
71
#include "periph_conf_common.h"
72
Generated on Thu Jul 3 2025 17:41:19 by
1.13.2