periph_cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 ML!PA Consulting GmbH
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 PERIPH_CPU_H
21 #define PERIPH_CPU_H
22 
23 #include <limits.h>
24 
25 #include "periph_cpu_common.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
34 #define SAM0_DFLL_FREQ_HZ (48000000U)
35 
39 #define SAM0_DPLL_FREQ_MIN_HZ (96000000U)
40 
44 #define SAM0_DPLL_FREQ_MAX_HZ (200000000U)
45 
50 #define PM_NUM_MODES (3)
51 
57 enum {
62 };
70 #define SPI_HWCS(x) (UINT_MAX - 1)
71 
75 #define DAC_RES_BITS (12)
76 
80 #define DAC_NUMOF (2)
81 
82 #ifdef __cplusplus
83 }
84 #endif
85 
86 #endif /* PERIPH_CPU_H */
87 
48 MHz DFLL clock
Definition: periph_cpu.h:61
8 MHz clock for xTimer
Definition: periph_cpu.h:60
48 MHz main clock
Definition: periph_cpu.h:59
32 kHz clock
Definition: periph_cpu.h:61