saml11d14a.h 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834
  1. /**
  2. * \file
  3. *
  4. * \brief Peripheral I/O description for SAML11D14A
  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:16Z */
  30. #ifndef _SAML11D14A_PIO_H_
  31. #define _SAML11D14A_PIO_H_
  32. /* ========== Peripheral I/O pin numbers ========== */
  33. #define PIN_PA00 ( 0) /**< Pin Number for PA00 */
  34. #define PIN_PA01 ( 1) /**< Pin Number for PA01 */
  35. #define PIN_PA02 ( 2) /**< Pin Number for PA02 */
  36. #define PIN_PA03 ( 3) /**< Pin Number for PA03 */
  37. #define PIN_PA04 ( 4) /**< Pin Number for PA04 */
  38. #define PIN_PA05 ( 5) /**< Pin Number for PA05 */
  39. #define PIN_PA08 ( 8) /**< Pin Number for PA08 */
  40. #define PIN_PA14 ( 14) /**< Pin Number for PA14 */
  41. #define PIN_PA15 ( 15) /**< Pin Number for PA15 */
  42. #define PIN_PA16 ( 16) /**< Pin Number for PA16 */
  43. #define PIN_PA17 ( 17) /**< Pin Number for PA17 */
  44. #define PIN_PA18 ( 18) /**< Pin Number for PA18 */
  45. #define PIN_PA19 ( 19) /**< Pin Number for PA19 */
  46. #define PIN_PA22 ( 22) /**< Pin Number for PA22 */
  47. #define PIN_PA23 ( 23) /**< Pin Number for PA23 */
  48. #define PIN_PA30 ( 30) /**< Pin Number for PA30 */
  49. #define PIN_PA31 ( 31) /**< Pin Number for PA31 */
  50. /* ========== Peripheral I/O masks ========== */
  51. #define PORT_PA00 (_U_(1) << 0) /**< PORT Mask for PA00 */
  52. #define PORT_PA01 (_U_(1) << 1) /**< PORT Mask for PA01 */
  53. #define PORT_PA02 (_U_(1) << 2) /**< PORT Mask for PA02 */
  54. #define PORT_PA03 (_U_(1) << 3) /**< PORT Mask for PA03 */
  55. #define PORT_PA04 (_U_(1) << 4) /**< PORT Mask for PA04 */
  56. #define PORT_PA05 (_U_(1) << 5) /**< PORT Mask for PA05 */
  57. #define PORT_PA08 (_U_(1) << 8) /**< PORT Mask for PA08 */
  58. #define PORT_PA14 (_U_(1) << 14) /**< PORT Mask for PA14 */
  59. #define PORT_PA15 (_U_(1) << 15) /**< PORT Mask for PA15 */
  60. #define PORT_PA16 (_U_(1) << 16) /**< PORT Mask for PA16 */
  61. #define PORT_PA17 (_U_(1) << 17) /**< PORT Mask for PA17 */
  62. #define PORT_PA18 (_U_(1) << 18) /**< PORT Mask for PA18 */
  63. #define PORT_PA19 (_U_(1) << 19) /**< PORT Mask for PA19 */
  64. #define PORT_PA22 (_U_(1) << 22) /**< PORT Mask for PA22 */
  65. #define PORT_PA23 (_U_(1) << 23) /**< PORT Mask for PA23 */
  66. #define PORT_PA30 (_U_(1) << 30) /**< PORT Mask for PA30 */
  67. #define PORT_PA31 (_U_(1) << 31) /**< PORT Mask for PA31 */
  68. /* ========== Peripheral I/O indexes ========== */
  69. #define PORT_PA00_IDX ( 0) /**< PORT Index Number for PA00 */
  70. #define PORT_PA01_IDX ( 1) /**< PORT Index Number for PA01 */
  71. #define PORT_PA02_IDX ( 2) /**< PORT Index Number for PA02 */
  72. #define PORT_PA03_IDX ( 3) /**< PORT Index Number for PA03 */
  73. #define PORT_PA04_IDX ( 4) /**< PORT Index Number for PA04 */
  74. #define PORT_PA05_IDX ( 5) /**< PORT Index Number for PA05 */
  75. #define PORT_PA08_IDX ( 8) /**< PORT Index Number for PA08 */
  76. #define PORT_PA14_IDX ( 14) /**< PORT Index Number for PA14 */
  77. #define PORT_PA15_IDX ( 15) /**< PORT Index Number for PA15 */
  78. #define PORT_PA16_IDX ( 16) /**< PORT Index Number for PA16 */
  79. #define PORT_PA17_IDX ( 17) /**< PORT Index Number for PA17 */
  80. #define PORT_PA18_IDX ( 18) /**< PORT Index Number for PA18 */
  81. #define PORT_PA19_IDX ( 19) /**< PORT Index Number for PA19 */
  82. #define PORT_PA22_IDX ( 22) /**< PORT Index Number for PA22 */
  83. #define PORT_PA23_IDX ( 23) /**< PORT Index Number for PA23 */
  84. #define PORT_PA30_IDX ( 30) /**< PORT Index Number for PA30 */
  85. #define PORT_PA31_IDX ( 31) /**< PORT Index Number for PA31 */
  86. /* ========== PORT definition for AC peripheral ========== */
  87. #define PIN_PA04B_AC_AIN0 _L_(4) /**< AC signal: AIN0 on PA04 mux B*/
  88. #define MUX_PA04B_AC_AIN0 _L_(1)
  89. #define PINMUX_PA04B_AC_AIN0 ((PIN_PA04B_AC_AIN0 << 16) | MUX_PA04B_AC_AIN0)
  90. #define PORT_PA04B_AC_AIN0 (_UL_(1) << 4)
  91. #define PIN_PA05B_AC_AIN1 _L_(5) /**< AC signal: AIN1 on PA05 mux B*/
  92. #define MUX_PA05B_AC_AIN1 _L_(1)
  93. #define PINMUX_PA05B_AC_AIN1 ((PIN_PA05B_AC_AIN1 << 16) | MUX_PA05B_AC_AIN1)
  94. #define PORT_PA05B_AC_AIN1 (_UL_(1) << 5)
  95. #define PIN_PA18H_AC_CMP0 _L_(18) /**< AC signal: CMP0 on PA18 mux H*/
  96. #define MUX_PA18H_AC_CMP0 _L_(7)
  97. #define PINMUX_PA18H_AC_CMP0 ((PIN_PA18H_AC_CMP0 << 16) | MUX_PA18H_AC_CMP0)
  98. #define PORT_PA18H_AC_CMP0 (_UL_(1) << 18)
  99. #define PIN_PA19H_AC_CMP1 _L_(19) /**< AC signal: CMP1 on PA19 mux H*/
  100. #define MUX_PA19H_AC_CMP1 _L_(7)
  101. #define PINMUX_PA19H_AC_CMP1 ((PIN_PA19H_AC_CMP1 << 16) | MUX_PA19H_AC_CMP1)
  102. #define PORT_PA19H_AC_CMP1 (_UL_(1) << 19)
  103. /* ========== PORT definition for ADC peripheral ========== */
  104. #define PIN_PA02B_ADC_AIN0 _L_(2) /**< ADC signal: AIN0 on PA02 mux B*/
  105. #define MUX_PA02B_ADC_AIN0 _L_(1)
  106. #define PINMUX_PA02B_ADC_AIN0 ((PIN_PA02B_ADC_AIN0 << 16) | MUX_PA02B_ADC_AIN0)
  107. #define PORT_PA02B_ADC_AIN0 (_UL_(1) << 2)
  108. #define PIN_PA03B_ADC_AIN1 _L_(3) /**< ADC signal: AIN1 on PA03 mux B*/
  109. #define MUX_PA03B_ADC_AIN1 _L_(1)
  110. #define PINMUX_PA03B_ADC_AIN1 ((PIN_PA03B_ADC_AIN1 << 16) | MUX_PA03B_ADC_AIN1)
  111. #define PORT_PA03B_ADC_AIN1 (_UL_(1) << 3)
  112. #define PIN_PA04B_ADC_AIN2 _L_(4) /**< ADC signal: AIN2 on PA04 mux B*/
  113. #define MUX_PA04B_ADC_AIN2 _L_(1)
  114. #define PINMUX_PA04B_ADC_AIN2 ((PIN_PA04B_ADC_AIN2 << 16) | MUX_PA04B_ADC_AIN2)
  115. #define PORT_PA04B_ADC_AIN2 (_UL_(1) << 4)
  116. #define PIN_PA05B_ADC_AIN3 _L_(5) /**< ADC signal: AIN3 on PA05 mux B*/
  117. #define MUX_PA05B_ADC_AIN3 _L_(1)
  118. #define PINMUX_PA05B_ADC_AIN3 ((PIN_PA05B_ADC_AIN3 << 16) | MUX_PA05B_ADC_AIN3)
  119. #define PORT_PA05B_ADC_AIN3 (_UL_(1) << 5)
  120. #define PIN_PA08B_ADC_AIN6 _L_(8) /**< ADC signal: AIN6 on PA08 mux B*/
  121. #define MUX_PA08B_ADC_AIN6 _L_(1)
  122. #define PINMUX_PA08B_ADC_AIN6 ((PIN_PA08B_ADC_AIN6 << 16) | MUX_PA08B_ADC_AIN6)
  123. #define PORT_PA08B_ADC_AIN6 (_UL_(1) << 8)
  124. #define PIN_PA04B_ADC_VREFP _L_(4) /**< ADC signal: VREFP on PA04 mux B*/
  125. #define MUX_PA04B_ADC_VREFP _L_(1)
  126. #define PINMUX_PA04B_ADC_VREFP ((PIN_PA04B_ADC_VREFP << 16) | MUX_PA04B_ADC_VREFP)
  127. #define PORT_PA04B_ADC_VREFP (_UL_(1) << 4)
  128. /* ========== PORT definition for CCL peripheral ========== */
  129. #define PIN_PA04I_CCL_IN0 _L_(4) /**< CCL signal: IN0 on PA04 mux I*/
  130. #define MUX_PA04I_CCL_IN0 _L_(8)
  131. #define PINMUX_PA04I_CCL_IN0 ((PIN_PA04I_CCL_IN0 << 16) | MUX_PA04I_CCL_IN0)
  132. #define PORT_PA04I_CCL_IN0 (_UL_(1) << 4)
  133. #define PIN_PA16I_CCL_IN0 _L_(16) /**< CCL signal: IN0 on PA16 mux I*/
  134. #define MUX_PA16I_CCL_IN0 _L_(8)
  135. #define PINMUX_PA16I_CCL_IN0 ((PIN_PA16I_CCL_IN0 << 16) | MUX_PA16I_CCL_IN0)
  136. #define PORT_PA16I_CCL_IN0 (_UL_(1) << 16)
  137. #define PIN_PA05I_CCL_IN1 _L_(5) /**< CCL signal: IN1 on PA05 mux I*/
  138. #define MUX_PA05I_CCL_IN1 _L_(8)
  139. #define PINMUX_PA05I_CCL_IN1 ((PIN_PA05I_CCL_IN1 << 16) | MUX_PA05I_CCL_IN1)
  140. #define PORT_PA05I_CCL_IN1 (_UL_(1) << 5)
  141. #define PIN_PA17I_CCL_IN1 _L_(17) /**< CCL signal: IN1 on PA17 mux I*/
  142. #define MUX_PA17I_CCL_IN1 _L_(8)
  143. #define PINMUX_PA17I_CCL_IN1 ((PIN_PA17I_CCL_IN1 << 16) | MUX_PA17I_CCL_IN1)
  144. #define PORT_PA17I_CCL_IN1 (_UL_(1) << 17)
  145. #define PIN_PA18I_CCL_IN2 _L_(18) /**< CCL signal: IN2 on PA18 mux I*/
  146. #define MUX_PA18I_CCL_IN2 _L_(8)
  147. #define PINMUX_PA18I_CCL_IN2 ((PIN_PA18I_CCL_IN2 << 16) | MUX_PA18I_CCL_IN2)
  148. #define PORT_PA18I_CCL_IN2 (_UL_(1) << 18)
  149. #define PIN_PA08I_CCL_IN3 _L_(8) /**< CCL signal: IN3 on PA08 mux I*/
  150. #define MUX_PA08I_CCL_IN3 _L_(8)
  151. #define PINMUX_PA08I_CCL_IN3 ((PIN_PA08I_CCL_IN3 << 16) | MUX_PA08I_CCL_IN3)
  152. #define PORT_PA08I_CCL_IN3 (_UL_(1) << 8)
  153. #define PIN_PA30I_CCL_IN3 _L_(30) /**< CCL signal: IN3 on PA30 mux I*/
  154. #define MUX_PA30I_CCL_IN3 _L_(8)
  155. #define PINMUX_PA30I_CCL_IN3 ((PIN_PA30I_CCL_IN3 << 16) | MUX_PA30I_CCL_IN3)
  156. #define PORT_PA30I_CCL_IN3 (_UL_(1) << 30)
  157. #define PIN_PA19I_CCL_OUT0 _L_(19) /**< CCL signal: OUT0 on PA19 mux I*/
  158. #define MUX_PA19I_CCL_OUT0 _L_(8)
  159. #define PINMUX_PA19I_CCL_OUT0 ((PIN_PA19I_CCL_OUT0 << 16) | MUX_PA19I_CCL_OUT0)
  160. #define PORT_PA19I_CCL_OUT0 (_UL_(1) << 19)
  161. #define PIN_PA31I_CCL_OUT1 _L_(31) /**< CCL signal: OUT1 on PA31 mux I*/
  162. #define MUX_PA31I_CCL_OUT1 _L_(8)
  163. #define PINMUX_PA31I_CCL_OUT1 ((PIN_PA31I_CCL_OUT1 << 16) | MUX_PA31I_CCL_OUT1)
  164. #define PORT_PA31I_CCL_OUT1 (_UL_(1) << 31)
  165. /* ========== PORT definition for DAC peripheral ========== */
  166. #define PIN_PA02B_DAC_VOUT _L_(2) /**< DAC signal: VOUT on PA02 mux B*/
  167. #define MUX_PA02B_DAC_VOUT _L_(1)
  168. #define PINMUX_PA02B_DAC_VOUT ((PIN_PA02B_DAC_VOUT << 16) | MUX_PA02B_DAC_VOUT)
  169. #define PORT_PA02B_DAC_VOUT (_UL_(1) << 2)
  170. #define PIN_PA03B_DAC_VREFP _L_(3) /**< DAC signal: VREFP on PA03 mux B*/
  171. #define MUX_PA03B_DAC_VREFP _L_(1)
  172. #define PINMUX_PA03B_DAC_VREFP ((PIN_PA03B_DAC_VREFP << 16) | MUX_PA03B_DAC_VREFP)
  173. #define PORT_PA03B_DAC_VREFP (_UL_(1) << 3)
  174. /* ========== PORT definition for EIC peripheral ========== */
  175. #define PIN_PA19A_EIC_EXTINT0 _L_(19) /**< EIC signal: EXTINT0 on PA19 mux A*/
  176. #define MUX_PA19A_EIC_EXTINT0 _L_(0)
  177. #define PINMUX_PA19A_EIC_EXTINT0 ((PIN_PA19A_EIC_EXTINT0 << 16) | MUX_PA19A_EIC_EXTINT0)
  178. #define PORT_PA19A_EIC_EXTINT0 (_UL_(1) << 19)
  179. #define PIN_PA19A_EIC_EXTINT_NUM _L_(0) /**< EIC signal: PIN_PA19 External Interrupt Line */
  180. #define PIN_PA00A_EIC_EXTINT0 _L_(0) /**< EIC signal: EXTINT0 on PA00 mux A*/
  181. #define MUX_PA00A_EIC_EXTINT0 _L_(0)
  182. #define PINMUX_PA00A_EIC_EXTINT0 ((PIN_PA00A_EIC_EXTINT0 << 16) | MUX_PA00A_EIC_EXTINT0)
  183. #define PORT_PA00A_EIC_EXTINT0 (_UL_(1) << 0)
  184. #define PIN_PA00A_EIC_EXTINT_NUM _L_(0) /**< EIC signal: PIN_PA00 External Interrupt Line */
  185. #define PIN_PA22A_EIC_EXTINT1 _L_(22) /**< EIC signal: EXTINT1 on PA22 mux A*/
  186. #define MUX_PA22A_EIC_EXTINT1 _L_(0)
  187. #define PINMUX_PA22A_EIC_EXTINT1 ((PIN_PA22A_EIC_EXTINT1 << 16) | MUX_PA22A_EIC_EXTINT1)
  188. #define PORT_PA22A_EIC_EXTINT1 (_UL_(1) << 22)
  189. #define PIN_PA22A_EIC_EXTINT_NUM _L_(1) /**< EIC signal: PIN_PA22 External Interrupt Line */
  190. #define PIN_PA01A_EIC_EXTINT1 _L_(1) /**< EIC signal: EXTINT1 on PA01 mux A*/
  191. #define MUX_PA01A_EIC_EXTINT1 _L_(0)
  192. #define PINMUX_PA01A_EIC_EXTINT1 ((PIN_PA01A_EIC_EXTINT1 << 16) | MUX_PA01A_EIC_EXTINT1)
  193. #define PORT_PA01A_EIC_EXTINT1 (_UL_(1) << 1)
  194. #define PIN_PA01A_EIC_EXTINT_NUM _L_(1) /**< EIC signal: PIN_PA01 External Interrupt Line */
  195. #define PIN_PA02A_EIC_EXTINT2 _L_(2) /**< EIC signal: EXTINT2 on PA02 mux A*/
  196. #define MUX_PA02A_EIC_EXTINT2 _L_(0)
  197. #define PINMUX_PA02A_EIC_EXTINT2 ((PIN_PA02A_EIC_EXTINT2 << 16) | MUX_PA02A_EIC_EXTINT2)
  198. #define PORT_PA02A_EIC_EXTINT2 (_UL_(1) << 2)
  199. #define PIN_PA02A_EIC_EXTINT_NUM _L_(2) /**< EIC signal: PIN_PA02 External Interrupt Line */
  200. #define PIN_PA23A_EIC_EXTINT2 _L_(23) /**< EIC signal: EXTINT2 on PA23 mux A*/
  201. #define MUX_PA23A_EIC_EXTINT2 _L_(0)
  202. #define PINMUX_PA23A_EIC_EXTINT2 ((PIN_PA23A_EIC_EXTINT2 << 16) | MUX_PA23A_EIC_EXTINT2)
  203. #define PORT_PA23A_EIC_EXTINT2 (_UL_(1) << 23)
  204. #define PIN_PA23A_EIC_EXTINT_NUM _L_(2) /**< EIC signal: PIN_PA23 External Interrupt Line */
  205. #define PIN_PA03A_EIC_EXTINT3 _L_(3) /**< EIC signal: EXTINT3 on PA03 mux A*/
  206. #define MUX_PA03A_EIC_EXTINT3 _L_(0)
  207. #define PINMUX_PA03A_EIC_EXTINT3 ((PIN_PA03A_EIC_EXTINT3 << 16) | MUX_PA03A_EIC_EXTINT3)
  208. #define PORT_PA03A_EIC_EXTINT3 (_UL_(1) << 3)
  209. #define PIN_PA03A_EIC_EXTINT_NUM _L_(3) /**< EIC signal: PIN_PA03 External Interrupt Line */
  210. #define PIN_PA14A_EIC_EXTINT3 _L_(14) /**< EIC signal: EXTINT3 on PA14 mux A*/
  211. #define MUX_PA14A_EIC_EXTINT3 _L_(0)
  212. #define PINMUX_PA14A_EIC_EXTINT3 ((PIN_PA14A_EIC_EXTINT3 << 16) | MUX_PA14A_EIC_EXTINT3)
  213. #define PORT_PA14A_EIC_EXTINT3 (_UL_(1) << 14)
  214. #define PIN_PA14A_EIC_EXTINT_NUM _L_(3) /**< EIC signal: PIN_PA14 External Interrupt Line */
  215. #define PIN_PA04A_EIC_EXTINT4 _L_(4) /**< EIC signal: EXTINT4 on PA04 mux A*/
  216. #define MUX_PA04A_EIC_EXTINT4 _L_(0)
  217. #define PINMUX_PA04A_EIC_EXTINT4 ((PIN_PA04A_EIC_EXTINT4 << 16) | MUX_PA04A_EIC_EXTINT4)
  218. #define PORT_PA04A_EIC_EXTINT4 (_UL_(1) << 4)
  219. #define PIN_PA04A_EIC_EXTINT_NUM _L_(4) /**< EIC signal: PIN_PA04 External Interrupt Line */
  220. #define PIN_PA15A_EIC_EXTINT4 _L_(15) /**< EIC signal: EXTINT4 on PA15 mux A*/
  221. #define MUX_PA15A_EIC_EXTINT4 _L_(0)
  222. #define PINMUX_PA15A_EIC_EXTINT4 ((PIN_PA15A_EIC_EXTINT4 << 16) | MUX_PA15A_EIC_EXTINT4)
  223. #define PORT_PA15A_EIC_EXTINT4 (_UL_(1) << 15)
  224. #define PIN_PA15A_EIC_EXTINT_NUM _L_(4) /**< EIC signal: PIN_PA15 External Interrupt Line */
  225. #define PIN_PA05A_EIC_EXTINT5 _L_(5) /**< EIC signal: EXTINT5 on PA05 mux A*/
  226. #define MUX_PA05A_EIC_EXTINT5 _L_(0)
  227. #define PINMUX_PA05A_EIC_EXTINT5 ((PIN_PA05A_EIC_EXTINT5 << 16) | MUX_PA05A_EIC_EXTINT5)
  228. #define PORT_PA05A_EIC_EXTINT5 (_UL_(1) << 5)
  229. #define PIN_PA05A_EIC_EXTINT_NUM _L_(5) /**< EIC signal: PIN_PA05 External Interrupt Line */
  230. #define PIN_PA16A_EIC_EXTINT5 _L_(16) /**< EIC signal: EXTINT5 on PA16 mux A*/
  231. #define MUX_PA16A_EIC_EXTINT5 _L_(0)
  232. #define PINMUX_PA16A_EIC_EXTINT5 ((PIN_PA16A_EIC_EXTINT5 << 16) | MUX_PA16A_EIC_EXTINT5)
  233. #define PORT_PA16A_EIC_EXTINT5 (_UL_(1) << 16)
  234. #define PIN_PA16A_EIC_EXTINT_NUM _L_(5) /**< EIC signal: PIN_PA16 External Interrupt Line */
  235. #define PIN_PA17A_EIC_EXTINT6 _L_(17) /**< EIC signal: EXTINT6 on PA17 mux A*/
  236. #define MUX_PA17A_EIC_EXTINT6 _L_(0)
  237. #define PINMUX_PA17A_EIC_EXTINT6 ((PIN_PA17A_EIC_EXTINT6 << 16) | MUX_PA17A_EIC_EXTINT6)
  238. #define PORT_PA17A_EIC_EXTINT6 (_UL_(1) << 17)
  239. #define PIN_PA17A_EIC_EXTINT_NUM _L_(6) /**< EIC signal: PIN_PA17 External Interrupt Line */
  240. #define PIN_PA30A_EIC_EXTINT6 _L_(30) /**< EIC signal: EXTINT6 on PA30 mux A*/
  241. #define MUX_PA30A_EIC_EXTINT6 _L_(0)
  242. #define PINMUX_PA30A_EIC_EXTINT6 ((PIN_PA30A_EIC_EXTINT6 << 16) | MUX_PA30A_EIC_EXTINT6)
  243. #define PORT_PA30A_EIC_EXTINT6 (_UL_(1) << 30)
  244. #define PIN_PA30A_EIC_EXTINT_NUM _L_(6) /**< EIC signal: PIN_PA30 External Interrupt Line */
  245. #define PIN_PA18A_EIC_EXTINT7 _L_(18) /**< EIC signal: EXTINT7 on PA18 mux A*/
  246. #define MUX_PA18A_EIC_EXTINT7 _L_(0)
  247. #define PINMUX_PA18A_EIC_EXTINT7 ((PIN_PA18A_EIC_EXTINT7 << 16) | MUX_PA18A_EIC_EXTINT7)
  248. #define PORT_PA18A_EIC_EXTINT7 (_UL_(1) << 18)
  249. #define PIN_PA18A_EIC_EXTINT_NUM _L_(7) /**< EIC signal: PIN_PA18 External Interrupt Line */
  250. #define PIN_PA31A_EIC_EXTINT7 _L_(31) /**< EIC signal: EXTINT7 on PA31 mux A*/
  251. #define MUX_PA31A_EIC_EXTINT7 _L_(0)
  252. #define PINMUX_PA31A_EIC_EXTINT7 ((PIN_PA31A_EIC_EXTINT7 << 16) | MUX_PA31A_EIC_EXTINT7)
  253. #define PORT_PA31A_EIC_EXTINT7 (_UL_(1) << 31)
  254. #define PIN_PA31A_EIC_EXTINT_NUM _L_(7) /**< EIC signal: PIN_PA31 External Interrupt Line */
  255. #define PIN_PA08A_EIC_NMI _L_(8) /**< EIC signal: NMI on PA08 mux A*/
  256. #define MUX_PA08A_EIC_NMI _L_(0)
  257. #define PINMUX_PA08A_EIC_NMI ((PIN_PA08A_EIC_NMI << 16) | MUX_PA08A_EIC_NMI)
  258. #define PORT_PA08A_EIC_NMI (_UL_(1) << 8)
  259. /* ========== PORT definition for GCLK peripheral ========== */
  260. #define PIN_PA30H_GCLK_IO0 _L_(30) /**< GCLK signal: IO0 on PA30 mux H*/
  261. #define MUX_PA30H_GCLK_IO0 _L_(7)
  262. #define PINMUX_PA30H_GCLK_IO0 ((PIN_PA30H_GCLK_IO0 << 16) | MUX_PA30H_GCLK_IO0)
  263. #define PORT_PA30H_GCLK_IO0 (_UL_(1) << 30)
  264. #define PIN_PA14H_GCLK_IO0 _L_(14) /**< GCLK signal: IO0 on PA14 mux H*/
  265. #define MUX_PA14H_GCLK_IO0 _L_(7)
  266. #define PINMUX_PA14H_GCLK_IO0 ((PIN_PA14H_GCLK_IO0 << 16) | MUX_PA14H_GCLK_IO0)
  267. #define PORT_PA14H_GCLK_IO0 (_UL_(1) << 14)
  268. #define PIN_PA23H_GCLK_IO1 _L_(23) /**< GCLK signal: IO1 on PA23 mux H*/
  269. #define MUX_PA23H_GCLK_IO1 _L_(7)
  270. #define PINMUX_PA23H_GCLK_IO1 ((PIN_PA23H_GCLK_IO1 << 16) | MUX_PA23H_GCLK_IO1)
  271. #define PORT_PA23H_GCLK_IO1 (_UL_(1) << 23)
  272. #define PIN_PA15H_GCLK_IO1 _L_(15) /**< GCLK signal: IO1 on PA15 mux H*/
  273. #define MUX_PA15H_GCLK_IO1 _L_(7)
  274. #define PINMUX_PA15H_GCLK_IO1 ((PIN_PA15H_GCLK_IO1 << 16) | MUX_PA15H_GCLK_IO1)
  275. #define PORT_PA15H_GCLK_IO1 (_UL_(1) << 15)
  276. #define PIN_PA16H_GCLK_IO2 _L_(16) /**< GCLK signal: IO2 on PA16 mux H*/
  277. #define MUX_PA16H_GCLK_IO2 _L_(7)
  278. #define PINMUX_PA16H_GCLK_IO2 ((PIN_PA16H_GCLK_IO2 << 16) | MUX_PA16H_GCLK_IO2)
  279. #define PORT_PA16H_GCLK_IO2 (_UL_(1) << 16)
  280. #define PIN_PA22H_GCLK_IO2 _L_(22) /**< GCLK signal: IO2 on PA22 mux H*/
  281. #define MUX_PA22H_GCLK_IO2 _L_(7)
  282. #define PINMUX_PA22H_GCLK_IO2 ((PIN_PA22H_GCLK_IO2 << 16) | MUX_PA22H_GCLK_IO2)
  283. #define PORT_PA22H_GCLK_IO2 (_UL_(1) << 22)
  284. #define PIN_PA17H_GCLK_IO3 _L_(17) /**< GCLK signal: IO3 on PA17 mux H*/
  285. #define MUX_PA17H_GCLK_IO3 _L_(7)
  286. #define PINMUX_PA17H_GCLK_IO3 ((PIN_PA17H_GCLK_IO3 << 16) | MUX_PA17H_GCLK_IO3)
  287. #define PORT_PA17H_GCLK_IO3 (_UL_(1) << 17)
  288. /* ========== PORT definition for OPAMP peripheral ========== */
  289. #define PIN_PA02B_OPAMP_OANEG0 _L_(2) /**< OPAMP signal: OANEG0 on PA02 mux B*/
  290. #define MUX_PA02B_OPAMP_OANEG0 _L_(1)
  291. #define PINMUX_PA02B_OPAMP_OANEG0 ((PIN_PA02B_OPAMP_OANEG0 << 16) | MUX_PA02B_OPAMP_OANEG0)
  292. #define PORT_PA02B_OPAMP_OANEG0 (_UL_(1) << 2)
  293. #define PIN_PA00B_OPAMP_OANEG1 _L_(0) /**< OPAMP signal: OANEG1 on PA00 mux B*/
  294. #define MUX_PA00B_OPAMP_OANEG1 _L_(1)
  295. #define PINMUX_PA00B_OPAMP_OANEG1 ((PIN_PA00B_OPAMP_OANEG1 << 16) | MUX_PA00B_OPAMP_OANEG1)
  296. #define PORT_PA00B_OPAMP_OANEG1 (_UL_(1) << 0)
  297. #define PIN_PA03B_OPAMP_OANEG2 _L_(3) /**< OPAMP signal: OANEG2 on PA03 mux B*/
  298. #define MUX_PA03B_OPAMP_OANEG2 _L_(1)
  299. #define PINMUX_PA03B_OPAMP_OANEG2 ((PIN_PA03B_OPAMP_OANEG2 << 16) | MUX_PA03B_OPAMP_OANEG2)
  300. #define PORT_PA03B_OPAMP_OANEG2 (_UL_(1) << 3)
  301. #define PIN_PA04B_OPAMP_OAOUT2 _L_(4) /**< OPAMP signal: OAOUT2 on PA04 mux B*/
  302. #define MUX_PA04B_OPAMP_OAOUT2 _L_(1)
  303. #define PINMUX_PA04B_OPAMP_OAOUT2 ((PIN_PA04B_OPAMP_OAOUT2 << 16) | MUX_PA04B_OPAMP_OAOUT2)
  304. #define PORT_PA04B_OPAMP_OAOUT2 (_UL_(1) << 4)
  305. #define PIN_PA01B_OPAMP_OAPOS1 _L_(1) /**< OPAMP signal: OAPOS1 on PA01 mux B*/
  306. #define MUX_PA01B_OPAMP_OAPOS1 _L_(1)
  307. #define PINMUX_PA01B_OPAMP_OAPOS1 ((PIN_PA01B_OPAMP_OAPOS1 << 16) | MUX_PA01B_OPAMP_OAPOS1)
  308. #define PORT_PA01B_OPAMP_OAPOS1 (_UL_(1) << 1)
  309. #define PIN_PA05B_OPAMP_OAPOS2 _L_(5) /**< OPAMP signal: OAPOS2 on PA05 mux B*/
  310. #define MUX_PA05B_OPAMP_OAPOS2 _L_(1)
  311. #define PINMUX_PA05B_OPAMP_OAPOS2 ((PIN_PA05B_OPAMP_OAPOS2 << 16) | MUX_PA05B_OPAMP_OAPOS2)
  312. #define PORT_PA05B_OPAMP_OAPOS2 (_UL_(1) << 5)
  313. /* ========== PORT definition for PTC peripheral ========== */
  314. #define PIN_PA00F_PTC_DRV0 _L_(0) /**< PTC signal: DRV0 on PA00 mux F*/
  315. #define MUX_PA00F_PTC_DRV0 _L_(5)
  316. #define PINMUX_PA00F_PTC_DRV0 ((PIN_PA00F_PTC_DRV0 << 16) | MUX_PA00F_PTC_DRV0)
  317. #define PORT_PA00F_PTC_DRV0 (_UL_(1) << 0)
  318. #define PIN_PA01F_PTC_DRV1 _L_(1) /**< PTC signal: DRV1 on PA01 mux F*/
  319. #define MUX_PA01F_PTC_DRV1 _L_(5)
  320. #define PINMUX_PA01F_PTC_DRV1 ((PIN_PA01F_PTC_DRV1 << 16) | MUX_PA01F_PTC_DRV1)
  321. #define PORT_PA01F_PTC_DRV1 (_UL_(1) << 1)
  322. #define PIN_PA02F_PTC_DRV2 _L_(2) /**< PTC signal: DRV2 on PA02 mux F*/
  323. #define MUX_PA02F_PTC_DRV2 _L_(5)
  324. #define PINMUX_PA02F_PTC_DRV2 ((PIN_PA02F_PTC_DRV2 << 16) | MUX_PA02F_PTC_DRV2)
  325. #define PORT_PA02F_PTC_DRV2 (_UL_(1) << 2)
  326. #define PIN_PA03F_PTC_DRV3 _L_(3) /**< PTC signal: DRV3 on PA03 mux F*/
  327. #define MUX_PA03F_PTC_DRV3 _L_(5)
  328. #define PINMUX_PA03F_PTC_DRV3 ((PIN_PA03F_PTC_DRV3 << 16) | MUX_PA03F_PTC_DRV3)
  329. #define PORT_PA03F_PTC_DRV3 (_UL_(1) << 3)
  330. #define PIN_PA05F_PTC_DRV4 _L_(5) /**< PTC signal: DRV4 on PA05 mux F*/
  331. #define MUX_PA05F_PTC_DRV4 _L_(5)
  332. #define PINMUX_PA05F_PTC_DRV4 ((PIN_PA05F_PTC_DRV4 << 16) | MUX_PA05F_PTC_DRV4)
  333. #define PORT_PA05F_PTC_DRV4 (_UL_(1) << 5)
  334. #define PIN_PA08F_PTC_DRV6 _L_(8) /**< PTC signal: DRV6 on PA08 mux F*/
  335. #define MUX_PA08F_PTC_DRV6 _L_(5)
  336. #define PINMUX_PA08F_PTC_DRV6 ((PIN_PA08F_PTC_DRV6 << 16) | MUX_PA08F_PTC_DRV6)
  337. #define PORT_PA08F_PTC_DRV6 (_UL_(1) << 8)
  338. #define PIN_PA14F_PTC_DRV10 _L_(14) /**< PTC signal: DRV10 on PA14 mux F*/
  339. #define MUX_PA14F_PTC_DRV10 _L_(5)
  340. #define PINMUX_PA14F_PTC_DRV10 ((PIN_PA14F_PTC_DRV10 << 16) | MUX_PA14F_PTC_DRV10)
  341. #define PORT_PA14F_PTC_DRV10 (_UL_(1) << 14)
  342. #define PIN_PA15F_PTC_DRV11 _L_(15) /**< PTC signal: DRV11 on PA15 mux F*/
  343. #define MUX_PA15F_PTC_DRV11 _L_(5)
  344. #define PINMUX_PA15F_PTC_DRV11 ((PIN_PA15F_PTC_DRV11 << 16) | MUX_PA15F_PTC_DRV11)
  345. #define PORT_PA15F_PTC_DRV11 (_UL_(1) << 15)
  346. #define PIN_PA16F_PTC_DRV12 _L_(16) /**< PTC signal: DRV12 on PA16 mux F*/
  347. #define MUX_PA16F_PTC_DRV12 _L_(5)
  348. #define PINMUX_PA16F_PTC_DRV12 ((PIN_PA16F_PTC_DRV12 << 16) | MUX_PA16F_PTC_DRV12)
  349. #define PORT_PA16F_PTC_DRV12 (_UL_(1) << 16)
  350. #define PIN_PA17F_PTC_DRV13 _L_(17) /**< PTC signal: DRV13 on PA17 mux F*/
  351. #define MUX_PA17F_PTC_DRV13 _L_(5)
  352. #define PINMUX_PA17F_PTC_DRV13 ((PIN_PA17F_PTC_DRV13 << 16) | MUX_PA17F_PTC_DRV13)
  353. #define PORT_PA17F_PTC_DRV13 (_UL_(1) << 17)
  354. #define PIN_PA18F_PTC_DRV14 _L_(18) /**< PTC signal: DRV14 on PA18 mux F*/
  355. #define MUX_PA18F_PTC_DRV14 _L_(5)
  356. #define PINMUX_PA18F_PTC_DRV14 ((PIN_PA18F_PTC_DRV14 << 16) | MUX_PA18F_PTC_DRV14)
  357. #define PORT_PA18F_PTC_DRV14 (_UL_(1) << 18)
  358. #define PIN_PA19F_PTC_DRV15 _L_(19) /**< PTC signal: DRV15 on PA19 mux F*/
  359. #define MUX_PA19F_PTC_DRV15 _L_(5)
  360. #define PINMUX_PA19F_PTC_DRV15 ((PIN_PA19F_PTC_DRV15 << 16) | MUX_PA19F_PTC_DRV15)
  361. #define PORT_PA19F_PTC_DRV15 (_UL_(1) << 19)
  362. #define PIN_PA22F_PTC_DRV16 _L_(22) /**< PTC signal: DRV16 on PA22 mux F*/
  363. #define MUX_PA22F_PTC_DRV16 _L_(5)
  364. #define PINMUX_PA22F_PTC_DRV16 ((PIN_PA22F_PTC_DRV16 << 16) | MUX_PA22F_PTC_DRV16)
  365. #define PORT_PA22F_PTC_DRV16 (_UL_(1) << 22)
  366. #define PIN_PA23F_PTC_DRV17 _L_(23) /**< PTC signal: DRV17 on PA23 mux F*/
  367. #define MUX_PA23F_PTC_DRV17 _L_(5)
  368. #define PINMUX_PA23F_PTC_DRV17 ((PIN_PA23F_PTC_DRV17 << 16) | MUX_PA23F_PTC_DRV17)
  369. #define PORT_PA23F_PTC_DRV17 (_UL_(1) << 23)
  370. #define PIN_PA30F_PTC_DRV18 _L_(30) /**< PTC signal: DRV18 on PA30 mux F*/
  371. #define MUX_PA30F_PTC_DRV18 _L_(5)
  372. #define PINMUX_PA30F_PTC_DRV18 ((PIN_PA30F_PTC_DRV18 << 16) | MUX_PA30F_PTC_DRV18)
  373. #define PORT_PA30F_PTC_DRV18 (_UL_(1) << 30)
  374. #define PIN_PA31F_PTC_DRV19 _L_(31) /**< PTC signal: DRV19 on PA31 mux F*/
  375. #define MUX_PA31F_PTC_DRV19 _L_(5)
  376. #define PINMUX_PA31F_PTC_DRV19 ((PIN_PA31F_PTC_DRV19 << 16) | MUX_PA31F_PTC_DRV19)
  377. #define PORT_PA31F_PTC_DRV19 (_UL_(1) << 31)
  378. #define PIN_PA03B_PTC_ECI0 _L_(3) /**< PTC signal: ECI0 on PA03 mux B*/
  379. #define MUX_PA03B_PTC_ECI0 _L_(1)
  380. #define PINMUX_PA03B_PTC_ECI0 ((PIN_PA03B_PTC_ECI0 << 16) | MUX_PA03B_PTC_ECI0)
  381. #define PORT_PA03B_PTC_ECI0 (_UL_(1) << 3)
  382. #define PIN_PA04B_PTC_ECI1 _L_(4) /**< PTC signal: ECI1 on PA04 mux B*/
  383. #define MUX_PA04B_PTC_ECI1 _L_(1)
  384. #define PINMUX_PA04B_PTC_ECI1 ((PIN_PA04B_PTC_ECI1 << 16) | MUX_PA04B_PTC_ECI1)
  385. #define PORT_PA04B_PTC_ECI1 (_UL_(1) << 4)
  386. #define PIN_PA05B_PTC_ECI2 _L_(5) /**< PTC signal: ECI2 on PA05 mux B*/
  387. #define MUX_PA05B_PTC_ECI2 _L_(1)
  388. #define PINMUX_PA05B_PTC_ECI2 ((PIN_PA05B_PTC_ECI2 << 16) | MUX_PA05B_PTC_ECI2)
  389. #define PORT_PA05B_PTC_ECI2 (_UL_(1) << 5)
  390. #define PIN_PA00B_PTC_X0 _L_(0) /**< PTC signal: X0 on PA00 mux B*/
  391. #define MUX_PA00B_PTC_X0 _L_(1)
  392. #define PINMUX_PA00B_PTC_X0 ((PIN_PA00B_PTC_X0 << 16) | MUX_PA00B_PTC_X0)
  393. #define PORT_PA00B_PTC_X0 (_UL_(1) << 0)
  394. #define PIN_PA00B_PTC_Y0 _L_(0) /**< PTC signal: Y0 on PA00 mux B*/
  395. #define MUX_PA00B_PTC_Y0 _L_(1)
  396. #define PINMUX_PA00B_PTC_Y0 ((PIN_PA00B_PTC_Y0 << 16) | MUX_PA00B_PTC_Y0)
  397. #define PORT_PA00B_PTC_Y0 (_UL_(1) << 0)
  398. #define PIN_PA01B_PTC_X1 _L_(1) /**< PTC signal: X1 on PA01 mux B*/
  399. #define MUX_PA01B_PTC_X1 _L_(1)
  400. #define PINMUX_PA01B_PTC_X1 ((PIN_PA01B_PTC_X1 << 16) | MUX_PA01B_PTC_X1)
  401. #define PORT_PA01B_PTC_X1 (_UL_(1) << 1)
  402. #define PIN_PA01B_PTC_Y1 _L_(1) /**< PTC signal: Y1 on PA01 mux B*/
  403. #define MUX_PA01B_PTC_Y1 _L_(1)
  404. #define PINMUX_PA01B_PTC_Y1 ((PIN_PA01B_PTC_Y1 << 16) | MUX_PA01B_PTC_Y1)
  405. #define PORT_PA01B_PTC_Y1 (_UL_(1) << 1)
  406. #define PIN_PA02B_PTC_X2 _L_(2) /**< PTC signal: X2 on PA02 mux B*/
  407. #define MUX_PA02B_PTC_X2 _L_(1)
  408. #define PINMUX_PA02B_PTC_X2 ((PIN_PA02B_PTC_X2 << 16) | MUX_PA02B_PTC_X2)
  409. #define PORT_PA02B_PTC_X2 (_UL_(1) << 2)
  410. #define PIN_PA02B_PTC_Y2 _L_(2) /**< PTC signal: Y2 on PA02 mux B*/
  411. #define MUX_PA02B_PTC_Y2 _L_(1)
  412. #define PINMUX_PA02B_PTC_Y2 ((PIN_PA02B_PTC_Y2 << 16) | MUX_PA02B_PTC_Y2)
  413. #define PORT_PA02B_PTC_Y2 (_UL_(1) << 2)
  414. #define PIN_PA03B_PTC_X3 _L_(3) /**< PTC signal: X3 on PA03 mux B*/
  415. #define MUX_PA03B_PTC_X3 _L_(1)
  416. #define PINMUX_PA03B_PTC_X3 ((PIN_PA03B_PTC_X3 << 16) | MUX_PA03B_PTC_X3)
  417. #define PORT_PA03B_PTC_X3 (_UL_(1) << 3)
  418. #define PIN_PA03B_PTC_Y3 _L_(3) /**< PTC signal: Y3 on PA03 mux B*/
  419. #define MUX_PA03B_PTC_Y3 _L_(1)
  420. #define PINMUX_PA03B_PTC_Y3 ((PIN_PA03B_PTC_Y3 << 16) | MUX_PA03B_PTC_Y3)
  421. #define PORT_PA03B_PTC_Y3 (_UL_(1) << 3)
  422. #define PIN_PA05B_PTC_X4 _L_(5) /**< PTC signal: X4 on PA05 mux B*/
  423. #define MUX_PA05B_PTC_X4 _L_(1)
  424. #define PINMUX_PA05B_PTC_X4 ((PIN_PA05B_PTC_X4 << 16) | MUX_PA05B_PTC_X4)
  425. #define PORT_PA05B_PTC_X4 (_UL_(1) << 5)
  426. #define PIN_PA05B_PTC_Y4 _L_(5) /**< PTC signal: Y4 on PA05 mux B*/
  427. #define MUX_PA05B_PTC_Y4 _L_(1)
  428. #define PINMUX_PA05B_PTC_Y4 ((PIN_PA05B_PTC_Y4 << 16) | MUX_PA05B_PTC_Y4)
  429. #define PORT_PA05B_PTC_Y4 (_UL_(1) << 5)
  430. #define PIN_PA08B_PTC_X6 _L_(8) /**< PTC signal: X6 on PA08 mux B*/
  431. #define MUX_PA08B_PTC_X6 _L_(1)
  432. #define PINMUX_PA08B_PTC_X6 ((PIN_PA08B_PTC_X6 << 16) | MUX_PA08B_PTC_X6)
  433. #define PORT_PA08B_PTC_X6 (_UL_(1) << 8)
  434. #define PIN_PA08B_PTC_Y6 _L_(8) /**< PTC signal: Y6 on PA08 mux B*/
  435. #define MUX_PA08B_PTC_Y6 _L_(1)
  436. #define PINMUX_PA08B_PTC_Y6 ((PIN_PA08B_PTC_Y6 << 16) | MUX_PA08B_PTC_Y6)
  437. #define PORT_PA08B_PTC_Y6 (_UL_(1) << 8)
  438. #define PIN_PA14B_PTC_X10 _L_(14) /**< PTC signal: X10 on PA14 mux B*/
  439. #define MUX_PA14B_PTC_X10 _L_(1)
  440. #define PINMUX_PA14B_PTC_X10 ((PIN_PA14B_PTC_X10 << 16) | MUX_PA14B_PTC_X10)
  441. #define PORT_PA14B_PTC_X10 (_UL_(1) << 14)
  442. #define PIN_PA14B_PTC_Y10 _L_(14) /**< PTC signal: Y10 on PA14 mux B*/
  443. #define MUX_PA14B_PTC_Y10 _L_(1)
  444. #define PINMUX_PA14B_PTC_Y10 ((PIN_PA14B_PTC_Y10 << 16) | MUX_PA14B_PTC_Y10)
  445. #define PORT_PA14B_PTC_Y10 (_UL_(1) << 14)
  446. #define PIN_PA15B_PTC_X11 _L_(15) /**< PTC signal: X11 on PA15 mux B*/
  447. #define MUX_PA15B_PTC_X11 _L_(1)
  448. #define PINMUX_PA15B_PTC_X11 ((PIN_PA15B_PTC_X11 << 16) | MUX_PA15B_PTC_X11)
  449. #define PORT_PA15B_PTC_X11 (_UL_(1) << 15)
  450. #define PIN_PA15B_PTC_Y11 _L_(15) /**< PTC signal: Y11 on PA15 mux B*/
  451. #define MUX_PA15B_PTC_Y11 _L_(1)
  452. #define PINMUX_PA15B_PTC_Y11 ((PIN_PA15B_PTC_Y11 << 16) | MUX_PA15B_PTC_Y11)
  453. #define PORT_PA15B_PTC_Y11 (_UL_(1) << 15)
  454. #define PIN_PA16B_PTC_X12 _L_(16) /**< PTC signal: X12 on PA16 mux B*/
  455. #define MUX_PA16B_PTC_X12 _L_(1)
  456. #define PINMUX_PA16B_PTC_X12 ((PIN_PA16B_PTC_X12 << 16) | MUX_PA16B_PTC_X12)
  457. #define PORT_PA16B_PTC_X12 (_UL_(1) << 16)
  458. #define PIN_PA16B_PTC_Y12 _L_(16) /**< PTC signal: Y12 on PA16 mux B*/
  459. #define MUX_PA16B_PTC_Y12 _L_(1)
  460. #define PINMUX_PA16B_PTC_Y12 ((PIN_PA16B_PTC_Y12 << 16) | MUX_PA16B_PTC_Y12)
  461. #define PORT_PA16B_PTC_Y12 (_UL_(1) << 16)
  462. #define PIN_PA17B_PTC_X13 _L_(17) /**< PTC signal: X13 on PA17 mux B*/
  463. #define MUX_PA17B_PTC_X13 _L_(1)
  464. #define PINMUX_PA17B_PTC_X13 ((PIN_PA17B_PTC_X13 << 16) | MUX_PA17B_PTC_X13)
  465. #define PORT_PA17B_PTC_X13 (_UL_(1) << 17)
  466. #define PIN_PA17B_PTC_Y13 _L_(17) /**< PTC signal: Y13 on PA17 mux B*/
  467. #define MUX_PA17B_PTC_Y13 _L_(1)
  468. #define PINMUX_PA17B_PTC_Y13 ((PIN_PA17B_PTC_Y13 << 16) | MUX_PA17B_PTC_Y13)
  469. #define PORT_PA17B_PTC_Y13 (_UL_(1) << 17)
  470. #define PIN_PA18B_PTC_X14 _L_(18) /**< PTC signal: X14 on PA18 mux B*/
  471. #define MUX_PA18B_PTC_X14 _L_(1)
  472. #define PINMUX_PA18B_PTC_X14 ((PIN_PA18B_PTC_X14 << 16) | MUX_PA18B_PTC_X14)
  473. #define PORT_PA18B_PTC_X14 (_UL_(1) << 18)
  474. #define PIN_PA18B_PTC_Y14 _L_(18) /**< PTC signal: Y14 on PA18 mux B*/
  475. #define MUX_PA18B_PTC_Y14 _L_(1)
  476. #define PINMUX_PA18B_PTC_Y14 ((PIN_PA18B_PTC_Y14 << 16) | MUX_PA18B_PTC_Y14)
  477. #define PORT_PA18B_PTC_Y14 (_UL_(1) << 18)
  478. #define PIN_PA19B_PTC_X15 _L_(19) /**< PTC signal: X15 on PA19 mux B*/
  479. #define MUX_PA19B_PTC_X15 _L_(1)
  480. #define PINMUX_PA19B_PTC_X15 ((PIN_PA19B_PTC_X15 << 16) | MUX_PA19B_PTC_X15)
  481. #define PORT_PA19B_PTC_X15 (_UL_(1) << 19)
  482. #define PIN_PA19B_PTC_Y15 _L_(19) /**< PTC signal: Y15 on PA19 mux B*/
  483. #define MUX_PA19B_PTC_Y15 _L_(1)
  484. #define PINMUX_PA19B_PTC_Y15 ((PIN_PA19B_PTC_Y15 << 16) | MUX_PA19B_PTC_Y15)
  485. #define PORT_PA19B_PTC_Y15 (_UL_(1) << 19)
  486. #define PIN_PA22B_PTC_X16 _L_(22) /**< PTC signal: X16 on PA22 mux B*/
  487. #define MUX_PA22B_PTC_X16 _L_(1)
  488. #define PINMUX_PA22B_PTC_X16 ((PIN_PA22B_PTC_X16 << 16) | MUX_PA22B_PTC_X16)
  489. #define PORT_PA22B_PTC_X16 (_UL_(1) << 22)
  490. #define PIN_PA22B_PTC_Y16 _L_(22) /**< PTC signal: Y16 on PA22 mux B*/
  491. #define MUX_PA22B_PTC_Y16 _L_(1)
  492. #define PINMUX_PA22B_PTC_Y16 ((PIN_PA22B_PTC_Y16 << 16) | MUX_PA22B_PTC_Y16)
  493. #define PORT_PA22B_PTC_Y16 (_UL_(1) << 22)
  494. #define PIN_PA23B_PTC_X17 _L_(23) /**< PTC signal: X17 on PA23 mux B*/
  495. #define MUX_PA23B_PTC_X17 _L_(1)
  496. #define PINMUX_PA23B_PTC_X17 ((PIN_PA23B_PTC_X17 << 16) | MUX_PA23B_PTC_X17)
  497. #define PORT_PA23B_PTC_X17 (_UL_(1) << 23)
  498. #define PIN_PA23B_PTC_Y17 _L_(23) /**< PTC signal: Y17 on PA23 mux B*/
  499. #define MUX_PA23B_PTC_Y17 _L_(1)
  500. #define PINMUX_PA23B_PTC_Y17 ((PIN_PA23B_PTC_Y17 << 16) | MUX_PA23B_PTC_Y17)
  501. #define PORT_PA23B_PTC_Y17 (_UL_(1) << 23)
  502. #define PIN_PA30B_PTC_X18 _L_(30) /**< PTC signal: X18 on PA30 mux B*/
  503. #define MUX_PA30B_PTC_X18 _L_(1)
  504. #define PINMUX_PA30B_PTC_X18 ((PIN_PA30B_PTC_X18 << 16) | MUX_PA30B_PTC_X18)
  505. #define PORT_PA30B_PTC_X18 (_UL_(1) << 30)
  506. #define PIN_PA30B_PTC_Y18 _L_(30) /**< PTC signal: Y18 on PA30 mux B*/
  507. #define MUX_PA30B_PTC_Y18 _L_(1)
  508. #define PINMUX_PA30B_PTC_Y18 ((PIN_PA30B_PTC_Y18 << 16) | MUX_PA30B_PTC_Y18)
  509. #define PORT_PA30B_PTC_Y18 (_UL_(1) << 30)
  510. #define PIN_PA31B_PTC_X19 _L_(31) /**< PTC signal: X19 on PA31 mux B*/
  511. #define MUX_PA31B_PTC_X19 _L_(1)
  512. #define PINMUX_PA31B_PTC_X19 ((PIN_PA31B_PTC_X19 << 16) | MUX_PA31B_PTC_X19)
  513. #define PORT_PA31B_PTC_X19 (_UL_(1) << 31)
  514. #define PIN_PA31B_PTC_Y19 _L_(31) /**< PTC signal: Y19 on PA31 mux B*/
  515. #define MUX_PA31B_PTC_Y19 _L_(1)
  516. #define PINMUX_PA31B_PTC_Y19 ((PIN_PA31B_PTC_Y19 << 16) | MUX_PA31B_PTC_Y19)
  517. #define PORT_PA31B_PTC_Y19 (_UL_(1) << 31)
  518. /* ========== PORT definition for RTC peripheral ========== */
  519. #define PIN_PA08G_RTC_IN0 _L_(8) /**< RTC signal: IN0 on PA08 mux G*/
  520. #define MUX_PA08G_RTC_IN0 _L_(6)
  521. #define PINMUX_PA08G_RTC_IN0 ((PIN_PA08G_RTC_IN0 << 16) | MUX_PA08G_RTC_IN0)
  522. #define PORT_PA08G_RTC_IN0 (_UL_(1) << 8)
  523. #define PIN_PA16G_RTC_IN2 _L_(16) /**< RTC signal: IN2 on PA16 mux G*/
  524. #define MUX_PA16G_RTC_IN2 _L_(6)
  525. #define PINMUX_PA16G_RTC_IN2 ((PIN_PA16G_RTC_IN2 << 16) | MUX_PA16G_RTC_IN2)
  526. #define PORT_PA16G_RTC_IN2 (_UL_(1) << 16)
  527. #define PIN_PA17G_RTC_IN3 _L_(17) /**< RTC signal: IN3 on PA17 mux G*/
  528. #define MUX_PA17G_RTC_IN3 _L_(6)
  529. #define PINMUX_PA17G_RTC_IN3 ((PIN_PA17G_RTC_IN3 << 16) | MUX_PA17G_RTC_IN3)
  530. #define PORT_PA17G_RTC_IN3 (_UL_(1) << 17)
  531. #define PIN_PA18G_RTC_OUT0 _L_(18) /**< RTC signal: OUT0 on PA18 mux G*/
  532. #define MUX_PA18G_RTC_OUT0 _L_(6)
  533. #define PINMUX_PA18G_RTC_OUT0 ((PIN_PA18G_RTC_OUT0 << 16) | MUX_PA18G_RTC_OUT0)
  534. #define PORT_PA18G_RTC_OUT0 (_UL_(1) << 18)
  535. #define PIN_PA19G_RTC_OUT1 _L_(19) /**< RTC signal: OUT1 on PA19 mux G*/
  536. #define MUX_PA19G_RTC_OUT1 _L_(6)
  537. #define PINMUX_PA19G_RTC_OUT1 ((PIN_PA19G_RTC_OUT1 << 16) | MUX_PA19G_RTC_OUT1)
  538. #define PORT_PA19G_RTC_OUT1 (_UL_(1) << 19)
  539. #define PIN_PA22G_RTC_OUT2 _L_(22) /**< RTC signal: OUT2 on PA22 mux G*/
  540. #define MUX_PA22G_RTC_OUT2 _L_(6)
  541. #define PINMUX_PA22G_RTC_OUT2 ((PIN_PA22G_RTC_OUT2 << 16) | MUX_PA22G_RTC_OUT2)
  542. #define PORT_PA22G_RTC_OUT2 (_UL_(1) << 22)
  543. #define PIN_PA23G_RTC_OUT3 _L_(23) /**< RTC signal: OUT3 on PA23 mux G*/
  544. #define MUX_PA23G_RTC_OUT3 _L_(6)
  545. #define PINMUX_PA23G_RTC_OUT3 ((PIN_PA23G_RTC_OUT3 << 16) | MUX_PA23G_RTC_OUT3)
  546. #define PORT_PA23G_RTC_OUT3 (_UL_(1) << 23)
  547. /* ========== PORT definition for SERCOM0 peripheral ========== */
  548. #define PIN_PA04D_SERCOM0_PAD0 _L_(4) /**< SERCOM0 signal: PAD0 on PA04 mux D*/
  549. #define MUX_PA04D_SERCOM0_PAD0 _L_(3)
  550. #define PINMUX_PA04D_SERCOM0_PAD0 ((PIN_PA04D_SERCOM0_PAD0 << 16) | MUX_PA04D_SERCOM0_PAD0)
  551. #define PORT_PA04D_SERCOM0_PAD0 (_UL_(1) << 4)
  552. #define PIN_PA16D_SERCOM0_PAD0 _L_(16) /**< SERCOM0 signal: PAD0 on PA16 mux D*/
  553. #define MUX_PA16D_SERCOM0_PAD0 _L_(3)
  554. #define PINMUX_PA16D_SERCOM0_PAD0 ((PIN_PA16D_SERCOM0_PAD0 << 16) | MUX_PA16D_SERCOM0_PAD0)
  555. #define PORT_PA16D_SERCOM0_PAD0 (_UL_(1) << 16)
  556. #define PIN_PA22C_SERCOM0_PAD0 _L_(22) /**< SERCOM0 signal: PAD0 on PA22 mux C*/
  557. #define MUX_PA22C_SERCOM0_PAD0 _L_(2)
  558. #define PINMUX_PA22C_SERCOM0_PAD0 ((PIN_PA22C_SERCOM0_PAD0 << 16) | MUX_PA22C_SERCOM0_PAD0)
  559. #define PORT_PA22C_SERCOM0_PAD0 (_UL_(1) << 22)
  560. #define PIN_PA05D_SERCOM0_PAD1 _L_(5) /**< SERCOM0 signal: PAD1 on PA05 mux D*/
  561. #define MUX_PA05D_SERCOM0_PAD1 _L_(3)
  562. #define PINMUX_PA05D_SERCOM0_PAD1 ((PIN_PA05D_SERCOM0_PAD1 << 16) | MUX_PA05D_SERCOM0_PAD1)
  563. #define PORT_PA05D_SERCOM0_PAD1 (_UL_(1) << 5)
  564. #define PIN_PA17D_SERCOM0_PAD1 _L_(17) /**< SERCOM0 signal: PAD1 on PA17 mux D*/
  565. #define MUX_PA17D_SERCOM0_PAD1 _L_(3)
  566. #define PINMUX_PA17D_SERCOM0_PAD1 ((PIN_PA17D_SERCOM0_PAD1 << 16) | MUX_PA17D_SERCOM0_PAD1)
  567. #define PORT_PA17D_SERCOM0_PAD1 (_UL_(1) << 17)
  568. #define PIN_PA23C_SERCOM0_PAD1 _L_(23) /**< SERCOM0 signal: PAD1 on PA23 mux C*/
  569. #define MUX_PA23C_SERCOM0_PAD1 _L_(2)
  570. #define PINMUX_PA23C_SERCOM0_PAD1 ((PIN_PA23C_SERCOM0_PAD1 << 16) | MUX_PA23C_SERCOM0_PAD1)
  571. #define PORT_PA23C_SERCOM0_PAD1 (_UL_(1) << 23)
  572. #define PIN_PA14D_SERCOM0_PAD2 _L_(14) /**< SERCOM0 signal: PAD2 on PA14 mux D*/
  573. #define MUX_PA14D_SERCOM0_PAD2 _L_(3)
  574. #define PINMUX_PA14D_SERCOM0_PAD2 ((PIN_PA14D_SERCOM0_PAD2 << 16) | MUX_PA14D_SERCOM0_PAD2)
  575. #define PORT_PA14D_SERCOM0_PAD2 (_UL_(1) << 14)
  576. #define PIN_PA18D_SERCOM0_PAD2 _L_(18) /**< SERCOM0 signal: PAD2 on PA18 mux D*/
  577. #define MUX_PA18D_SERCOM0_PAD2 _L_(3)
  578. #define PINMUX_PA18D_SERCOM0_PAD2 ((PIN_PA18D_SERCOM0_PAD2 << 16) | MUX_PA18D_SERCOM0_PAD2)
  579. #define PORT_PA18D_SERCOM0_PAD2 (_UL_(1) << 18)
  580. #define PIN_PA02D_SERCOM0_PAD2 _L_(2) /**< SERCOM0 signal: PAD2 on PA02 mux D*/
  581. #define MUX_PA02D_SERCOM0_PAD2 _L_(3)
  582. #define PINMUX_PA02D_SERCOM0_PAD2 ((PIN_PA02D_SERCOM0_PAD2 << 16) | MUX_PA02D_SERCOM0_PAD2)
  583. #define PORT_PA02D_SERCOM0_PAD2 (_UL_(1) << 2)
  584. #define PIN_PA15D_SERCOM0_PAD3 _L_(15) /**< SERCOM0 signal: PAD3 on PA15 mux D*/
  585. #define MUX_PA15D_SERCOM0_PAD3 _L_(3)
  586. #define PINMUX_PA15D_SERCOM0_PAD3 ((PIN_PA15D_SERCOM0_PAD3 << 16) | MUX_PA15D_SERCOM0_PAD3)
  587. #define PORT_PA15D_SERCOM0_PAD3 (_UL_(1) << 15)
  588. #define PIN_PA19D_SERCOM0_PAD3 _L_(19) /**< SERCOM0 signal: PAD3 on PA19 mux D*/
  589. #define MUX_PA19D_SERCOM0_PAD3 _L_(3)
  590. #define PINMUX_PA19D_SERCOM0_PAD3 ((PIN_PA19D_SERCOM0_PAD3 << 16) | MUX_PA19D_SERCOM0_PAD3)
  591. #define PORT_PA19D_SERCOM0_PAD3 (_UL_(1) << 19)
  592. #define PIN_PA03D_SERCOM0_PAD3 _L_(3) /**< SERCOM0 signal: PAD3 on PA03 mux D*/
  593. #define MUX_PA03D_SERCOM0_PAD3 _L_(3)
  594. #define PINMUX_PA03D_SERCOM0_PAD3 ((PIN_PA03D_SERCOM0_PAD3 << 16) | MUX_PA03D_SERCOM0_PAD3)
  595. #define PORT_PA03D_SERCOM0_PAD3 (_UL_(1) << 3)
  596. /* ========== PORT definition for SERCOM1 peripheral ========== */
  597. #define PIN_PA16C_SERCOM1_PAD0 _L_(16) /**< SERCOM1 signal: PAD0 on PA16 mux C*/
  598. #define MUX_PA16C_SERCOM1_PAD0 _L_(2)
  599. #define PINMUX_PA16C_SERCOM1_PAD0 ((PIN_PA16C_SERCOM1_PAD0 << 16) | MUX_PA16C_SERCOM1_PAD0)
  600. #define PORT_PA16C_SERCOM1_PAD0 (_UL_(1) << 16)
  601. #define PIN_PA08C_SERCOM1_PAD0 _L_(8) /**< SERCOM1 signal: PAD0 on PA08 mux C*/
  602. #define MUX_PA08C_SERCOM1_PAD0 _L_(2)
  603. #define PINMUX_PA08C_SERCOM1_PAD0 ((PIN_PA08C_SERCOM1_PAD0 << 16) | MUX_PA08C_SERCOM1_PAD0)
  604. #define PORT_PA08C_SERCOM1_PAD0 (_UL_(1) << 8)
  605. #define PIN_PA00D_SERCOM1_PAD0 _L_(0) /**< SERCOM1 signal: PAD0 on PA00 mux D*/
  606. #define MUX_PA00D_SERCOM1_PAD0 _L_(3)
  607. #define PINMUX_PA00D_SERCOM1_PAD0 ((PIN_PA00D_SERCOM1_PAD0 << 16) | MUX_PA00D_SERCOM1_PAD0)
  608. #define PORT_PA00D_SERCOM1_PAD0 (_UL_(1) << 0)
  609. #define PIN_PA17C_SERCOM1_PAD1 _L_(17) /**< SERCOM1 signal: PAD1 on PA17 mux C*/
  610. #define MUX_PA17C_SERCOM1_PAD1 _L_(2)
  611. #define PINMUX_PA17C_SERCOM1_PAD1 ((PIN_PA17C_SERCOM1_PAD1 << 16) | MUX_PA17C_SERCOM1_PAD1)
  612. #define PORT_PA17C_SERCOM1_PAD1 (_UL_(1) << 17)
  613. #define PIN_PA01D_SERCOM1_PAD1 _L_(1) /**< SERCOM1 signal: PAD1 on PA01 mux D*/
  614. #define MUX_PA01D_SERCOM1_PAD1 _L_(3)
  615. #define PINMUX_PA01D_SERCOM1_PAD1 ((PIN_PA01D_SERCOM1_PAD1 << 16) | MUX_PA01D_SERCOM1_PAD1)
  616. #define PORT_PA01D_SERCOM1_PAD1 (_UL_(1) << 1)
  617. #define PIN_PA18C_SERCOM1_PAD2 _L_(18) /**< SERCOM1 signal: PAD2 on PA18 mux C*/
  618. #define MUX_PA18C_SERCOM1_PAD2 _L_(2)
  619. #define PINMUX_PA18C_SERCOM1_PAD2 ((PIN_PA18C_SERCOM1_PAD2 << 16) | MUX_PA18C_SERCOM1_PAD2)
  620. #define PORT_PA18C_SERCOM1_PAD2 (_UL_(1) << 18)
  621. #define PIN_PA30D_SERCOM1_PAD2 _L_(30) /**< SERCOM1 signal: PAD2 on PA30 mux D*/
  622. #define MUX_PA30D_SERCOM1_PAD2 _L_(3)
  623. #define PINMUX_PA30D_SERCOM1_PAD2 ((PIN_PA30D_SERCOM1_PAD2 << 16) | MUX_PA30D_SERCOM1_PAD2)
  624. #define PORT_PA30D_SERCOM1_PAD2 (_UL_(1) << 30)
  625. #define PIN_PA19C_SERCOM1_PAD3 _L_(19) /**< SERCOM1 signal: PAD3 on PA19 mux C*/
  626. #define MUX_PA19C_SERCOM1_PAD3 _L_(2)
  627. #define PINMUX_PA19C_SERCOM1_PAD3 ((PIN_PA19C_SERCOM1_PAD3 << 16) | MUX_PA19C_SERCOM1_PAD3)
  628. #define PORT_PA19C_SERCOM1_PAD3 (_UL_(1) << 19)
  629. #define PIN_PA31D_SERCOM1_PAD3 _L_(31) /**< SERCOM1 signal: PAD3 on PA31 mux D*/
  630. #define MUX_PA31D_SERCOM1_PAD3 _L_(3)
  631. #define PINMUX_PA31D_SERCOM1_PAD3 ((PIN_PA31D_SERCOM1_PAD3 << 16) | MUX_PA31D_SERCOM1_PAD3)
  632. #define PORT_PA31D_SERCOM1_PAD3 (_UL_(1) << 31)
  633. /* ========== PORT definition for TC0 peripheral ========== */
  634. #define PIN_PA04E_TC0_WO0 _L_(4) /**< TC0 signal: WO0 on PA04 mux E*/
  635. #define MUX_PA04E_TC0_WO0 _L_(4)
  636. #define PINMUX_PA04E_TC0_WO0 ((PIN_PA04E_TC0_WO0 << 16) | MUX_PA04E_TC0_WO0)
  637. #define PORT_PA04E_TC0_WO0 (_UL_(1) << 4)
  638. #define PIN_PA14E_TC0_WO0 _L_(14) /**< TC0 signal: WO0 on PA14 mux E*/
  639. #define MUX_PA14E_TC0_WO0 _L_(4)
  640. #define PINMUX_PA14E_TC0_WO0 ((PIN_PA14E_TC0_WO0 << 16) | MUX_PA14E_TC0_WO0)
  641. #define PORT_PA14E_TC0_WO0 (_UL_(1) << 14)
  642. #define PIN_PA22E_TC0_WO0 _L_(22) /**< TC0 signal: WO0 on PA22 mux E*/
  643. #define MUX_PA22E_TC0_WO0 _L_(4)
  644. #define PINMUX_PA22E_TC0_WO0 ((PIN_PA22E_TC0_WO0 << 16) | MUX_PA22E_TC0_WO0)
  645. #define PORT_PA22E_TC0_WO0 (_UL_(1) << 22)
  646. #define PIN_PA05E_TC0_WO1 _L_(5) /**< TC0 signal: WO1 on PA05 mux E*/
  647. #define MUX_PA05E_TC0_WO1 _L_(4)
  648. #define PINMUX_PA05E_TC0_WO1 ((PIN_PA05E_TC0_WO1 << 16) | MUX_PA05E_TC0_WO1)
  649. #define PORT_PA05E_TC0_WO1 (_UL_(1) << 5)
  650. #define PIN_PA15E_TC0_WO1 _L_(15) /**< TC0 signal: WO1 on PA15 mux E*/
  651. #define MUX_PA15E_TC0_WO1 _L_(4)
  652. #define PINMUX_PA15E_TC0_WO1 ((PIN_PA15E_TC0_WO1 << 16) | MUX_PA15E_TC0_WO1)
  653. #define PORT_PA15E_TC0_WO1 (_UL_(1) << 15)
  654. #define PIN_PA23E_TC0_WO1 _L_(23) /**< TC0 signal: WO1 on PA23 mux E*/
  655. #define MUX_PA23E_TC0_WO1 _L_(4)
  656. #define PINMUX_PA23E_TC0_WO1 ((PIN_PA23E_TC0_WO1 << 16) | MUX_PA23E_TC0_WO1)
  657. #define PORT_PA23E_TC0_WO1 (_UL_(1) << 23)
  658. /* ========== PORT definition for TC1 peripheral ========== */
  659. #define PIN_PA30E_TC1_WO0 _L_(30) /**< TC1 signal: WO0 on PA30 mux E*/
  660. #define MUX_PA30E_TC1_WO0 _L_(4)
  661. #define PINMUX_PA30E_TC1_WO0 ((PIN_PA30E_TC1_WO0 << 16) | MUX_PA30E_TC1_WO0)
  662. #define PORT_PA30E_TC1_WO0 (_UL_(1) << 30)
  663. #define PIN_PA31E_TC1_WO1 _L_(31) /**< TC1 signal: WO1 on PA31 mux E*/
  664. #define MUX_PA31E_TC1_WO1 _L_(4)
  665. #define PINMUX_PA31E_TC1_WO1 ((PIN_PA31E_TC1_WO1 << 16) | MUX_PA31E_TC1_WO1)
  666. #define PORT_PA31E_TC1_WO1 (_UL_(1) << 31)
  667. /* ========== PORT definition for TC2 peripheral ========== */
  668. #define PIN_PA00E_TC2_WO0 _L_(0) /**< TC2 signal: WO0 on PA00 mux E*/
  669. #define MUX_PA00E_TC2_WO0 _L_(4)
  670. #define PINMUX_PA00E_TC2_WO0 ((PIN_PA00E_TC2_WO0 << 16) | MUX_PA00E_TC2_WO0)
  671. #define PORT_PA00E_TC2_WO0 (_UL_(1) << 0)
  672. #define PIN_PA18E_TC2_WO0 _L_(18) /**< TC2 signal: WO0 on PA18 mux E*/
  673. #define MUX_PA18E_TC2_WO0 _L_(4)
  674. #define PINMUX_PA18E_TC2_WO0 ((PIN_PA18E_TC2_WO0 << 16) | MUX_PA18E_TC2_WO0)
  675. #define PORT_PA18E_TC2_WO0 (_UL_(1) << 18)
  676. #define PIN_PA01E_TC2_WO1 _L_(1) /**< TC2 signal: WO1 on PA01 mux E*/
  677. #define MUX_PA01E_TC2_WO1 _L_(4)
  678. #define PINMUX_PA01E_TC2_WO1 ((PIN_PA01E_TC2_WO1 << 16) | MUX_PA01E_TC2_WO1)
  679. #define PORT_PA01E_TC2_WO1 (_UL_(1) << 1)
  680. #define PIN_PA19E_TC2_WO1 _L_(19) /**< TC2 signal: WO1 on PA19 mux E*/
  681. #define MUX_PA19E_TC2_WO1 _L_(4)
  682. #define PINMUX_PA19E_TC2_WO1 ((PIN_PA19E_TC2_WO1 << 16) | MUX_PA19E_TC2_WO1)
  683. #define PORT_PA19E_TC2_WO1 (_UL_(1) << 19)
  684. #endif /* _SAML11D14A_PIO_H_ */