samd11.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * \file
  3. *
  4. * \brief Top header file for SAMD11
  5. *
  6. * Copyright (c) 2018 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. #ifndef _SAMD11_
  30. #define _SAMD11_
  31. /**
  32. * \defgroup SAMD11_definitions SAMD11 Device Definitions
  33. * \brief SAMD11 CMSIS Definitions.
  34. */
  35. #if defined(__SAMD11C14A__) || defined(__ATSAMD11C14A__)
  36. #include "samd11c14a.h"
  37. #elif defined(__SAMD11D14AM__) || defined(__ATSAMD11D14AM__)
  38. #include "samd11d14am.h"
  39. #elif defined(__SAMD11D14AS__) || defined(__ATSAMD11D14AS__)
  40. #include "samd11d14as.h"
  41. #elif defined(__SAMD11D14AU__) || defined(__ATSAMD11D14AU__)
  42. #include "samd11d14au.h"
  43. #else
  44. #error Library does not support the specified device.
  45. #endif
  46. #endif /* _SAMD11_ */