]> git.donarmstrong.com Git - qmk_firmware.git/blob - lib/arm_atsam/packs/atmel/SAMD51_DFP/1.0.70/include/samd51.h
Massdrop keyboard support (#3780)
[qmk_firmware.git] / lib / arm_atsam / packs / atmel / SAMD51_DFP / 1.0.70 / include / samd51.h
1 /**
2  * \file
3  *
4  * \brief Top header file for SAMD51
5  *
6  * Copyright (c) 2017 Microchip Technology Inc.
7  *
8  * \asf_license_start
9  *
10  * \page License
11  *
12  * SPDX-License-Identifier: Apache-2.0
13  *
14  * Licensed under the Apache License, Version 2.0 (the "License"); you may
15  * not use this file except in compliance with the License.
16  * You may obtain a copy of the Licence at
17  * 
18  * http://www.apache.org/licenses/LICENSE-2.0
19  * 
20  * Unless required by applicable law or agreed to in writing, software
21  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
22  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23  * See the License for the specific language governing permissions and
24  * limitations under the License.
25  *
26  * \asf_license_stop
27  *
28  */
29
30 #ifndef _SAMD51_
31 #define _SAMD51_
32
33 /**
34  * \defgroup SAMD51_definitions SAMD51 Device Definitions
35  * \brief SAMD51 CMSIS Definitions.
36  */
37
38 #if   defined(__SAMD51G18A__) || defined(__ATSAMD51G18A__)
39   #include "samd51g18a.h"
40 #elif defined(__SAMD51G19A__) || defined(__ATSAMD51G19A__)
41   #include "samd51g19a.h"
42 #elif defined(__SAMD51J18A__) || defined(__ATSAMD51J18A__)
43   #include "samd51j18a.h"
44 #elif defined(__SAMD51J19A__) || defined(__ATSAMD51J19A__)
45   #include "samd51j19a.h"
46 #elif defined(__SAMD51J20A__) || defined(__ATSAMD51J20A__)
47   #include "samd51j20a.h"
48 #elif defined(__SAMD51N19A__) || defined(__ATSAMD51N19A__)
49   #include "samd51n19a.h"
50 #elif defined(__SAMD51N20A__) || defined(__ATSAMD51N20A__)
51   #include "samd51n20a.h"
52 #elif defined(__SAMD51P19A__) || defined(__ATSAMD51P19A__)
53   #include "samd51p19a.h"
54 #elif defined(__SAMD51P20A__) || defined(__ATSAMD51P20A__)
55   #include "samd51p20a.h"
56 #else
57   #error Library does not support the specified device.
58 #endif
59
60 #endif /* _SAMD51_ */