sam0.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Kees Bakker
3  * 2016 Freie Universit├Ąt Berlin
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 
22 #ifndef SAM0_H
23 #define SAM0_H
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #if defined(CPU_MODEL_SAML21E18A)
30  #include "vendor/saml21/include/saml21e18a.h"
31 #elif defined(CPU_MODEL_SAML21G18A)
32  #include "vendor/saml21/include/saml21g18a.h"
33 #elif defined(CPU_MODEL_SAML21J18A)
34  #include "vendor/saml21/include/saml21j18a.h"
35 #elif defined(CPU_MODEL_SAML21E15B)
36  #include "vendor/saml21/include_b/saml21e15b.h"
37 #elif defined(CPU_MODEL_SAML21E16B)
38  #include "vendor/saml21/include_b/saml21e16b.h"
39 #elif defined(CPU_MODEL_SAML21E17B)
40  #include "vendor/saml21/include_b/saml21e17b.h"
41 #elif defined(CPU_MODEL_SAML21E18B)
42  #include "vendor/saml21/include_b/saml21e18b.h"
43 #elif defined(CPU_MODEL_SAML21G16B)
44  #include "vendor/saml21/include_b/saml21g16b.h"
45 #elif defined(CPU_MODEL_SAML21G17B)
46  #include "vendor/saml21/include_b/saml21g17b.h"
47 #elif defined(CPU_MODEL_SAML21G18B)
48  #include "vendor/saml21/include_b/saml21g18b.h"
49 #elif defined(CPU_MODEL_SAML21J16B)
50  #include "vendor/saml21/include_b/saml21j16b.h"
51 #elif defined(CPU_MODEL_SAML21J17B)
52  #include "vendor/saml21/include_b/saml21j17b.h"
53 #elif defined(CPU_MODEL_SAML21J18B)
54  #include "vendor/saml21/include_b/saml21j18b.h"
55 
56 #elif defined(CPU_MODEL_SAMR21E16A)
57  #include "vendor/samr21/include/samr21e16a.h"
58 #elif defined(CPU_MODEL_SAMR21E17A)
59  #include "vendor/samr21/include/samr21e17a.h"
60 #elif defined(CPU_MODEL_SAMR21E18A)
61  #include "vendor/samr21/include/samr21e18a.h"
62 #elif defined(CPU_MODEL_SAMR21G16A)
63  #include "vendor/samr21/include/samr21g16a.h"
64 #elif defined(CPU_MODEL_SAMR21G17A)
65  #include "vendor/samr21/include/samr21g17a.h"
66 #elif defined(CPU_MODEL_SAMR21G18A)
67  #include "vendor/samr21/include/samr21g18a.h"
68 
69 #elif defined(CPU_MODEL_SAMD21E15A)
70  #include "vendor/samd21/include/samd21e15a.h"
71 #elif defined(CPU_MODEL_SAMD21E16A)
72  #include "vendor/samd21/include/samd21e16a.h"
73 #elif defined(CPU_MODEL_SAMD21E17A)
74  #include "vendor/samd21/include/samd21e17a.h"
75 #elif defined(CPU_MODEL_SAMD21E18A)
76  #include "vendor/samd21/include/samd21e18a.h"
77 #elif defined(CPU_MODEL_SAMD21G15A)
78  #include "vendor/samd21/include/samd21g15a.h"
79 #elif defined(CPU_MODEL_SAMD21G16A)
80  #include "vendor/samd21/include/samd21g16a.h"
81 #elif defined(CPU_MODEL_SAMD21G17A)
82  #include "vendor/samd21/include/samd21g17a.h"
83 #elif defined(CPU_MODEL_SAMD21G17AU)
84  #include "vendor/samd21/include/samd21g17au.h"
85 #elif defined(CPU_MODEL_SAMD21G18A)
86  #include "vendor/samd21/include/samd21g18a.h"
87 #elif defined(CPU_MODEL_SAMD21G18AU)
88  #include "vendor/samd21/include/samd21g18au.h"
89 #elif defined(CPU_MODEL_SAMD21J15A)
90  #include "vendor/samd21/include/samd21j15a.h"
91 #elif defined(CPU_MODEL_SAMD21J16A)
92  #include "vendor/samd21/include/samd21j16a.h"
93 #elif defined(CPU_MODEL_SAMD21J17A)
94  #include "vendor/samd21/include/samd21j17a.h"
95 #elif defined(CPU_MODEL_SAMD21J18A)
96  #include "vendor/samd21/include/samd21j18a.h"
97 #elif defined(CPU_MODEL_SAMD21E15B)
98  #include "vendor/samd21/include/samd21e15b.h"
99 #elif defined(CPU_MODEL_SAMD21E15BU)
100  #include "vendor/samd21/include/samd21e15bu.h"
101 #elif defined(CPU_MODEL_SAMD21E15L)
102  #include "vendor/samd21/include/samd21e15l.h"
103 #elif defined(CPU_MODEL_SAMD21E16B)
104  #include "vendor/samd21/include/samd21e16b.h"
105 #elif defined(CPU_MODEL_SAMD21E16BU)
106  #include "vendor/samd21/include/samd21e16bu.h"
107 #elif defined(CPU_MODEL_SAMD21E16L)
108  #include "vendor/samd21/include/samd21e16l.h"
109 #elif defined(CPU_MODEL_SAMD21G15B)
110  #include "vendor/samd21/include/samd21g15b.h"
111 #elif defined(CPU_MODEL_SAMD21G15L)
112  #include "vendor/samd21/include/samd21g15l.h"
113 #elif defined(CPU_MODEL_SAMD21G16B)
114  #include "vendor/samd21/include/samd21g16b.h"
115 #elif defined(CPU_MODEL_SAMD21G16L)
116  #include "vendor/samd21/include/samd21g16l.h"
117 #elif defined(CPU_MODEL_SAMD21J15B)
118  #include "vendor/samd21/include/samd21j15b.h"
119 #elif defined(CPU_MODEL_SAMD21J16B)
120  #include "vendor/samd21/include/samd21j16b.h"
121 
122 #else
123  #error "Unsupported SAM0 variant."
124 #endif
125 
126 #ifdef __cplusplus
127 }
128 #endif
129 
130 #endif /* SAM0_H */
131