cpu/sam0_common/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-2016 Freie Universit├Ąt Berlin
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 
20 #ifndef CPU_CONF_H
21 #define CPU_CONF_H
22 
23 #include "cpu_conf_common.h"
24 #include "sam0.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
34 #define CPU_DEFAULT_IRQ_PRIO (1U)
35 #define CPU_IRQ_NUMOF PERIPH_COUNT_IRQn
36 #define CPU_FLASH_BASE FLASH_ADDR
37 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* CPU_CONF_H */
44 
Common CPU definitione for Cortex-M family based MCUs.
Wrapper include file for including the specific SAM0 vendor header.