ptc.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**
  2. * \file
  3. *
  4. * \brief Component description for PTC
  5. *
  6. * Copyright (c) 2018 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. /* file generated from device description version 2018-05-30T11:07:17Z */
  30. #ifndef _SAML11_PTC_COMPONENT_H_
  31. #define _SAML11_PTC_COMPONENT_H_
  32. #define _SAML11_PTC_COMPONENT_ /**< \deprecated Backward compatibility for ASF */
  33. /** \addtogroup SAML_SAML11 Peripheral Touch Controller
  34. * @{
  35. */
  36. /* ========================================================================== */
  37. /** SOFTWARE API DEFINITION FOR PTC */
  38. /* ========================================================================== */
  39. #define PTC_U2215 /**< (PTC) Module ID */
  40. #define REV_PTC 0x500 /**< (PTC) Module revision */
  41. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  42. /** \brief No hardware registers defined for PTC */
  43. typedef void Ptc;
  44. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  45. /** @} end of Peripheral Touch Controller */
  46. #endif /* _SAML11_PTC_COMPONENT_H_ */