sam.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /**
  2. * \file
  3. *
  4. * \brief Top level header file
  5. *
  6. * Copyright (c) 2019 Microchip Technology Inc.
  7. *
  8. * \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");
  15. * you may not use this file except in compliance with the License.
  16. * You may obtain a copy of the License 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,
  22. * WITHOUT 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. * \license_stop
  27. *
  28. */
  29. #ifndef _SAM_
  30. #define _SAM_
  31. #if defined(__SAME54N19A__) || defined(__ATSAME54N19A__)
  32. #include "same54n19a.h"
  33. #elif defined(__SAME54N20A__) || defined(__ATSAME54N20A__)
  34. #include "same54n20a.h"
  35. #elif defined(__SAME54P19A__) || defined(__ATSAME54P19A__)
  36. #include "same54p19a.h"
  37. #elif defined(__SAME54P20A__) || defined(__ATSAME54P20A__)
  38. #include "same54p20a.h"
  39. #else
  40. #error Library does not support the specified device
  41. #endif
  42. #endif /* _SAM_ */