Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
periph_conf_common.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2021 Gerson Fernando Budke <nandojve@gmail.com>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
18
#include "periph_cpu.h"
19
#include "
macros/units.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#ifndef CLOCK_CORECLOCK
30
#define CLOCK_CORECLOCK MHZ(32)
31
#endif
/* CLOCK_CORECLOCK */
39
#ifndef ADC_NUMOF
40
#define ADC_NUMOF (0U)
41
#endif
/* ADC_NUMOF */
48
#ifndef I2C_NUMOF
49
#define I2C_NUMOF (0U)
50
#endif
/* I2C_NUMOF */
58
#ifndef PWM_NUMOF
59
#define PWM_NUMOF (0U)
60
#endif
/* PWM_NUMOF */
72
#ifndef SPI_NUMOF
73
#define SPI_NUMOF (0U)
74
#endif
/* SPI_NUMOF */
86
#ifndef UART_NUMOF
87
#define UART_NUMOF (0U)
88
#endif
/* UART_NUMOF */
91
#ifdef __cplusplus
92
}
93
#endif
94
units.h
Unit helper macros.
Generated on Thu Jul 24 2025 16:03:56 by
1.9.1