Kévin Redon | f041136 | 2019-06-06 17:42:44 +0200 | [diff] [blame] | 1 | /**
|
| 2 | * \file
|
| 3 | *
|
| 4 | * \brief Top header file for SAME54
|
| 5 | *
|
| 6 | * Copyright (c) 2019 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 _SAME54_
|
| 31 | #define _SAME54_
|
| 32 |
|
| 33 | /**
|
| 34 | * \defgroup SAME54_definitions SAME54 Device Definitions
|
| 35 | * \brief SAME54 CMSIS Definitions.
|
| 36 | */
|
| 37 |
|
| 38 | #if defined(__SAME54N19A__) || defined(__ATSAME54N19A__)
|
| 39 | #include "same54n19a.h"
|
| 40 | #elif defined(__SAME54N20A__) || defined(__ATSAME54N20A__)
|
| 41 | #include "same54n20a.h"
|
| 42 | #elif defined(__SAME54P19A__) || defined(__ATSAME54P19A__)
|
| 43 | #include "same54p19a.h"
|
| 44 | #elif defined(__SAME54P20A__) || defined(__ATSAME54P20A__)
|
| 45 | #include "same54p20a.h"
|
| 46 | #else
|
| 47 | #error Library does not support the specified device.
|
| 48 | #endif
|
| 49 |
|
| 50 | #endif /* _SAME54_ */
|