periph_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg
3  * 2023 Hugues Larrive
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
10 #pragma once
11 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
31 #ifndef CLOCK_CORECLOCK
32 /* Using 8MHz internal oscillator as default clock source */
33 #define CLOCK_CORECLOCK (8000000UL)
34 #endif
37 #ifdef __cplusplus
38 }
39 #endif
40 
42 
Common configuration of MCU periphery for ATmega boards.