You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
5.2 KiB

5 years ago
  1. /* --COPYRIGHT--,BSD
  2. * Copyright (c) 2013, Texas Instruments Incorporated
  3. * All rights reserved.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions
  7. * are met:
  8. *
  9. * * Redistributions of source code must retain the above copyright
  10. * notice, this list of conditions and the following disclaimer.
  11. *
  12. * * Redistributions in binary form must reproduce the above copyright
  13. * notice, this list of conditions and the following disclaimer in the
  14. * documentation and/or other materials provided with the distribution.
  15. *
  16. * * Neither the name of Texas Instruments Incorporated nor the names of
  17. * its contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  21. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  22. * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  23. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  24. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  25. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  26. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  27. * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  28. * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  29. * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  30. * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. * --/COPYRIGHT--*/
  32. /*!
  33. * @file CTS_HAL.h
  34. *
  35. * @brief
  36. *
  37. * @par Project:
  38. * MSP430 Capacitive Touch Library
  39. *
  40. * @par Developed using:
  41. * CCS Version : 5.4.0.00048, w/support for GCC extensions (--gcc)
  42. * \n IAR Version : 5.51.6 [Kickstart]
  43. *
  44. * @author C. Sterzik
  45. * @author T. Hwang
  46. *
  47. * @version 1.2 Added HALs for new devices.
  48. *
  49. * @par Supported Hardware Configurations:
  50. * - TI_CTS_RO_COMPAp_TA0_WDTp_HAL()
  51. * - TI_CTS_fRO_COMPAp_TA0_SW_HAL()
  52. * - TI_CTS_fRO_COMPAp_SW_TA0_HAL()
  53. * - TI_CTS_RO_COMPAp_TA1_WDTp_HAL()
  54. * - TI_CTS_fRO_COMPAp_TA1_SW_HAL()
  55. * - TI_CTS_RC_PAIR_TA0_HAL()
  56. * - TI_CTS_RO_PINOSC_TA0_WDTp_HAL()
  57. * - TI_CTS_RO_PINOSC_TA0_HAL()
  58. * - TI_CTS_fRO_PINOSC_TA0_SW_HAL()
  59. * - TI_CTS_RO_COMPB_TA0_WDTA_HAL()
  60. * - TI_CTS_RO_COMPB_TA1_WDTA_HAL()
  61. * - TI_CTS_fRO_COMPB_TA0_SW_HAL()
  62. * - TI_CTS_fRO_COMPB_TA1_SW_HAL()
  63. * - Added in version 1.1
  64. * - TI_CTS_fRO_PINOSC_TA0_TA1_HAL()
  65. * - TI_CTS_RO_PINOSC_TA0_TA1_HAL()
  66. * - TI_CTS_RO_CSIO_TA2_WDTA_HAL()
  67. * - TI_CTS_RO_CSIO_TA2_TA3_HAL()
  68. * - TI_CTS_fRO_CSIO_TA2_TA3_HAL()
  69. * - TI_CTS_RO_COMPB_TB0_WDTA_HAL()
  70. * - TI_CTS_RO_COMPB_TA1_TA0_HAL()
  71. * - TI_CTS_fRO_COMPB_TA1_TA0_HAL()
  72. * - Added in version 1.2
  73. * - TI_CTS_RO_PINOSC_TA1_WDTp_HAL()
  74. * - TI_CTS_RO_PINOSC_TA1_TB0_HAL()
  75. * - TI_CTS_fRO_PINOSC_TA1_TA0_HAL()
  76. * - TI_CTS_fRO_PINOSC_TA1_TB0_HAL()
  77. *
  78. */
  79. #ifndef CTS_HAL_H_
  80. #define CTS_HAL_H_
  81. #include "structure.h"
  82. void TI_CTS_RO_CSIO_TA2_WDTA_HAL(const struct Sensor *,uint16_t *);
  83. void TI_CTS_RO_CSIO_TA2_TA3_HAL(const struct Sensor *,uint16_t *);
  84. void TI_CTS_fRO_CSIO_TA2_TA3_HAL(const struct Sensor *,uint16_t *);
  85. void TI_CTS_RO_COMPB_TB0_WDTA_HAL(const struct Sensor *,uint16_t *);
  86. void TI_CTS_RO_PINOSC_TA0_TA1_HAL(const struct Sensor *,uint16_t *);
  87. void TI_CTS_fRO_PINOSC_TA0_TA1_HAL(const struct Sensor *,uint16_t *);
  88. void TI_CTS_RO_COMPAp_TA0_WDTp_HAL(const struct Sensor *, uint16_t *);
  89. void TI_CTS_fRO_COMPAp_TA0_SW_HAL(const struct Sensor *, uint16_t *);
  90. void TI_CTS_fRO_COMPAp_SW_TA0_HAL(const struct Sensor *, uint16_t *);
  91. void TI_CTS_RO_COMPAp_TA1_WDTp_HAL(const struct Sensor *, uint16_t *);
  92. void TI_CTS_fRO_COMPAp_TA1_SW_HAL(const struct Sensor *, uint16_t *);
  93. void TI_CTS_RC_PAIR_TA0_HAL(const struct Sensor *, uint16_t *);
  94. void TI_CTS_RO_PINOSC_TA0_WDTp_HAL(const struct Sensor *, uint16_t *);
  95. void TI_CTS_RO_PINOSC_TA0_HAL(const struct Sensor *, uint16_t *);
  96. void TI_CTS_fRO_PINOSC_TA0_SW_HAL(const struct Sensor *, uint16_t *);
  97. void TI_CTS_RO_COMPB_TA0_WDTA_HAL(const struct Sensor *, uint16_t *);
  98. void TI_CTS_fRO_COMPB_TA0_SW_HAL(const struct Sensor *, uint16_t *);
  99. void TI_CTS_RO_COMPB_TA1_WDTA_HAL(const struct Sensor *, uint16_t *);
  100. void TI_CTS_fRO_COMPB_TA1_SW_HAL(const struct Sensor *, uint16_t *);
  101. void TI_CTS_RO_COMPB_TA1_TA0_HAL(const struct Sensor *, uint16_t *);
  102. void TI_CTS_fRO_COMPB_TA1_TA0_HAL(const struct Sensor *,uint16_t *);
  103. void TI_CTS_RO_PINOSC_TA1_WDTp_HAL(const struct Sensor *, uint16_t *);
  104. void TI_CTS_RO_PINOSC_TA1_TB0_HAL(const struct Sensor *, uint16_t *);
  105. void TI_CTS_fRO_PINOSC_TA1_TA0_HAL(const struct Sensor *, uint16_t *);
  106. void TI_CTS_fRO_PINOSC_TA1_TB0_HAL(const struct Sensor *, uint16_t *);
  107. #endif /* CTS_HAL_H_ */