periph_conf.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2019 Otto-von-Guericke-Universität Magdeburg
3  * SPDX-FileCopyrightText: 2021 Gerson Fernando Budke
4  * SPDX-License-Identifier: LGPL-2.1-only
5  */
6 
7 #pragma once
8 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
28 #ifndef CLOCK_CORECLOCK
29 /* Using 16MHz internal oscillator as default clock source */
30 #define CLOCK_CORECLOCK (16000000UL)
31 #endif
34 #ifdef __cplusplus
35 }
36 #endif
37 
39 
Common configuration of MCU periphery for ATmega boards.