saml11e16a.h 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167
  1. /**
  2. * \file
  3. *
  4. * \brief Peripheral I/O description for SAML11E16A
  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 _SAML11E16A_PIO_H_
  31. #define _SAML11E16A_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_PA06 ( 6) /**< Pin Number for PA06 */
  40. #define PIN_PA07 ( 7) /**< Pin Number for PA07 */
  41. #define PIN_PA08 ( 8) /**< Pin Number for PA08 */
  42. #define PIN_PA09 ( 9) /**< Pin Number for PA09 */
  43. #define PIN_PA10 ( 10) /**< Pin Number for PA10 */
  44. #define PIN_PA11 ( 11) /**< Pin Number for PA11 */
  45. #define PIN_PA14 ( 14) /**< Pin Number for PA14 */
  46. #define PIN_PA15 ( 15) /**< Pin Number for PA15 */
  47. #define PIN_PA16 ( 16) /**< Pin Number for PA16 */
  48. #define PIN_PA17 ( 17) /**< Pin Number for PA17 */
  49. #define PIN_PA18 ( 18) /**< Pin Number for PA18 */
  50. #define PIN_PA19 ( 19) /**< Pin Number for PA19 */
  51. #define PIN_PA22 ( 22) /**< Pin Number for PA22 */
  52. #define PIN_PA23 ( 23) /**< Pin Number for PA23 */
  53. #define PIN_PA24 ( 24) /**< Pin Number for PA24 */
  54. #define PIN_PA25 ( 25) /**< Pin Number for PA25 */
  55. #define PIN_PA27 ( 27) /**< Pin Number for PA27 */
  56. #define PIN_PA30 ( 30) /**< Pin Number for PA30 */
  57. #define PIN_PA31 ( 31) /**< Pin Number for PA31 */
  58. /* ========== Peripheral I/O masks ========== */
  59. #define PORT_PA00 (_U_(1) << 0) /**< PORT Mask for PA00 */
  60. #define PORT_PA01 (_U_(1) << 1) /**< PORT Mask for PA01 */
  61. #define PORT_PA02 (_U_(1) << 2) /**< PORT Mask for PA02 */
  62. #define PORT_PA03 (_U_(1) << 3) /**< PORT Mask for PA03 */
  63. #define PORT_PA04 (_U_(1) << 4) /**< PORT Mask for PA04 */
  64. #define PORT_PA05 (_U_(1) << 5) /**< PORT Mask for PA05 */
  65. #define PORT_PA06 (_U_(1) << 6) /**< PORT Mask for PA06 */
  66. #define PORT_PA07 (_U_(1) << 7) /**< PORT Mask for PA07 */
  67. #define PORT_PA08 (_U_(1) << 8) /**< PORT Mask for PA08 */
  68. #define PORT_PA09 (_U_(1) << 9) /**< PORT Mask for PA09 */
  69. #define PORT_PA10 (_U_(1) << 10) /**< PORT Mask for PA10 */
  70. #define PORT_PA11 (_U_(1) << 11) /**< PORT Mask for PA11 */
  71. #define PORT_PA14 (_U_(1) << 14) /**< PORT Mask for PA14 */
  72. #define PORT_PA15 (_U_(1) << 15) /**< PORT Mask for PA15 */
  73. #define PORT_PA16 (_U_(1) << 16) /**< PORT Mask for PA16 */
  74. #define PORT_PA17 (_U_(1) << 17) /**< PORT Mask for PA17 */
  75. #define PORT_PA18 (_U_(1) << 18) /**< PORT Mask for PA18 */
  76. #define PORT_PA19 (_U_(1) << 19) /**< PORT Mask for PA19 */
  77. #define PORT_PA22 (_U_(1) << 22) /**< PORT Mask for PA22 */
  78. #define PORT_PA23 (_U_(1) << 23) /**< PORT Mask for PA23 */
  79. #define PORT_PA24 (_U_(1) << 24) /**< PORT Mask for PA24 */
  80. #define PORT_PA25 (_U_(1) << 25) /**< PORT Mask for PA25 */
  81. #define PORT_PA27 (_U_(1) << 27) /**< PORT Mask for PA27 */
  82. #define PORT_PA30 (_U_(1) << 30) /**< PORT Mask for PA30 */
  83. #define PORT_PA31 (_U_(1) << 31) /**< PORT Mask for PA31 */
  84. /* ========== Peripheral I/O indexes ========== */
  85. #define PORT_PA00_IDX ( 0) /**< PORT Index Number for PA00 */
  86. #define PORT_PA01_IDX ( 1) /**< PORT Index Number for PA01 */
  87. #define PORT_PA02_IDX ( 2) /**< PORT Index Number for PA02 */
  88. #define PORT_PA03_IDX ( 3) /**< PORT Index Number for PA03 */
  89. #define PORT_PA04_IDX ( 4) /**< PORT Index Number for PA04 */
  90. #define PORT_PA05_IDX ( 5) /**< PORT Index Number for PA05 */
  91. #define PORT_PA06_IDX ( 6) /**< PORT Index Number for PA06 */
  92. #define PORT_PA07_IDX ( 7) /**< PORT Index Number for PA07 */
  93. #define PORT_PA08_IDX ( 8) /**< PORT Index Number for PA08 */
  94. #define PORT_PA09_IDX ( 9) /**< PORT Index Number for PA09 */
  95. #define PORT_PA10_IDX ( 10) /**< PORT Index Number for PA10 */
  96. #define PORT_PA11_IDX ( 11) /**< PORT Index Number for PA11 */
  97. #define PORT_PA14_IDX ( 14) /**< PORT Index Number for PA14 */
  98. #define PORT_PA15_IDX ( 15) /**< PORT Index Number for PA15 */
  99. #define PORT_PA16_IDX ( 16) /**< PORT Index Number for PA16 */
  100. #define PORT_PA17_IDX ( 17) /**< PORT Index Number for PA17 */
  101. #define PORT_PA18_IDX ( 18) /**< PORT Index Number for PA18 */
  102. #define PORT_PA19_IDX ( 19) /**< PORT Index Number for PA19 */
  103. #define PORT_PA22_IDX ( 22) /**< PORT Index Number for PA22 */
  104. #define PORT_PA23_IDX ( 23) /**< PORT Index Number for PA23 */
  105. #define PORT_PA24_IDX ( 24) /**< PORT Index Number for PA24 */
  106. #define PORT_PA25_IDX ( 25) /**< PORT Index Number for PA25 */
  107. #define PORT_PA27_IDX ( 27) /**< PORT Index Number for PA27 */
  108. #define PORT_PA30_IDX ( 30) /**< PORT Index Number for PA30 */
  109. #define PORT_PA31_IDX ( 31) /**< PORT Index Number for PA31 */
  110. /* ========== PORT definition for AC peripheral ========== */
  111. #define PIN_PA04B_AC_AIN0 _L_(4) /**< AC signal: AIN0 on PA04 mux B*/
  112. #define MUX_PA04B_AC_AIN0 _L_(1)
  113. #define PINMUX_PA04B_AC_AIN0 ((PIN_PA04B_AC_AIN0 << 16) | MUX_PA04B_AC_AIN0)
  114. #define PORT_PA04B_AC_AIN0 (_UL_(1) << 4)
  115. #define PIN_PA05B_AC_AIN1 _L_(5) /**< AC signal: AIN1 on PA05 mux B*/
  116. #define MUX_PA05B_AC_AIN1 _L_(1)
  117. #define PINMUX_PA05B_AC_AIN1 ((PIN_PA05B_AC_AIN1 << 16) | MUX_PA05B_AC_AIN1)
  118. #define PORT_PA05B_AC_AIN1 (_UL_(1) << 5)
  119. #define PIN_PA06B_AC_AIN2 _L_(6) /**< AC signal: AIN2 on PA06 mux B*/
  120. #define MUX_PA06B_AC_AIN2 _L_(1)
  121. #define PINMUX_PA06B_AC_AIN2 ((PIN_PA06B_AC_AIN2 << 16) | MUX_PA06B_AC_AIN2)
  122. #define PORT_PA06B_AC_AIN2 (_UL_(1) << 6)
  123. #define PIN_PA07B_AC_AIN3 _L_(7) /**< AC signal: AIN3 on PA07 mux B*/
  124. #define MUX_PA07B_AC_AIN3 _L_(1)
  125. #define PINMUX_PA07B_AC_AIN3 ((PIN_PA07B_AC_AIN3 << 16) | MUX_PA07B_AC_AIN3)
  126. #define PORT_PA07B_AC_AIN3 (_UL_(1) << 7)
  127. #define PIN_PA18H_AC_CMP0 _L_(18) /**< AC signal: CMP0 on PA18 mux H*/
  128. #define MUX_PA18H_AC_CMP0 _L_(7)
  129. #define PINMUX_PA18H_AC_CMP0 ((PIN_PA18H_AC_CMP0 << 16) | MUX_PA18H_AC_CMP0)
  130. #define PORT_PA18H_AC_CMP0 (_UL_(1) << 18)
  131. #define PIN_PA19H_AC_CMP1 _L_(19) /**< AC signal: CMP1 on PA19 mux H*/
  132. #define MUX_PA19H_AC_CMP1 _L_(7)
  133. #define PINMUX_PA19H_AC_CMP1 ((PIN_PA19H_AC_CMP1 << 16) | MUX_PA19H_AC_CMP1)
  134. #define PORT_PA19H_AC_CMP1 (_UL_(1) << 19)
  135. /* ========== PORT definition for ADC peripheral ========== */
  136. #define PIN_PA02B_ADC_AIN0 _L_(2) /**< ADC signal: AIN0 on PA02 mux B*/
  137. #define MUX_PA02B_ADC_AIN0 _L_(1)
  138. #define PINMUX_PA02B_ADC_AIN0 ((PIN_PA02B_ADC_AIN0 << 16) | MUX_PA02B_ADC_AIN0)
  139. #define PORT_PA02B_ADC_AIN0 (_UL_(1) << 2)
  140. #define PIN_PA03B_ADC_AIN1 _L_(3) /**< ADC signal: AIN1 on PA03 mux B*/
  141. #define MUX_PA03B_ADC_AIN1 _L_(1)
  142. #define PINMUX_PA03B_ADC_AIN1 ((PIN_PA03B_ADC_AIN1 << 16) | MUX_PA03B_ADC_AIN1)
  143. #define PORT_PA03B_ADC_AIN1 (_UL_(1) << 3)
  144. #define PIN_PA04B_ADC_AIN2 _L_(4) /**< ADC signal: AIN2 on PA04 mux B*/
  145. #define MUX_PA04B_ADC_AIN2 _L_(1)
  146. #define PINMUX_PA04B_ADC_AIN2 ((PIN_PA04B_ADC_AIN2 << 16) | MUX_PA04B_ADC_AIN2)
  147. #define PORT_PA04B_ADC_AIN2 (_UL_(1) << 4)
  148. #define PIN_PA05B_ADC_AIN3 _L_(5) /**< ADC signal: AIN3 on PA05 mux B*/
  149. #define MUX_PA05B_ADC_AIN3 _L_(1)
  150. #define PINMUX_PA05B_ADC_AIN3 ((PIN_PA05B_ADC_AIN3 << 16) | MUX_PA05B_ADC_AIN3)
  151. #define PORT_PA05B_ADC_AIN3 (_UL_(1) << 5)
  152. #define PIN_PA06B_ADC_AIN4 _L_(6) /**< ADC signal: AIN4 on PA06 mux B*/
  153. #define MUX_PA06B_ADC_AIN4 _L_(1)
  154. #define PINMUX_PA06B_ADC_AIN4 ((PIN_PA06B_ADC_AIN4 << 16) | MUX_PA06B_ADC_AIN4)
  155. #define PORT_PA06B_ADC_AIN4 (_UL_(1) << 6)
  156. #define PIN_PA07B_ADC_AIN5 _L_(7) /**< ADC signal: AIN5 on PA07 mux B*/
  157. #define MUX_PA07B_ADC_AIN5 _L_(1)
  158. #define PINMUX_PA07B_ADC_AIN5 ((PIN_PA07B_ADC_AIN5 << 16) | MUX_PA07B_ADC_AIN5)
  159. #define PORT_PA07B_ADC_AIN5 (_UL_(1) << 7)
  160. #define PIN_PA08B_ADC_AIN6 _L_(8) /**< ADC signal: AIN6 on PA08 mux B*/
  161. #define MUX_PA08B_ADC_AIN6 _L_(1)
  162. #define PINMUX_PA08B_ADC_AIN6 ((PIN_PA08B_ADC_AIN6 << 16) | MUX_PA08B_ADC_AIN6)
  163. #define PORT_PA08B_ADC_AIN6 (_UL_(1) << 8)
  164. #define PIN_PA09B_ADC_AIN7 _L_(9) /**< ADC signal: AIN7 on PA09 mux B*/
  165. #define MUX_PA09B_ADC_AIN7 _L_(1)
  166. #define PINMUX_PA09B_ADC_AIN7 ((PIN_PA09B_ADC_AIN7 << 16) | MUX_PA09B_ADC_AIN7)
  167. #define PORT_PA09B_ADC_AIN7 (_UL_(1) << 9)
  168. #define PIN_PA10B_ADC_AIN8 _L_(10) /**< ADC signal: AIN8 on PA10 mux B*/
  169. #define MUX_PA10B_ADC_AIN8 _L_(1)
  170. #define PINMUX_PA10B_ADC_AIN8 ((PIN_PA10B_ADC_AIN8 << 16) | MUX_PA10B_ADC_AIN8)
  171. #define PORT_PA10B_ADC_AIN8 (_UL_(1) << 10)
  172. #define PIN_PA11B_ADC_AIN9 _L_(11) /**< ADC signal: AIN9 on PA11 mux B*/
  173. #define MUX_PA11B_ADC_AIN9 _L_(1)
  174. #define PINMUX_PA11B_ADC_AIN9 ((PIN_PA11B_ADC_AIN9 << 16) | MUX_PA11B_ADC_AIN9)
  175. #define PORT_PA11B_ADC_AIN9 (_UL_(1) << 11)
  176. #define PIN_PA04B_ADC_VREFP _L_(4) /**< ADC signal: VREFP on PA04 mux B*/
  177. #define MUX_PA04B_ADC_VREFP _L_(1)
  178. #define PINMUX_PA04B_ADC_VREFP ((PIN_PA04B_ADC_VREFP << 16) | MUX_PA04B_ADC_VREFP)
  179. #define PORT_PA04B_ADC_VREFP (_UL_(1) << 4)
  180. /* ========== PORT definition for CCL peripheral ========== */
  181. #define PIN_PA04I_CCL_IN0 _L_(4) /**< CCL signal: IN0 on PA04 mux I*/
  182. #define MUX_PA04I_CCL_IN0 _L_(8)
  183. #define PINMUX_PA04I_CCL_IN0 ((PIN_PA04I_CCL_IN0 << 16) | MUX_PA04I_CCL_IN0)
  184. #define PORT_PA04I_CCL_IN0 (_UL_(1) << 4)
  185. #define PIN_PA16I_CCL_IN0 _L_(16) /**< CCL signal: IN0 on PA16 mux I*/
  186. #define MUX_PA16I_CCL_IN0 _L_(8)
  187. #define PINMUX_PA16I_CCL_IN0 ((PIN_PA16I_CCL_IN0 << 16) | MUX_PA16I_CCL_IN0)
  188. #define PORT_PA16I_CCL_IN0 (_UL_(1) << 16)
  189. #define PIN_PA05I_CCL_IN1 _L_(5) /**< CCL signal: IN1 on PA05 mux I*/
  190. #define MUX_PA05I_CCL_IN1 _L_(8)
  191. #define PINMUX_PA05I_CCL_IN1 ((PIN_PA05I_CCL_IN1 << 16) | MUX_PA05I_CCL_IN1)
  192. #define PORT_PA05I_CCL_IN1 (_UL_(1) << 5)
  193. #define PIN_PA17I_CCL_IN1 _L_(17) /**< CCL signal: IN1 on PA17 mux I*/
  194. #define MUX_PA17I_CCL_IN1 _L_(8)
  195. #define PINMUX_PA17I_CCL_IN1 ((PIN_PA17I_CCL_IN1 << 16) | MUX_PA17I_CCL_IN1)
  196. #define PORT_PA17I_CCL_IN1 (_UL_(1) << 17)
  197. #define PIN_PA06I_CCL_IN2 _L_(6) /**< CCL signal: IN2 on PA06 mux I*/
  198. #define MUX_PA06I_CCL_IN2 _L_(8)
  199. #define PINMUX_PA06I_CCL_IN2 ((PIN_PA06I_CCL_IN2 << 16) | MUX_PA06I_CCL_IN2)
  200. #define PORT_PA06I_CCL_IN2 (_UL_(1) << 6)
  201. #define PIN_PA18I_CCL_IN2 _L_(18) /**< CCL signal: IN2 on PA18 mux I*/
  202. #define MUX_PA18I_CCL_IN2 _L_(8)
  203. #define PINMUX_PA18I_CCL_IN2 ((PIN_PA18I_CCL_IN2 << 16) | MUX_PA18I_CCL_IN2)
  204. #define PORT_PA18I_CCL_IN2 (_UL_(1) << 18)
  205. #define PIN_PA08I_CCL_IN3 _L_(8) /**< CCL signal: IN3 on PA08 mux I*/
  206. #define MUX_PA08I_CCL_IN3 _L_(8)
  207. #define PINMUX_PA08I_CCL_IN3 ((PIN_PA08I_CCL_IN3 << 16) | MUX_PA08I_CCL_IN3)
  208. #define PORT_PA08I_CCL_IN3 (_UL_(1) << 8)
  209. #define PIN_PA30I_CCL_IN3 _L_(30) /**< CCL signal: IN3 on PA30 mux I*/
  210. #define MUX_PA30I_CCL_IN3 _L_(8)
  211. #define PINMUX_PA30I_CCL_IN3 ((PIN_PA30I_CCL_IN3 << 16) | MUX_PA30I_CCL_IN3)
  212. #define PORT_PA30I_CCL_IN3 (_UL_(1) << 30)
  213. #define PIN_PA09I_CCL_IN4 _L_(9) /**< CCL signal: IN4 on PA09 mux I*/
  214. #define MUX_PA09I_CCL_IN4 _L_(8)
  215. #define PINMUX_PA09I_CCL_IN4 ((PIN_PA09I_CCL_IN4 << 16) | MUX_PA09I_CCL_IN4)
  216. #define PORT_PA09I_CCL_IN4 (_UL_(1) << 9)
  217. #define PIN_PA10I_CCL_IN5 _L_(10) /**< CCL signal: IN5 on PA10 mux I*/
  218. #define MUX_PA10I_CCL_IN5 _L_(8)
  219. #define PINMUX_PA10I_CCL_IN5 ((PIN_PA10I_CCL_IN5 << 16) | MUX_PA10I_CCL_IN5)
  220. #define PORT_PA10I_CCL_IN5 (_UL_(1) << 10)
  221. #define PIN_PA07I_CCL_OUT0 _L_(7) /**< CCL signal: OUT0 on PA07 mux I*/
  222. #define MUX_PA07I_CCL_OUT0 _L_(8)
  223. #define PINMUX_PA07I_CCL_OUT0 ((PIN_PA07I_CCL_OUT0 << 16) | MUX_PA07I_CCL_OUT0)
  224. #define PORT_PA07I_CCL_OUT0 (_UL_(1) << 7)
  225. #define PIN_PA19I_CCL_OUT0 _L_(19) /**< CCL signal: OUT0 on PA19 mux I*/
  226. #define MUX_PA19I_CCL_OUT0 _L_(8)
  227. #define PINMUX_PA19I_CCL_OUT0 ((PIN_PA19I_CCL_OUT0 << 16) | MUX_PA19I_CCL_OUT0)
  228. #define PORT_PA19I_CCL_OUT0 (_UL_(1) << 19)
  229. #define PIN_PA11I_CCL_OUT1 _L_(11) /**< CCL signal: OUT1 on PA11 mux I*/
  230. #define MUX_PA11I_CCL_OUT1 _L_(8)
  231. #define PINMUX_PA11I_CCL_OUT1 ((PIN_PA11I_CCL_OUT1 << 16) | MUX_PA11I_CCL_OUT1)
  232. #define PORT_PA11I_CCL_OUT1 (_UL_(1) << 11)
  233. #define PIN_PA31I_CCL_OUT1 _L_(31) /**< CCL signal: OUT1 on PA31 mux I*/
  234. #define MUX_PA31I_CCL_OUT1 _L_(8)
  235. #define PINMUX_PA31I_CCL_OUT1 ((PIN_PA31I_CCL_OUT1 << 16) | MUX_PA31I_CCL_OUT1)
  236. #define PORT_PA31I_CCL_OUT1 (_UL_(1) << 31)
  237. /* ========== PORT definition for DAC peripheral ========== */
  238. #define PIN_PA02B_DAC_VOUT _L_(2) /**< DAC signal: VOUT on PA02 mux B*/
  239. #define MUX_PA02B_DAC_VOUT _L_(1)
  240. #define PINMUX_PA02B_DAC_VOUT ((PIN_PA02B_DAC_VOUT << 16) | MUX_PA02B_DAC_VOUT)
  241. #define PORT_PA02B_DAC_VOUT (_UL_(1) << 2)
  242. #define PIN_PA03B_DAC_VREFP _L_(3) /**< DAC signal: VREFP on PA03 mux B*/
  243. #define MUX_PA03B_DAC_VREFP _L_(1)
  244. #define PINMUX_PA03B_DAC_VREFP ((PIN_PA03B_DAC_VREFP << 16) | MUX_PA03B_DAC_VREFP)
  245. #define PORT_PA03B_DAC_VREFP (_UL_(1) << 3)
  246. /* ========== PORT definition for EIC peripheral ========== */
  247. #define PIN_PA09A_EIC_EXTINT0 _L_(9) /**< EIC signal: EXTINT0 on PA09 mux A*/
  248. #define MUX_PA09A_EIC_EXTINT0 _L_(0)
  249. #define PINMUX_PA09A_EIC_EXTINT0 ((PIN_PA09A_EIC_EXTINT0 << 16) | MUX_PA09A_EIC_EXTINT0)
  250. #define PORT_PA09A_EIC_EXTINT0 (_UL_(1) << 9)
  251. #define PIN_PA09A_EIC_EXTINT_NUM _L_(0) /**< EIC signal: PIN_PA09 External Interrupt Line */
  252. #define PIN_PA19A_EIC_EXTINT0 _L_(19) /**< EIC signal: EXTINT0 on PA19 mux A*/
  253. #define MUX_PA19A_EIC_EXTINT0 _L_(0)
  254. #define PINMUX_PA19A_EIC_EXTINT0 ((PIN_PA19A_EIC_EXTINT0 << 16) | MUX_PA19A_EIC_EXTINT0)
  255. #define PORT_PA19A_EIC_EXTINT0 (_UL_(1) << 19)
  256. #define PIN_PA19A_EIC_EXTINT_NUM _L_(0) /**< EIC signal: PIN_PA19 External Interrupt Line */
  257. #define PIN_PA00A_EIC_EXTINT0 _L_(0) /**< EIC signal: EXTINT0 on PA00 mux A*/
  258. #define MUX_PA00A_EIC_EXTINT0 _L_(0)
  259. #define PINMUX_PA00A_EIC_EXTINT0 ((PIN_PA00A_EIC_EXTINT0 << 16) | MUX_PA00A_EIC_EXTINT0)
  260. #define PORT_PA00A_EIC_EXTINT0 (_UL_(1) << 0)
  261. #define PIN_PA00A_EIC_EXTINT_NUM _L_(0) /**< EIC signal: PIN_PA00 External Interrupt Line */
  262. #define PIN_PA10A_EIC_EXTINT1 _L_(10) /**< EIC signal: EXTINT1 on PA10 mux A*/
  263. #define MUX_PA10A_EIC_EXTINT1 _L_(0)
  264. #define PINMUX_PA10A_EIC_EXTINT1 ((PIN_PA10A_EIC_EXTINT1 << 16) | MUX_PA10A_EIC_EXTINT1)
  265. #define PORT_PA10A_EIC_EXTINT1 (_UL_(1) << 10)
  266. #define PIN_PA10A_EIC_EXTINT_NUM _L_(1) /**< EIC signal: PIN_PA10 External Interrupt Line */
  267. #define PIN_PA22A_EIC_EXTINT1 _L_(22) /**< EIC signal: EXTINT1 on PA22 mux A*/
  268. #define MUX_PA22A_EIC_EXTINT1 _L_(0)
  269. #define PINMUX_PA22A_EIC_EXTINT1 ((PIN_PA22A_EIC_EXTINT1 << 16) | MUX_PA22A_EIC_EXTINT1)
  270. #define PORT_PA22A_EIC_EXTINT1 (_UL_(1) << 22)
  271. #define PIN_PA22A_EIC_EXTINT_NUM _L_(1) /**< EIC signal: PIN_PA22 External Interrupt Line */
  272. #define PIN_PA01A_EIC_EXTINT1 _L_(1) /**< EIC signal: EXTINT1 on PA01 mux A*/
  273. #define MUX_PA01A_EIC_EXTINT1 _L_(0)
  274. #define PINMUX_PA01A_EIC_EXTINT1 ((PIN_PA01A_EIC_EXTINT1 << 16) | MUX_PA01A_EIC_EXTINT1)
  275. #define PORT_PA01A_EIC_EXTINT1 (_UL_(1) << 1)
  276. #define PIN_PA01A_EIC_EXTINT_NUM _L_(1) /**< EIC signal: PIN_PA01 External Interrupt Line */
  277. #define PIN_PA02A_EIC_EXTINT2 _L_(2) /**< EIC signal: EXTINT2 on PA02 mux A*/
  278. #define MUX_PA02A_EIC_EXTINT2 _L_(0)
  279. #define PINMUX_PA02A_EIC_EXTINT2 ((PIN_PA02A_EIC_EXTINT2 << 16) | MUX_PA02A_EIC_EXTINT2)
  280. #define PORT_PA02A_EIC_EXTINT2 (_UL_(1) << 2)
  281. #define PIN_PA02A_EIC_EXTINT_NUM _L_(2) /**< EIC signal: PIN_PA02 External Interrupt Line */
  282. #define PIN_PA11A_EIC_EXTINT2 _L_(11) /**< EIC signal: EXTINT2 on PA11 mux A*/
  283. #define MUX_PA11A_EIC_EXTINT2 _L_(0)
  284. #define PINMUX_PA11A_EIC_EXTINT2 ((PIN_PA11A_EIC_EXTINT2 << 16) | MUX_PA11A_EIC_EXTINT2)
  285. #define PORT_PA11A_EIC_EXTINT2 (_UL_(1) << 11)
  286. #define PIN_PA11A_EIC_EXTINT_NUM _L_(2) /**< EIC signal: PIN_PA11 External Interrupt Line */
  287. #define PIN_PA23A_EIC_EXTINT2 _L_(23) /**< EIC signal: EXTINT2 on PA23 mux A*/
  288. #define MUX_PA23A_EIC_EXTINT2 _L_(0)
  289. #define PINMUX_PA23A_EIC_EXTINT2 ((PIN_PA23A_EIC_EXTINT2 << 16) | MUX_PA23A_EIC_EXTINT2)
  290. #define PORT_PA23A_EIC_EXTINT2 (_UL_(1) << 23)
  291. #define PIN_PA23A_EIC_EXTINT_NUM _L_(2) /**< EIC signal: PIN_PA23 External Interrupt Line */
  292. #define PIN_PA03A_EIC_EXTINT3 _L_(3) /**< EIC signal: EXTINT3 on PA03 mux A*/
  293. #define MUX_PA03A_EIC_EXTINT3 _L_(0)
  294. #define PINMUX_PA03A_EIC_EXTINT3 ((PIN_PA03A_EIC_EXTINT3 << 16) | MUX_PA03A_EIC_EXTINT3)
  295. #define PORT_PA03A_EIC_EXTINT3 (_UL_(1) << 3)
  296. #define PIN_PA03A_EIC_EXTINT_NUM _L_(3) /**< EIC signal: PIN_PA03 External Interrupt Line */
  297. #define PIN_PA14A_EIC_EXTINT3 _L_(14) /**< EIC signal: EXTINT3 on PA14 mux A*/
  298. #define MUX_PA14A_EIC_EXTINT3 _L_(0)
  299. #define PINMUX_PA14A_EIC_EXTINT3 ((PIN_PA14A_EIC_EXTINT3 << 16) | MUX_PA14A_EIC_EXTINT3)
  300. #define PORT_PA14A_EIC_EXTINT3 (_UL_(1) << 14)
  301. #define PIN_PA14A_EIC_EXTINT_NUM _L_(3) /**< EIC signal: PIN_PA14 External Interrupt Line */
  302. #define PIN_PA24A_EIC_EXTINT3 _L_(24) /**< EIC signal: EXTINT3 on PA24 mux A*/
  303. #define MUX_PA24A_EIC_EXTINT3 _L_(0)
  304. #define PINMUX_PA24A_EIC_EXTINT3 ((PIN_PA24A_EIC_EXTINT3 << 16) | MUX_PA24A_EIC_EXTINT3)
  305. #define PORT_PA24A_EIC_EXTINT3 (_UL_(1) << 24)
  306. #define PIN_PA24A_EIC_EXTINT_NUM _L_(3) /**< EIC signal: PIN_PA24 External Interrupt Line */
  307. #define PIN_PA04A_EIC_EXTINT4 _L_(4) /**< EIC signal: EXTINT4 on PA04 mux A*/
  308. #define MUX_PA04A_EIC_EXTINT4 _L_(0)
  309. #define PINMUX_PA04A_EIC_EXTINT4 ((PIN_PA04A_EIC_EXTINT4 << 16) | MUX_PA04A_EIC_EXTINT4)
  310. #define PORT_PA04A_EIC_EXTINT4 (_UL_(1) << 4)
  311. #define PIN_PA04A_EIC_EXTINT_NUM _L_(4) /**< EIC signal: PIN_PA04 External Interrupt Line */
  312. #define PIN_PA15A_EIC_EXTINT4 _L_(15) /**< EIC signal: EXTINT4 on PA15 mux A*/
  313. #define MUX_PA15A_EIC_EXTINT4 _L_(0)
  314. #define PINMUX_PA15A_EIC_EXTINT4 ((PIN_PA15A_EIC_EXTINT4 << 16) | MUX_PA15A_EIC_EXTINT4)
  315. #define PORT_PA15A_EIC_EXTINT4 (_UL_(1) << 15)
  316. #define PIN_PA15A_EIC_EXTINT_NUM _L_(4) /**< EIC signal: PIN_PA15 External Interrupt Line */
  317. #define PIN_PA25A_EIC_EXTINT4 _L_(25) /**< EIC signal: EXTINT4 on PA25 mux A*/
  318. #define MUX_PA25A_EIC_EXTINT4 _L_(0)
  319. #define PINMUX_PA25A_EIC_EXTINT4 ((PIN_PA25A_EIC_EXTINT4 << 16) | MUX_PA25A_EIC_EXTINT4)
  320. #define PORT_PA25A_EIC_EXTINT4 (_UL_(1) << 25)
  321. #define PIN_PA25A_EIC_EXTINT_NUM _L_(4) /**< EIC signal: PIN_PA25 External Interrupt Line */
  322. #define PIN_PA05A_EIC_EXTINT5 _L_(5) /**< EIC signal: EXTINT5 on PA05 mux A*/
  323. #define MUX_PA05A_EIC_EXTINT5 _L_(0)
  324. #define PINMUX_PA05A_EIC_EXTINT5 ((PIN_PA05A_EIC_EXTINT5 << 16) | MUX_PA05A_EIC_EXTINT5)
  325. #define PORT_PA05A_EIC_EXTINT5 (_UL_(1) << 5)
  326. #define PIN_PA05A_EIC_EXTINT_NUM _L_(5) /**< EIC signal: PIN_PA05 External Interrupt Line */
  327. #define PIN_PA16A_EIC_EXTINT5 _L_(16) /**< EIC signal: EXTINT5 on PA16 mux A*/
  328. #define MUX_PA16A_EIC_EXTINT5 _L_(0)
  329. #define PINMUX_PA16A_EIC_EXTINT5 ((PIN_PA16A_EIC_EXTINT5 << 16) | MUX_PA16A_EIC_EXTINT5)
  330. #define PORT_PA16A_EIC_EXTINT5 (_UL_(1) << 16)
  331. #define PIN_PA16A_EIC_EXTINT_NUM _L_(5) /**< EIC signal: PIN_PA16 External Interrupt Line */
  332. #define PIN_PA27A_EIC_EXTINT5 _L_(27) /**< EIC signal: EXTINT5 on PA27 mux A*/
  333. #define MUX_PA27A_EIC_EXTINT5 _L_(0)
  334. #define PINMUX_PA27A_EIC_EXTINT5 ((PIN_PA27A_EIC_EXTINT5 << 16) | MUX_PA27A_EIC_EXTINT5)
  335. #define PORT_PA27A_EIC_EXTINT5 (_UL_(1) << 27)
  336. #define PIN_PA27A_EIC_EXTINT_NUM _L_(5) /**< EIC signal: PIN_PA27 External Interrupt Line */
  337. #define PIN_PA06A_EIC_EXTINT6 _L_(6) /**< EIC signal: EXTINT6 on PA06 mux A*/
  338. #define MUX_PA06A_EIC_EXTINT6 _L_(0)
  339. #define PINMUX_PA06A_EIC_EXTINT6 ((PIN_PA06A_EIC_EXTINT6 << 16) | MUX_PA06A_EIC_EXTINT6)
  340. #define PORT_PA06A_EIC_EXTINT6 (_UL_(1) << 6)
  341. #define PIN_PA06A_EIC_EXTINT_NUM _L_(6) /**< EIC signal: PIN_PA06 External Interrupt Line */
  342. #define PIN_PA17A_EIC_EXTINT6 _L_(17) /**< EIC signal: EXTINT6 on PA17 mux A*/
  343. #define MUX_PA17A_EIC_EXTINT6 _L_(0)
  344. #define PINMUX_PA17A_EIC_EXTINT6 ((PIN_PA17A_EIC_EXTINT6 << 16) | MUX_PA17A_EIC_EXTINT6)
  345. #define PORT_PA17A_EIC_EXTINT6 (_UL_(1) << 17)
  346. #define PIN_PA17A_EIC_EXTINT_NUM _L_(6) /**< EIC signal: PIN_PA17 External Interrupt Line */
  347. #define PIN_PA30A_EIC_EXTINT6 _L_(30) /**< EIC signal: EXTINT6 on PA30 mux A*/
  348. #define MUX_PA30A_EIC_EXTINT6 _L_(0)
  349. #define PINMUX_PA30A_EIC_EXTINT6 ((PIN_PA30A_EIC_EXTINT6 << 16) | MUX_PA30A_EIC_EXTINT6)
  350. #define PORT_PA30A_EIC_EXTINT6 (_UL_(1) << 30)
  351. #define PIN_PA30A_EIC_EXTINT_NUM _L_(6) /**< EIC signal: PIN_PA30 External Interrupt Line */
  352. #define PIN_PA07A_EIC_EXTINT7 _L_(7) /**< EIC signal: EXTINT7 on PA07 mux A*/
  353. #define MUX_PA07A_EIC_EXTINT7 _L_(0)
  354. #define PINMUX_PA07A_EIC_EXTINT7 ((PIN_PA07A_EIC_EXTINT7 << 16) | MUX_PA07A_EIC_EXTINT7)
  355. #define PORT_PA07A_EIC_EXTINT7 (_UL_(1) << 7)
  356. #define PIN_PA07A_EIC_EXTINT_NUM _L_(7) /**< EIC signal: PIN_PA07 External Interrupt Line */
  357. #define PIN_PA18A_EIC_EXTINT7 _L_(18) /**< EIC signal: EXTINT7 on PA18 mux A*/
  358. #define MUX_PA18A_EIC_EXTINT7 _L_(0)
  359. #define PINMUX_PA18A_EIC_EXTINT7 ((PIN_PA18A_EIC_EXTINT7 << 16) | MUX_PA18A_EIC_EXTINT7)
  360. #define PORT_PA18A_EIC_EXTINT7 (_UL_(1) << 18)
  361. #define PIN_PA18A_EIC_EXTINT_NUM _L_(7) /**< EIC signal: PIN_PA18 External Interrupt Line */
  362. #define PIN_PA31A_EIC_EXTINT7 _L_(31) /**< EIC signal: EXTINT7 on PA31 mux A*/
  363. #define MUX_PA31A_EIC_EXTINT7 _L_(0)
  364. #define PINMUX_PA31A_EIC_EXTINT7 ((PIN_PA31A_EIC_EXTINT7 << 16) | MUX_PA31A_EIC_EXTINT7)
  365. #define PORT_PA31A_EIC_EXTINT7 (_UL_(1) << 31)
  366. #define PIN_PA31A_EIC_EXTINT_NUM _L_(7) /**< EIC signal: PIN_PA31 External Interrupt Line */
  367. #define PIN_PA08A_EIC_NMI _L_(8) /**< EIC signal: NMI on PA08 mux A*/
  368. #define MUX_PA08A_EIC_NMI _L_(0)
  369. #define PINMUX_PA08A_EIC_NMI ((PIN_PA08A_EIC_NMI << 16) | MUX_PA08A_EIC_NMI)
  370. #define PORT_PA08A_EIC_NMI (_UL_(1) << 8)
  371. /* ========== PORT definition for GCLK peripheral ========== */
  372. #define PIN_PA30H_GCLK_IO0 _L_(30) /**< GCLK signal: IO0 on PA30 mux H*/
  373. #define MUX_PA30H_GCLK_IO0 _L_(7)
  374. #define PINMUX_PA30H_GCLK_IO0 ((PIN_PA30H_GCLK_IO0 << 16) | MUX_PA30H_GCLK_IO0)
  375. #define PORT_PA30H_GCLK_IO0 (_UL_(1) << 30)
  376. #define PIN_PA14H_GCLK_IO0 _L_(14) /**< GCLK signal: IO0 on PA14 mux H*/
  377. #define MUX_PA14H_GCLK_IO0 _L_(7)
  378. #define PINMUX_PA14H_GCLK_IO0 ((PIN_PA14H_GCLK_IO0 << 16) | MUX_PA14H_GCLK_IO0)
  379. #define PORT_PA14H_GCLK_IO0 (_UL_(1) << 14)
  380. #define PIN_PA27H_GCLK_IO0 _L_(27) /**< GCLK signal: IO0 on PA27 mux H*/
  381. #define MUX_PA27H_GCLK_IO0 _L_(7)
  382. #define PINMUX_PA27H_GCLK_IO0 ((PIN_PA27H_GCLK_IO0 << 16) | MUX_PA27H_GCLK_IO0)
  383. #define PORT_PA27H_GCLK_IO0 (_UL_(1) << 27)
  384. #define PIN_PA23H_GCLK_IO1 _L_(23) /**< GCLK signal: IO1 on PA23 mux H*/
  385. #define MUX_PA23H_GCLK_IO1 _L_(7)
  386. #define PINMUX_PA23H_GCLK_IO1 ((PIN_PA23H_GCLK_IO1 << 16) | MUX_PA23H_GCLK_IO1)
  387. #define PORT_PA23H_GCLK_IO1 (_UL_(1) << 23)
  388. #define PIN_PA15H_GCLK_IO1 _L_(15) /**< GCLK signal: IO1 on PA15 mux H*/
  389. #define MUX_PA15H_GCLK_IO1 _L_(7)
  390. #define PINMUX_PA15H_GCLK_IO1 ((PIN_PA15H_GCLK_IO1 << 16) | MUX_PA15H_GCLK_IO1)
  391. #define PORT_PA15H_GCLK_IO1 (_UL_(1) << 15)
  392. #define PIN_PA16H_GCLK_IO2 _L_(16) /**< GCLK signal: IO2 on PA16 mux H*/
  393. #define MUX_PA16H_GCLK_IO2 _L_(7)
  394. #define PINMUX_PA16H_GCLK_IO2 ((PIN_PA16H_GCLK_IO2 << 16) | MUX_PA16H_GCLK_IO2)
  395. #define PORT_PA16H_GCLK_IO2 (_UL_(1) << 16)
  396. #define PIN_PA22H_GCLK_IO2 _L_(22) /**< GCLK signal: IO2 on PA22 mux H*/
  397. #define MUX_PA22H_GCLK_IO2 _L_(7)
  398. #define PINMUX_PA22H_GCLK_IO2 ((PIN_PA22H_GCLK_IO2 << 16) | MUX_PA22H_GCLK_IO2)
  399. #define PORT_PA22H_GCLK_IO2 (_UL_(1) << 22)
  400. #define PIN_PA11H_GCLK_IO3 _L_(11) /**< GCLK signal: IO3 on PA11 mux H*/
  401. #define MUX_PA11H_GCLK_IO3 _L_(7)
  402. #define PINMUX_PA11H_GCLK_IO3 ((PIN_PA11H_GCLK_IO3 << 16) | MUX_PA11H_GCLK_IO3)
  403. #define PORT_PA11H_GCLK_IO3 (_UL_(1) << 11)
  404. #define PIN_PA17H_GCLK_IO3 _L_(17) /**< GCLK signal: IO3 on PA17 mux H*/
  405. #define MUX_PA17H_GCLK_IO3 _L_(7)
  406. #define PINMUX_PA17H_GCLK_IO3 ((PIN_PA17H_GCLK_IO3 << 16) | MUX_PA17H_GCLK_IO3)
  407. #define PORT_PA17H_GCLK_IO3 (_UL_(1) << 17)
  408. #define PIN_PA10H_GCLK_IO4 _L_(10) /**< GCLK signal: IO4 on PA10 mux H*/
  409. #define MUX_PA10H_GCLK_IO4 _L_(7)
  410. #define PINMUX_PA10H_GCLK_IO4 ((PIN_PA10H_GCLK_IO4 << 16) | MUX_PA10H_GCLK_IO4)
  411. #define PORT_PA10H_GCLK_IO4 (_UL_(1) << 10)
  412. /* ========== PORT definition for OPAMP peripheral ========== */
  413. #define PIN_PA02B_OPAMP_OANEG0 _L_(2) /**< OPAMP signal: OANEG0 on PA02 mux B*/
  414. #define MUX_PA02B_OPAMP_OANEG0 _L_(1)
  415. #define PINMUX_PA02B_OPAMP_OANEG0 ((PIN_PA02B_OPAMP_OANEG0 << 16) | MUX_PA02B_OPAMP_OANEG0)
  416. #define PORT_PA02B_OPAMP_OANEG0 (_UL_(1) << 2)
  417. #define PIN_PA00B_OPAMP_OANEG1 _L_(0) /**< OPAMP signal: OANEG1 on PA00 mux B*/
  418. #define MUX_PA00B_OPAMP_OANEG1 _L_(1)
  419. #define PINMUX_PA00B_OPAMP_OANEG1 ((PIN_PA00B_OPAMP_OANEG1 << 16) | MUX_PA00B_OPAMP_OANEG1)
  420. #define PORT_PA00B_OPAMP_OANEG1 (_UL_(1) << 0)
  421. #define PIN_PA03B_OPAMP_OANEG2 _L_(3) /**< OPAMP signal: OANEG2 on PA03 mux B*/
  422. #define MUX_PA03B_OPAMP_OANEG2 _L_(1)
  423. #define PINMUX_PA03B_OPAMP_OANEG2 ((PIN_PA03B_OPAMP_OANEG2 << 16) | MUX_PA03B_OPAMP_OANEG2)
  424. #define PORT_PA03B_OPAMP_OANEG2 (_UL_(1) << 3)
  425. #define PIN_PA07B_OPAMP_OAOUT0 _L_(7) /**< OPAMP signal: OAOUT0 on PA07 mux B*/
  426. #define MUX_PA07B_OPAMP_OAOUT0 _L_(1)
  427. #define PINMUX_PA07B_OPAMP_OAOUT0 ((PIN_PA07B_OPAMP_OAOUT0 << 16) | MUX_PA07B_OPAMP_OAOUT0)
  428. #define PORT_PA07B_OPAMP_OAOUT0 (_UL_(1) << 7)
  429. #define PIN_PA04B_OPAMP_OAOUT2 _L_(4) /**< OPAMP signal: OAOUT2 on PA04 mux B*/
  430. #define MUX_PA04B_OPAMP_OAOUT2 _L_(1)
  431. #define PINMUX_PA04B_OPAMP_OAOUT2 ((PIN_PA04B_OPAMP_OAOUT2 << 16) | MUX_PA04B_OPAMP_OAOUT2)
  432. #define PORT_PA04B_OPAMP_OAOUT2 (_UL_(1) << 4)
  433. #define PIN_PA06B_OPAMP_OAPOS0 _L_(6) /**< OPAMP signal: OAPOS0 on PA06 mux B*/
  434. #define MUX_PA06B_OPAMP_OAPOS0 _L_(1)
  435. #define PINMUX_PA06B_OPAMP_OAPOS0 ((PIN_PA06B_OPAMP_OAPOS0 << 16) | MUX_PA06B_OPAMP_OAPOS0)
  436. #define PORT_PA06B_OPAMP_OAPOS0 (_UL_(1) << 6)
  437. #define PIN_PA01B_OPAMP_OAPOS1 _L_(1) /**< OPAMP signal: OAPOS1 on PA01 mux B*/
  438. #define MUX_PA01B_OPAMP_OAPOS1 _L_(1)
  439. #define PINMUX_PA01B_OPAMP_OAPOS1 ((PIN_PA01B_OPAMP_OAPOS1 << 16) | MUX_PA01B_OPAMP_OAPOS1)
  440. #define PORT_PA01B_OPAMP_OAPOS1 (_UL_(1) << 1)
  441. #define PIN_PA05B_OPAMP_OAPOS2 _L_(5) /**< OPAMP signal: OAPOS2 on PA05 mux B*/
  442. #define MUX_PA05B_OPAMP_OAPOS2 _L_(1)
  443. #define PINMUX_PA05B_OPAMP_OAPOS2 ((PIN_PA05B_OPAMP_OAPOS2 << 16) | MUX_PA05B_OPAMP_OAPOS2)
  444. #define PORT_PA05B_OPAMP_OAPOS2 (_UL_(1) << 5)
  445. /* ========== PORT definition for PTC peripheral ========== */
  446. #define PIN_PA00F_PTC_DRV0 _L_(0) /**< PTC signal: DRV0 on PA00 mux F*/
  447. #define MUX_PA00F_PTC_DRV0 _L_(5)
  448. #define PINMUX_PA00F_PTC_DRV0 ((PIN_PA00F_PTC_DRV0 << 16) | MUX_PA00F_PTC_DRV0)
  449. #define PORT_PA00F_PTC_DRV0 (_UL_(1) << 0)
  450. #define PIN_PA01F_PTC_DRV1 _L_(1) /**< PTC signal: DRV1 on PA01 mux F*/
  451. #define MUX_PA01F_PTC_DRV1 _L_(5)
  452. #define PINMUX_PA01F_PTC_DRV1 ((PIN_PA01F_PTC_DRV1 << 16) | MUX_PA01F_PTC_DRV1)
  453. #define PORT_PA01F_PTC_DRV1 (_UL_(1) << 1)
  454. #define PIN_PA02F_PTC_DRV2 _L_(2) /**< PTC signal: DRV2 on PA02 mux F*/
  455. #define MUX_PA02F_PTC_DRV2 _L_(5)
  456. #define PINMUX_PA02F_PTC_DRV2 ((PIN_PA02F_PTC_DRV2 << 16) | MUX_PA02F_PTC_DRV2)
  457. #define PORT_PA02F_PTC_DRV2 (_UL_(1) << 2)
  458. #define PIN_PA03F_PTC_DRV3 _L_(3) /**< PTC signal: DRV3 on PA03 mux F*/
  459. #define MUX_PA03F_PTC_DRV3 _L_(5)
  460. #define PINMUX_PA03F_PTC_DRV3 ((PIN_PA03F_PTC_DRV3 << 16) | MUX_PA03F_PTC_DRV3)
  461. #define PORT_PA03F_PTC_DRV3 (_UL_(1) << 3)
  462. #define PIN_PA05F_PTC_DRV4 _L_(5) /**< PTC signal: DRV4 on PA05 mux F*/
  463. #define MUX_PA05F_PTC_DRV4 _L_(5)
  464. #define PINMUX_PA05F_PTC_DRV4 ((PIN_PA05F_PTC_DRV4 << 16) | MUX_PA05F_PTC_DRV4)
  465. #define PORT_PA05F_PTC_DRV4 (_UL_(1) << 5)
  466. #define PIN_PA06F_PTC_DRV5 _L_(6) /**< PTC signal: DRV5 on PA06 mux F*/
  467. #define MUX_PA06F_PTC_DRV5 _L_(5)
  468. #define PINMUX_PA06F_PTC_DRV5 ((PIN_PA06F_PTC_DRV5 << 16) | MUX_PA06F_PTC_DRV5)
  469. #define PORT_PA06F_PTC_DRV5 (_UL_(1) << 6)
  470. #define PIN_PA08F_PTC_DRV6 _L_(8) /**< PTC signal: DRV6 on PA08 mux F*/
  471. #define MUX_PA08F_PTC_DRV6 _L_(5)
  472. #define PINMUX_PA08F_PTC_DRV6 ((PIN_PA08F_PTC_DRV6 << 16) | MUX_PA08F_PTC_DRV6)
  473. #define PORT_PA08F_PTC_DRV6 (_UL_(1) << 8)
  474. #define PIN_PA09F_PTC_DRV7 _L_(9) /**< PTC signal: DRV7 on PA09 mux F*/
  475. #define MUX_PA09F_PTC_DRV7 _L_(5)
  476. #define PINMUX_PA09F_PTC_DRV7 ((PIN_PA09F_PTC_DRV7 << 16) | MUX_PA09F_PTC_DRV7)
  477. #define PORT_PA09F_PTC_DRV7 (_UL_(1) << 9)
  478. #define PIN_PA10F_PTC_DRV8 _L_(10) /**< PTC signal: DRV8 on PA10 mux F*/
  479. #define MUX_PA10F_PTC_DRV8 _L_(5)
  480. #define PINMUX_PA10F_PTC_DRV8 ((PIN_PA10F_PTC_DRV8 << 16) | MUX_PA10F_PTC_DRV8)
  481. #define PORT_PA10F_PTC_DRV8 (_UL_(1) << 10)
  482. #define PIN_PA11F_PTC_DRV9 _L_(11) /**< PTC signal: DRV9 on PA11 mux F*/
  483. #define MUX_PA11F_PTC_DRV9 _L_(5)
  484. #define PINMUX_PA11F_PTC_DRV9 ((PIN_PA11F_PTC_DRV9 << 16) | MUX_PA11F_PTC_DRV9)
  485. #define PORT_PA11F_PTC_DRV9 (_UL_(1) << 11)
  486. #define PIN_PA14F_PTC_DRV10 _L_(14) /**< PTC signal: DRV10 on PA14 mux F*/
  487. #define MUX_PA14F_PTC_DRV10 _L_(5)
  488. #define PINMUX_PA14F_PTC_DRV10 ((PIN_PA14F_PTC_DRV10 << 16) | MUX_PA14F_PTC_DRV10)
  489. #define PORT_PA14F_PTC_DRV10 (_UL_(1) << 14)
  490. #define PIN_PA15F_PTC_DRV11 _L_(15) /**< PTC signal: DRV11 on PA15 mux F*/
  491. #define MUX_PA15F_PTC_DRV11 _L_(5)
  492. #define PINMUX_PA15F_PTC_DRV11 ((PIN_PA15F_PTC_DRV11 << 16) | MUX_PA15F_PTC_DRV11)
  493. #define PORT_PA15F_PTC_DRV11 (_UL_(1) << 15)
  494. #define PIN_PA16F_PTC_DRV12 _L_(16) /**< PTC signal: DRV12 on PA16 mux F*/
  495. #define MUX_PA16F_PTC_DRV12 _L_(5)
  496. #define PINMUX_PA16F_PTC_DRV12 ((PIN_PA16F_PTC_DRV12 << 16) | MUX_PA16F_PTC_DRV12)
  497. #define PORT_PA16F_PTC_DRV12 (_UL_(1) << 16)
  498. #define PIN_PA17F_PTC_DRV13 _L_(17) /**< PTC signal: DRV13 on PA17 mux F*/
  499. #define MUX_PA17F_PTC_DRV13 _L_(5)
  500. #define PINMUX_PA17F_PTC_DRV13 ((PIN_PA17F_PTC_DRV13 << 16) | MUX_PA17F_PTC_DRV13)
  501. #define PORT_PA17F_PTC_DRV13 (_UL_(1) << 17)
  502. #define PIN_PA18F_PTC_DRV14 _L_(18) /**< PTC signal: DRV14 on PA18 mux F*/
  503. #define MUX_PA18F_PTC_DRV14 _L_(5)
  504. #define PINMUX_PA18F_PTC_DRV14 ((PIN_PA18F_PTC_DRV14 << 16) | MUX_PA18F_PTC_DRV14)
  505. #define PORT_PA18F_PTC_DRV14 (_UL_(1) << 18)
  506. #define PIN_PA19F_PTC_DRV15 _L_(19) /**< PTC signal: DRV15 on PA19 mux F*/
  507. #define MUX_PA19F_PTC_DRV15 _L_(5)
  508. #define PINMUX_PA19F_PTC_DRV15 ((PIN_PA19F_PTC_DRV15 << 16) | MUX_PA19F_PTC_DRV15)
  509. #define PORT_PA19F_PTC_DRV15 (_UL_(1) << 19)
  510. #define PIN_PA22F_PTC_DRV16 _L_(22) /**< PTC signal: DRV16 on PA22 mux F*/
  511. #define MUX_PA22F_PTC_DRV16 _L_(5)
  512. #define PINMUX_PA22F_PTC_DRV16 ((PIN_PA22F_PTC_DRV16 << 16) | MUX_PA22F_PTC_DRV16)
  513. #define PORT_PA22F_PTC_DRV16 (_UL_(1) << 22)
  514. #define PIN_PA23F_PTC_DRV17 _L_(23) /**< PTC signal: DRV17 on PA23 mux F*/
  515. #define MUX_PA23F_PTC_DRV17 _L_(5)
  516. #define PINMUX_PA23F_PTC_DRV17 ((PIN_PA23F_PTC_DRV17 << 16) | MUX_PA23F_PTC_DRV17)
  517. #define PORT_PA23F_PTC_DRV17 (_UL_(1) << 23)
  518. #define PIN_PA30F_PTC_DRV18 _L_(30) /**< PTC signal: DRV18 on PA30 mux F*/
  519. #define MUX_PA30F_PTC_DRV18 _L_(5)
  520. #define PINMUX_PA30F_PTC_DRV18 ((PIN_PA30F_PTC_DRV18 << 16) | MUX_PA30F_PTC_DRV18)
  521. #define PORT_PA30F_PTC_DRV18 (_UL_(1) << 30)
  522. #define PIN_PA31F_PTC_DRV19 _L_(31) /**< PTC signal: DRV19 on PA31 mux F*/
  523. #define MUX_PA31F_PTC_DRV19 _L_(5)
  524. #define PINMUX_PA31F_PTC_DRV19 ((PIN_PA31F_PTC_DRV19 << 16) | MUX_PA31F_PTC_DRV19)
  525. #define PORT_PA31F_PTC_DRV19 (_UL_(1) << 31)
  526. #define PIN_PA03B_PTC_ECI0 _L_(3) /**< PTC signal: ECI0 on PA03 mux B*/
  527. #define MUX_PA03B_PTC_ECI0 _L_(1)
  528. #define PINMUX_PA03B_PTC_ECI0 ((PIN_PA03B_PTC_ECI0 << 16) | MUX_PA03B_PTC_ECI0)
  529. #define PORT_PA03B_PTC_ECI0 (_UL_(1) << 3)
  530. #define PIN_PA04B_PTC_ECI1 _L_(4) /**< PTC signal: ECI1 on PA04 mux B*/
  531. #define MUX_PA04B_PTC_ECI1 _L_(1)
  532. #define PINMUX_PA04B_PTC_ECI1 ((PIN_PA04B_PTC_ECI1 << 16) | MUX_PA04B_PTC_ECI1)
  533. #define PORT_PA04B_PTC_ECI1 (_UL_(1) << 4)
  534. #define PIN_PA05B_PTC_ECI2 _L_(5) /**< PTC signal: ECI2 on PA05 mux B*/
  535. #define MUX_PA05B_PTC_ECI2 _L_(1)
  536. #define PINMUX_PA05B_PTC_ECI2 ((PIN_PA05B_PTC_ECI2 << 16) | MUX_PA05B_PTC_ECI2)
  537. #define PORT_PA05B_PTC_ECI2 (_UL_(1) << 5)
  538. #define PIN_PA06B_PTC_ECI3 _L_(6) /**< PTC signal: ECI3 on PA06 mux B*/
  539. #define MUX_PA06B_PTC_ECI3 _L_(1)
  540. #define PINMUX_PA06B_PTC_ECI3 ((PIN_PA06B_PTC_ECI3 << 16) | MUX_PA06B_PTC_ECI3)
  541. #define PORT_PA06B_PTC_ECI3 (_UL_(1) << 6)
  542. #define PIN_PA00B_PTC_X0 _L_(0) /**< PTC signal: X0 on PA00 mux B*/
  543. #define MUX_PA00B_PTC_X0 _L_(1)
  544. #define PINMUX_PA00B_PTC_X0 ((PIN_PA00B_PTC_X0 << 16) | MUX_PA00B_PTC_X0)
  545. #define PORT_PA00B_PTC_X0 (_UL_(1) << 0)
  546. #define PIN_PA00B_PTC_Y0 _L_(0) /**< PTC signal: Y0 on PA00 mux B*/
  547. #define MUX_PA00B_PTC_Y0 _L_(1)
  548. #define PINMUX_PA00B_PTC_Y0 ((PIN_PA00B_PTC_Y0 << 16) | MUX_PA00B_PTC_Y0)
  549. #define PORT_PA00B_PTC_Y0 (_UL_(1) << 0)
  550. #define PIN_PA01B_PTC_X1 _L_(1) /**< PTC signal: X1 on PA01 mux B*/
  551. #define MUX_PA01B_PTC_X1 _L_(1)
  552. #define PINMUX_PA01B_PTC_X1 ((PIN_PA01B_PTC_X1 << 16) | MUX_PA01B_PTC_X1)
  553. #define PORT_PA01B_PTC_X1 (_UL_(1) << 1)
  554. #define PIN_PA01B_PTC_Y1 _L_(1) /**< PTC signal: Y1 on PA01 mux B*/
  555. #define MUX_PA01B_PTC_Y1 _L_(1)
  556. #define PINMUX_PA01B_PTC_Y1 ((PIN_PA01B_PTC_Y1 << 16) | MUX_PA01B_PTC_Y1)
  557. #define PORT_PA01B_PTC_Y1 (_UL_(1) << 1)
  558. #define PIN_PA02B_PTC_X2 _L_(2) /**< PTC signal: X2 on PA02 mux B*/
  559. #define MUX_PA02B_PTC_X2 _L_(1)
  560. #define PINMUX_PA02B_PTC_X2 ((PIN_PA02B_PTC_X2 << 16) | MUX_PA02B_PTC_X2)
  561. #define PORT_PA02B_PTC_X2 (_UL_(1) << 2)
  562. #define PIN_PA02B_PTC_Y2 _L_(2) /**< PTC signal: Y2 on PA02 mux B*/
  563. #define MUX_PA02B_PTC_Y2 _L_(1)
  564. #define PINMUX_PA02B_PTC_Y2 ((PIN_PA02B_PTC_Y2 << 16) | MUX_PA02B_PTC_Y2)
  565. #define PORT_PA02B_PTC_Y2 (_UL_(1) << 2)
  566. #define PIN_PA03B_PTC_X3 _L_(3) /**< PTC signal: X3 on PA03 mux B*/
  567. #define MUX_PA03B_PTC_X3 _L_(1)
  568. #define PINMUX_PA03B_PTC_X3 ((PIN_PA03B_PTC_X3 << 16) | MUX_PA03B_PTC_X3)
  569. #define PORT_PA03B_PTC_X3 (_UL_(1) << 3)
  570. #define PIN_PA03B_PTC_Y3 _L_(3) /**< PTC signal: Y3 on PA03 mux B*/
  571. #define MUX_PA03B_PTC_Y3 _L_(1)
  572. #define PINMUX_PA03B_PTC_Y3 ((PIN_PA03B_PTC_Y3 << 16) | MUX_PA03B_PTC_Y3)
  573. #define PORT_PA03B_PTC_Y3 (_UL_(1) << 3)
  574. #define PIN_PA05B_PTC_X4 _L_(5) /**< PTC signal: X4 on PA05 mux B*/
  575. #define MUX_PA05B_PTC_X4 _L_(1)
  576. #define PINMUX_PA05B_PTC_X4 ((PIN_PA05B_PTC_X4 << 16) | MUX_PA05B_PTC_X4)
  577. #define PORT_PA05B_PTC_X4 (_UL_(1) << 5)
  578. #define PIN_PA05B_PTC_Y4 _L_(5) /**< PTC signal: Y4 on PA05 mux B*/
  579. #define MUX_PA05B_PTC_Y4 _L_(1)
  580. #define PINMUX_PA05B_PTC_Y4 ((PIN_PA05B_PTC_Y4 << 16) | MUX_PA05B_PTC_Y4)
  581. #define PORT_PA05B_PTC_Y4 (_UL_(1) << 5)
  582. #define PIN_PA06B_PTC_X5 _L_(6) /**< PTC signal: X5 on PA06 mux B*/
  583. #define MUX_PA06B_PTC_X5 _L_(1)
  584. #define PINMUX_PA06B_PTC_X5 ((PIN_PA06B_PTC_X5 << 16) | MUX_PA06B_PTC_X5)
  585. #define PORT_PA06B_PTC_X5 (_UL_(1) << 6)
  586. #define PIN_PA06B_PTC_Y5 _L_(6) /**< PTC signal: Y5 on PA06 mux B*/
  587. #define MUX_PA06B_PTC_Y5 _L_(1)
  588. #define PINMUX_PA06B_PTC_Y5 ((PIN_PA06B_PTC_Y5 << 16) | MUX_PA06B_PTC_Y5)
  589. #define PORT_PA06B_PTC_Y5 (_UL_(1) << 6)
  590. #define PIN_PA08B_PTC_X6 _L_(8) /**< PTC signal: X6 on PA08 mux B*/
  591. #define MUX_PA08B_PTC_X6 _L_(1)
  592. #define PINMUX_PA08B_PTC_X6 ((PIN_PA08B_PTC_X6 << 16) | MUX_PA08B_PTC_X6)
  593. #define PORT_PA08B_PTC_X6 (_UL_(1) << 8)
  594. #define PIN_PA08B_PTC_Y6 _L_(8) /**< PTC signal: Y6 on PA08 mux B*/
  595. #define MUX_PA08B_PTC_Y6 _L_(1)
  596. #define PINMUX_PA08B_PTC_Y6 ((PIN_PA08B_PTC_Y6 << 16) | MUX_PA08B_PTC_Y6)
  597. #define PORT_PA08B_PTC_Y6 (_UL_(1) << 8)
  598. #define PIN_PA09B_PTC_X7 _L_(9) /**< PTC signal: X7 on PA09 mux B*/
  599. #define MUX_PA09B_PTC_X7 _L_(1)
  600. #define PINMUX_PA09B_PTC_X7 ((PIN_PA09B_PTC_X7 << 16) | MUX_PA09B_PTC_X7)
  601. #define PORT_PA09B_PTC_X7 (_UL_(1) << 9)
  602. #define PIN_PA09B_PTC_Y7 _L_(9) /**< PTC signal: Y7 on PA09 mux B*/
  603. #define MUX_PA09B_PTC_Y7 _L_(1)
  604. #define PINMUX_PA09B_PTC_Y7 ((PIN_PA09B_PTC_Y7 << 16) | MUX_PA09B_PTC_Y7)
  605. #define PORT_PA09B_PTC_Y7 (_UL_(1) << 9)
  606. #define PIN_PA10B_PTC_X8 _L_(10) /**< PTC signal: X8 on PA10 mux B*/
  607. #define MUX_PA10B_PTC_X8 _L_(1)
  608. #define PINMUX_PA10B_PTC_X8 ((PIN_PA10B_PTC_X8 << 16) | MUX_PA10B_PTC_X8)
  609. #define PORT_PA10B_PTC_X8 (_UL_(1) << 10)
  610. #define PIN_PA10B_PTC_Y8 _L_(10) /**< PTC signal: Y8 on PA10 mux B*/
  611. #define MUX_PA10B_PTC_Y8 _L_(1)
  612. #define PINMUX_PA10B_PTC_Y8 ((PIN_PA10B_PTC_Y8 << 16) | MUX_PA10B_PTC_Y8)
  613. #define PORT_PA10B_PTC_Y8 (_UL_(1) << 10)
  614. #define PIN_PA11B_PTC_X9 _L_(11) /**< PTC signal: X9 on PA11 mux B*/
  615. #define MUX_PA11B_PTC_X9 _L_(1)
  616. #define PINMUX_PA11B_PTC_X9 ((PIN_PA11B_PTC_X9 << 16) | MUX_PA11B_PTC_X9)
  617. #define PORT_PA11B_PTC_X9 (_UL_(1) << 11)
  618. #define PIN_PA11B_PTC_Y9 _L_(11) /**< PTC signal: Y9 on PA11 mux B*/
  619. #define MUX_PA11B_PTC_Y9 _L_(1)
  620. #define PINMUX_PA11B_PTC_Y9 ((PIN_PA11B_PTC_Y9 << 16) | MUX_PA11B_PTC_Y9)
  621. #define PORT_PA11B_PTC_Y9 (_UL_(1) << 11)
  622. #define PIN_PA14B_PTC_X10 _L_(14) /**< PTC signal: X10 on PA14 mux B*/
  623. #define MUX_PA14B_PTC_X10 _L_(1)
  624. #define PINMUX_PA14B_PTC_X10 ((PIN_PA14B_PTC_X10 << 16) | MUX_PA14B_PTC_X10)
  625. #define PORT_PA14B_PTC_X10 (_UL_(1) << 14)
  626. #define PIN_PA14B_PTC_Y10 _L_(14) /**< PTC signal: Y10 on PA14 mux B*/
  627. #define MUX_PA14B_PTC_Y10 _L_(1)
  628. #define PINMUX_PA14B_PTC_Y10 ((PIN_PA14B_PTC_Y10 << 16) | MUX_PA14B_PTC_Y10)
  629. #define PORT_PA14B_PTC_Y10 (_UL_(1) << 14)
  630. #define PIN_PA15B_PTC_X11 _L_(15) /**< PTC signal: X11 on PA15 mux B*/
  631. #define MUX_PA15B_PTC_X11 _L_(1)
  632. #define PINMUX_PA15B_PTC_X11 ((PIN_PA15B_PTC_X11 << 16) | MUX_PA15B_PTC_X11)
  633. #define PORT_PA15B_PTC_X11 (_UL_(1) << 15)
  634. #define PIN_PA15B_PTC_Y11 _L_(15) /**< PTC signal: Y11 on PA15 mux B*/
  635. #define MUX_PA15B_PTC_Y11 _L_(1)
  636. #define PINMUX_PA15B_PTC_Y11 ((PIN_PA15B_PTC_Y11 << 16) | MUX_PA15B_PTC_Y11)
  637. #define PORT_PA15B_PTC_Y11 (_UL_(1) << 15)
  638. #define PIN_PA16B_PTC_X12 _L_(16) /**< PTC signal: X12 on PA16 mux B*/
  639. #define MUX_PA16B_PTC_X12 _L_(1)
  640. #define PINMUX_PA16B_PTC_X12 ((PIN_PA16B_PTC_X12 << 16) | MUX_PA16B_PTC_X12)
  641. #define PORT_PA16B_PTC_X12 (_UL_(1) << 16)
  642. #define PIN_PA16B_PTC_Y12 _L_(16) /**< PTC signal: Y12 on PA16 mux B*/
  643. #define MUX_PA16B_PTC_Y12 _L_(1)
  644. #define PINMUX_PA16B_PTC_Y12 ((PIN_PA16B_PTC_Y12 << 16) | MUX_PA16B_PTC_Y12)
  645. #define PORT_PA16B_PTC_Y12 (_UL_(1) << 16)
  646. #define PIN_PA17B_PTC_X13 _L_(17) /**< PTC signal: X13 on PA17 mux B*/
  647. #define MUX_PA17B_PTC_X13 _L_(1)
  648. #define PINMUX_PA17B_PTC_X13 ((PIN_PA17B_PTC_X13 << 16) | MUX_PA17B_PTC_X13)
  649. #define PORT_PA17B_PTC_X13 (_UL_(1) << 17)
  650. #define PIN_PA17B_PTC_Y13 _L_(17) /**< PTC signal: Y13 on PA17 mux B*/
  651. #define MUX_PA17B_PTC_Y13 _L_(1)
  652. #define PINMUX_PA17B_PTC_Y13 ((PIN_PA17B_PTC_Y13 << 16) | MUX_PA17B_PTC_Y13)
  653. #define PORT_PA17B_PTC_Y13 (_UL_(1) << 17)
  654. #define PIN_PA18B_PTC_X14 _L_(18) /**< PTC signal: X14 on PA18 mux B*/
  655. #define MUX_PA18B_PTC_X14 _L_(1)
  656. #define PINMUX_PA18B_PTC_X14 ((PIN_PA18B_PTC_X14 << 16) | MUX_PA18B_PTC_X14)
  657. #define PORT_PA18B_PTC_X14 (_UL_(1) << 18)
  658. #define PIN_PA18B_PTC_Y14 _L_(18) /**< PTC signal: Y14 on PA18 mux B*/
  659. #define MUX_PA18B_PTC_Y14 _L_(1)
  660. #define PINMUX_PA18B_PTC_Y14 ((PIN_PA18B_PTC_Y14 << 16) | MUX_PA18B_PTC_Y14)
  661. #define PORT_PA18B_PTC_Y14 (_UL_(1) << 18)
  662. #define PIN_PA19B_PTC_X15 _L_(19) /**< PTC signal: X15 on PA19 mux B*/
  663. #define MUX_PA19B_PTC_X15 _L_(1)
  664. #define PINMUX_PA19B_PTC_X15 ((PIN_PA19B_PTC_X15 << 16) | MUX_PA19B_PTC_X15)
  665. #define PORT_PA19B_PTC_X15 (_UL_(1) << 19)
  666. #define PIN_PA19B_PTC_Y15 _L_(19) /**< PTC signal: Y15 on PA19 mux B*/
  667. #define MUX_PA19B_PTC_Y15 _L_(1)
  668. #define PINMUX_PA19B_PTC_Y15 ((PIN_PA19B_PTC_Y15 << 16) | MUX_PA19B_PTC_Y15)
  669. #define PORT_PA19B_PTC_Y15 (_UL_(1) << 19)
  670. #define PIN_PA22B_PTC_X16 _L_(22) /**< PTC signal: X16 on PA22 mux B*/
  671. #define MUX_PA22B_PTC_X16 _L_(1)
  672. #define PINMUX_PA22B_PTC_X16 ((PIN_PA22B_PTC_X16 << 16) | MUX_PA22B_PTC_X16)
  673. #define PORT_PA22B_PTC_X16 (_UL_(1) << 22)
  674. #define PIN_PA22B_PTC_Y16 _L_(22) /**< PTC signal: Y16 on PA22 mux B*/
  675. #define MUX_PA22B_PTC_Y16 _L_(1)
  676. #define PINMUX_PA22B_PTC_Y16 ((PIN_PA22B_PTC_Y16 << 16) | MUX_PA22B_PTC_Y16)
  677. #define PORT_PA22B_PTC_Y16 (_UL_(1) << 22)
  678. #define PIN_PA23B_PTC_X17 _L_(23) /**< PTC signal: X17 on PA23 mux B*/
  679. #define MUX_PA23B_PTC_X17 _L_(1)
  680. #define PINMUX_PA23B_PTC_X17 ((PIN_PA23B_PTC_X17 << 16) | MUX_PA23B_PTC_X17)
  681. #define PORT_PA23B_PTC_X17 (_UL_(1) << 23)
  682. #define PIN_PA23B_PTC_Y17 _L_(23) /**< PTC signal: Y17 on PA23 mux B*/
  683. #define MUX_PA23B_PTC_Y17 _L_(1)
  684. #define PINMUX_PA23B_PTC_Y17 ((PIN_PA23B_PTC_Y17 << 16) | MUX_PA23B_PTC_Y17)
  685. #define PORT_PA23B_PTC_Y17 (_UL_(1) << 23)
  686. #define PIN_PA30B_PTC_X18 _L_(30) /**< PTC signal: X18 on PA30 mux B*/
  687. #define MUX_PA30B_PTC_X18 _L_(1)
  688. #define PINMUX_PA30B_PTC_X18 ((PIN_PA30B_PTC_X18 << 16) | MUX_PA30B_PTC_X18)
  689. #define PORT_PA30B_PTC_X18 (_UL_(1) << 30)
  690. #define PIN_PA30B_PTC_Y18 _L_(30) /**< PTC signal: Y18 on PA30 mux B*/
  691. #define MUX_PA30B_PTC_Y18 _L_(1)
  692. #define PINMUX_PA30B_PTC_Y18 ((PIN_PA30B_PTC_Y18 << 16) | MUX_PA30B_PTC_Y18)
  693. #define PORT_PA30B_PTC_Y18 (_UL_(1) << 30)
  694. #define PIN_PA31B_PTC_X19 _L_(31) /**< PTC signal: X19 on PA31 mux B*/
  695. #define MUX_PA31B_PTC_X19 _L_(1)
  696. #define PINMUX_PA31B_PTC_X19 ((PIN_PA31B_PTC_X19 << 16) | MUX_PA31B_PTC_X19)
  697. #define PORT_PA31B_PTC_X19 (_UL_(1) << 31)
  698. #define PIN_PA31B_PTC_Y19 _L_(31) /**< PTC signal: Y19 on PA31 mux B*/
  699. #define MUX_PA31B_PTC_Y19 _L_(1)
  700. #define PINMUX_PA31B_PTC_Y19 ((PIN_PA31B_PTC_Y19 << 16) | MUX_PA31B_PTC_Y19)
  701. #define PORT_PA31B_PTC_Y19 (_UL_(1) << 31)
  702. /* ========== PORT definition for RTC peripheral ========== */
  703. #define PIN_PA08G_RTC_IN0 _L_(8) /**< RTC signal: IN0 on PA08 mux G*/
  704. #define MUX_PA08G_RTC_IN0 _L_(6)
  705. #define PINMUX_PA08G_RTC_IN0 ((PIN_PA08G_RTC_IN0 << 16) | MUX_PA08G_RTC_IN0)
  706. #define PORT_PA08G_RTC_IN0 (_UL_(1) << 8)
  707. #define PIN_PA09G_RTC_IN1 _L_(9) /**< RTC signal: IN1 on PA09 mux G*/
  708. #define MUX_PA09G_RTC_IN1 _L_(6)
  709. #define PINMUX_PA09G_RTC_IN1 ((PIN_PA09G_RTC_IN1 << 16) | MUX_PA09G_RTC_IN1)
  710. #define PORT_PA09G_RTC_IN1 (_UL_(1) << 9)
  711. #define PIN_PA16G_RTC_IN2 _L_(16) /**< RTC signal: IN2 on PA16 mux G*/
  712. #define MUX_PA16G_RTC_IN2 _L_(6)
  713. #define PINMUX_PA16G_RTC_IN2 ((PIN_PA16G_RTC_IN2 << 16) | MUX_PA16G_RTC_IN2)
  714. #define PORT_PA16G_RTC_IN2 (_UL_(1) << 16)
  715. #define PIN_PA17G_RTC_IN3 _L_(17) /**< RTC signal: IN3 on PA17 mux G*/
  716. #define MUX_PA17G_RTC_IN3 _L_(6)
  717. #define PINMUX_PA17G_RTC_IN3 ((PIN_PA17G_RTC_IN3 << 16) | MUX_PA17G_RTC_IN3)
  718. #define PORT_PA17G_RTC_IN3 (_UL_(1) << 17)
  719. #define PIN_PA18G_RTC_OUT0 _L_(18) /**< RTC signal: OUT0 on PA18 mux G*/
  720. #define MUX_PA18G_RTC_OUT0 _L_(6)
  721. #define PINMUX_PA18G_RTC_OUT0 ((PIN_PA18G_RTC_OUT0 << 16) | MUX_PA18G_RTC_OUT0)
  722. #define PORT_PA18G_RTC_OUT0 (_UL_(1) << 18)
  723. #define PIN_PA19G_RTC_OUT1 _L_(19) /**< RTC signal: OUT1 on PA19 mux G*/
  724. #define MUX_PA19G_RTC_OUT1 _L_(6)
  725. #define PINMUX_PA19G_RTC_OUT1 ((PIN_PA19G_RTC_OUT1 << 16) | MUX_PA19G_RTC_OUT1)
  726. #define PORT_PA19G_RTC_OUT1 (_UL_(1) << 19)
  727. #define PIN_PA22G_RTC_OUT2 _L_(22) /**< RTC signal: OUT2 on PA22 mux G*/
  728. #define MUX_PA22G_RTC_OUT2 _L_(6)
  729. #define PINMUX_PA22G_RTC_OUT2 ((PIN_PA22G_RTC_OUT2 << 16) | MUX_PA22G_RTC_OUT2)
  730. #define PORT_PA22G_RTC_OUT2 (_UL_(1) << 22)
  731. #define PIN_PA23G_RTC_OUT3 _L_(23) /**< RTC signal: OUT3 on PA23 mux G*/
  732. #define MUX_PA23G_RTC_OUT3 _L_(6)
  733. #define PINMUX_PA23G_RTC_OUT3 ((PIN_PA23G_RTC_OUT3 << 16) | MUX_PA23G_RTC_OUT3)
  734. #define PORT_PA23G_RTC_OUT3 (_UL_(1) << 23)
  735. /* ========== PORT definition for SERCOM0 peripheral ========== */
  736. #define PIN_PA04D_SERCOM0_PAD0 _L_(4) /**< SERCOM0 signal: PAD0 on PA04 mux D*/
  737. #define MUX_PA04D_SERCOM0_PAD0 _L_(3)
  738. #define PINMUX_PA04D_SERCOM0_PAD0 ((PIN_PA04D_SERCOM0_PAD0 << 16) | MUX_PA04D_SERCOM0_PAD0)
  739. #define PORT_PA04D_SERCOM0_PAD0 (_UL_(1) << 4)
  740. #define PIN_PA16D_SERCOM0_PAD0 _L_(16) /**< SERCOM0 signal: PAD0 on PA16 mux D*/
  741. #define MUX_PA16D_SERCOM0_PAD0 _L_(3)
  742. #define PINMUX_PA16D_SERCOM0_PAD0 ((PIN_PA16D_SERCOM0_PAD0 << 16) | MUX_PA16D_SERCOM0_PAD0)
  743. #define PORT_PA16D_SERCOM0_PAD0 (_UL_(1) << 16)
  744. #define PIN_PA22C_SERCOM0_PAD0 _L_(22) /**< SERCOM0 signal: PAD0 on PA22 mux C*/
  745. #define MUX_PA22C_SERCOM0_PAD0 _L_(2)
  746. #define PINMUX_PA22C_SERCOM0_PAD0 ((PIN_PA22C_SERCOM0_PAD0 << 16) | MUX_PA22C_SERCOM0_PAD0)
  747. #define PORT_PA22C_SERCOM0_PAD0 (_UL_(1) << 22)
  748. #define PIN_PA05D_SERCOM0_PAD1 _L_(5) /**< SERCOM0 signal: PAD1 on PA05 mux D*/
  749. #define MUX_PA05D_SERCOM0_PAD1 _L_(3)
  750. #define PINMUX_PA05D_SERCOM0_PAD1 ((PIN_PA05D_SERCOM0_PAD1 << 16) | MUX_PA05D_SERCOM0_PAD1)
  751. #define PORT_PA05D_SERCOM0_PAD1 (_UL_(1) << 5)
  752. #define PIN_PA17D_SERCOM0_PAD1 _L_(17) /**< SERCOM0 signal: PAD1 on PA17 mux D*/
  753. #define MUX_PA17D_SERCOM0_PAD1 _L_(3)
  754. #define PINMUX_PA17D_SERCOM0_PAD1 ((PIN_PA17D_SERCOM0_PAD1 << 16) | MUX_PA17D_SERCOM0_PAD1)
  755. #define PORT_PA17D_SERCOM0_PAD1 (_UL_(1) << 17)
  756. #define PIN_PA23C_SERCOM0_PAD1 _L_(23) /**< SERCOM0 signal: PAD1 on PA23 mux C*/
  757. #define MUX_PA23C_SERCOM0_PAD1 _L_(2)
  758. #define PINMUX_PA23C_SERCOM0_PAD1 ((PIN_PA23C_SERCOM0_PAD1 << 16) | MUX_PA23C_SERCOM0_PAD1)
  759. #define PORT_PA23C_SERCOM0_PAD1 (_UL_(1) << 23)
  760. #define PIN_PA06D_SERCOM0_PAD2 _L_(6) /**< SERCOM0 signal: PAD2 on PA06 mux D*/
  761. #define MUX_PA06D_SERCOM0_PAD2 _L_(3)
  762. #define PINMUX_PA06D_SERCOM0_PAD2 ((PIN_PA06D_SERCOM0_PAD2 << 16) | MUX_PA06D_SERCOM0_PAD2)
  763. #define PORT_PA06D_SERCOM0_PAD2 (_UL_(1) << 6)
  764. #define PIN_PA14D_SERCOM0_PAD2 _L_(14) /**< SERCOM0 signal: PAD2 on PA14 mux D*/
  765. #define MUX_PA14D_SERCOM0_PAD2 _L_(3)
  766. #define PINMUX_PA14D_SERCOM0_PAD2 ((PIN_PA14D_SERCOM0_PAD2 << 16) | MUX_PA14D_SERCOM0_PAD2)
  767. #define PORT_PA14D_SERCOM0_PAD2 (_UL_(1) << 14)
  768. #define PIN_PA18D_SERCOM0_PAD2 _L_(18) /**< SERCOM0 signal: PAD2 on PA18 mux D*/
  769. #define MUX_PA18D_SERCOM0_PAD2 _L_(3)
  770. #define PINMUX_PA18D_SERCOM0_PAD2 ((PIN_PA18D_SERCOM0_PAD2 << 16) | MUX_PA18D_SERCOM0_PAD2)
  771. #define PORT_PA18D_SERCOM0_PAD2 (_UL_(1) << 18)
  772. #define PIN_PA24C_SERCOM0_PAD2 _L_(24) /**< SERCOM0 signal: PAD2 on PA24 mux C*/
  773. #define MUX_PA24C_SERCOM0_PAD2 _L_(2)
  774. #define PINMUX_PA24C_SERCOM0_PAD2 ((PIN_PA24C_SERCOM0_PAD2 << 16) | MUX_PA24C_SERCOM0_PAD2)
  775. #define PORT_PA24C_SERCOM0_PAD2 (_UL_(1) << 24)
  776. #define PIN_PA02D_SERCOM0_PAD2 _L_(2) /**< SERCOM0 signal: PAD2 on PA02 mux D*/
  777. #define MUX_PA02D_SERCOM0_PAD2 _L_(3)
  778. #define PINMUX_PA02D_SERCOM0_PAD2 ((PIN_PA02D_SERCOM0_PAD2 << 16) | MUX_PA02D_SERCOM0_PAD2)
  779. #define PORT_PA02D_SERCOM0_PAD2 (_UL_(1) << 2)
  780. #define PIN_PA07D_SERCOM0_PAD3 _L_(7) /**< SERCOM0 signal: PAD3 on PA07 mux D*/
  781. #define MUX_PA07D_SERCOM0_PAD3 _L_(3)
  782. #define PINMUX_PA07D_SERCOM0_PAD3 ((PIN_PA07D_SERCOM0_PAD3 << 16) | MUX_PA07D_SERCOM0_PAD3)
  783. #define PORT_PA07D_SERCOM0_PAD3 (_UL_(1) << 7)
  784. #define PIN_PA15D_SERCOM0_PAD3 _L_(15) /**< SERCOM0 signal: PAD3 on PA15 mux D*/
  785. #define MUX_PA15D_SERCOM0_PAD3 _L_(3)
  786. #define PINMUX_PA15D_SERCOM0_PAD3 ((PIN_PA15D_SERCOM0_PAD3 << 16) | MUX_PA15D_SERCOM0_PAD3)
  787. #define PORT_PA15D_SERCOM0_PAD3 (_UL_(1) << 15)
  788. #define PIN_PA19D_SERCOM0_PAD3 _L_(19) /**< SERCOM0 signal: PAD3 on PA19 mux D*/
  789. #define MUX_PA19D_SERCOM0_PAD3 _L_(3)
  790. #define PINMUX_PA19D_SERCOM0_PAD3 ((PIN_PA19D_SERCOM0_PAD3 << 16) | MUX_PA19D_SERCOM0_PAD3)
  791. #define PORT_PA19D_SERCOM0_PAD3 (_UL_(1) << 19)
  792. #define PIN_PA25C_SERCOM0_PAD3 _L_(25) /**< SERCOM0 signal: PAD3 on PA25 mux C*/
  793. #define MUX_PA25C_SERCOM0_PAD3 _L_(2)
  794. #define PINMUX_PA25C_SERCOM0_PAD3 ((PIN_PA25C_SERCOM0_PAD3 << 16) | MUX_PA25C_SERCOM0_PAD3)
  795. #define PORT_PA25C_SERCOM0_PAD3 (_UL_(1) << 25)
  796. #define PIN_PA03D_SERCOM0_PAD3 _L_(3) /**< SERCOM0 signal: PAD3 on PA03 mux D*/
  797. #define MUX_PA03D_SERCOM0_PAD3 _L_(3)
  798. #define PINMUX_PA03D_SERCOM0_PAD3 ((PIN_PA03D_SERCOM0_PAD3 << 16) | MUX_PA03D_SERCOM0_PAD3)
  799. #define PORT_PA03D_SERCOM0_PAD3 (_UL_(1) << 3)
  800. /* ========== PORT definition for SERCOM1 peripheral ========== */
  801. #define PIN_PA16C_SERCOM1_PAD0 _L_(16) /**< SERCOM1 signal: PAD0 on PA16 mux C*/
  802. #define MUX_PA16C_SERCOM1_PAD0 _L_(2)
  803. #define PINMUX_PA16C_SERCOM1_PAD0 ((PIN_PA16C_SERCOM1_PAD0 << 16) | MUX_PA16C_SERCOM1_PAD0)
  804. #define PORT_PA16C_SERCOM1_PAD0 (_UL_(1) << 16)
  805. #define PIN_PA08C_SERCOM1_PAD0 _L_(8) /**< SERCOM1 signal: PAD0 on PA08 mux C*/
  806. #define MUX_PA08C_SERCOM1_PAD0 _L_(2)
  807. #define PINMUX_PA08C_SERCOM1_PAD0 ((PIN_PA08C_SERCOM1_PAD0 << 16) | MUX_PA08C_SERCOM1_PAD0)
  808. #define PORT_PA08C_SERCOM1_PAD0 (_UL_(1) << 8)
  809. #define PIN_PA00D_SERCOM1_PAD0 _L_(0) /**< SERCOM1 signal: PAD0 on PA00 mux D*/
  810. #define MUX_PA00D_SERCOM1_PAD0 _L_(3)
  811. #define PINMUX_PA00D_SERCOM1_PAD0 ((PIN_PA00D_SERCOM1_PAD0 << 16) | MUX_PA00D_SERCOM1_PAD0)
  812. #define PORT_PA00D_SERCOM1_PAD0 (_UL_(1) << 0)
  813. #define PIN_PA17C_SERCOM1_PAD1 _L_(17) /**< SERCOM1 signal: PAD1 on PA17 mux C*/
  814. #define MUX_PA17C_SERCOM1_PAD1 _L_(2)
  815. #define PINMUX_PA17C_SERCOM1_PAD1 ((PIN_PA17C_SERCOM1_PAD1 << 16) | MUX_PA17C_SERCOM1_PAD1)
  816. #define PORT_PA17C_SERCOM1_PAD1 (_UL_(1) << 17)
  817. #define PIN_PA09C_SERCOM1_PAD1 _L_(9) /**< SERCOM1 signal: PAD1 on PA09 mux C*/
  818. #define MUX_PA09C_SERCOM1_PAD1 _L_(2)
  819. #define PINMUX_PA09C_SERCOM1_PAD1 ((PIN_PA09C_SERCOM1_PAD1 << 16) | MUX_PA09C_SERCOM1_PAD1)
  820. #define PORT_PA09C_SERCOM1_PAD1 (_UL_(1) << 9)
  821. #define PIN_PA01D_SERCOM1_PAD1 _L_(1) /**< SERCOM1 signal: PAD1 on PA01 mux D*/
  822. #define MUX_PA01D_SERCOM1_PAD1 _L_(3)
  823. #define PINMUX_PA01D_SERCOM1_PAD1 ((PIN_PA01D_SERCOM1_PAD1 << 16) | MUX_PA01D_SERCOM1_PAD1)
  824. #define PORT_PA01D_SERCOM1_PAD1 (_UL_(1) << 1)
  825. #define PIN_PA18C_SERCOM1_PAD2 _L_(18) /**< SERCOM1 signal: PAD2 on PA18 mux C*/
  826. #define MUX_PA18C_SERCOM1_PAD2 _L_(2)
  827. #define PINMUX_PA18C_SERCOM1_PAD2 ((PIN_PA18C_SERCOM1_PAD2 << 16) | MUX_PA18C_SERCOM1_PAD2)
  828. #define PORT_PA18C_SERCOM1_PAD2 (_UL_(1) << 18)
  829. #define PIN_PA10C_SERCOM1_PAD2 _L_(10) /**< SERCOM1 signal: PAD2 on PA10 mux C*/
  830. #define MUX_PA10C_SERCOM1_PAD2 _L_(2)
  831. #define PINMUX_PA10C_SERCOM1_PAD2 ((PIN_PA10C_SERCOM1_PAD2 << 16) | MUX_PA10C_SERCOM1_PAD2)
  832. #define PORT_PA10C_SERCOM1_PAD2 (_UL_(1) << 10)
  833. #define PIN_PA30D_SERCOM1_PAD2 _L_(30) /**< SERCOM1 signal: PAD2 on PA30 mux D*/
  834. #define MUX_PA30D_SERCOM1_PAD2 _L_(3)
  835. #define PINMUX_PA30D_SERCOM1_PAD2 ((PIN_PA30D_SERCOM1_PAD2 << 16) | MUX_PA30D_SERCOM1_PAD2)
  836. #define PORT_PA30D_SERCOM1_PAD2 (_UL_(1) << 30)
  837. #define PIN_PA19C_SERCOM1_PAD3 _L_(19) /**< SERCOM1 signal: PAD3 on PA19 mux C*/
  838. #define MUX_PA19C_SERCOM1_PAD3 _L_(2)
  839. #define PINMUX_PA19C_SERCOM1_PAD3 ((PIN_PA19C_SERCOM1_PAD3 << 16) | MUX_PA19C_SERCOM1_PAD3)
  840. #define PORT_PA19C_SERCOM1_PAD3 (_UL_(1) << 19)
  841. #define PIN_PA11C_SERCOM1_PAD3 _L_(11) /**< SERCOM1 signal: PAD3 on PA11 mux C*/
  842. #define MUX_PA11C_SERCOM1_PAD3 _L_(2)
  843. #define PINMUX_PA11C_SERCOM1_PAD3 ((PIN_PA11C_SERCOM1_PAD3 << 16) | MUX_PA11C_SERCOM1_PAD3)
  844. #define PORT_PA11C_SERCOM1_PAD3 (_UL_(1) << 11)
  845. #define PIN_PA31D_SERCOM1_PAD3 _L_(31) /**< SERCOM1 signal: PAD3 on PA31 mux D*/
  846. #define MUX_PA31D_SERCOM1_PAD3 _L_(3)
  847. #define PINMUX_PA31D_SERCOM1_PAD3 ((PIN_PA31D_SERCOM1_PAD3 << 16) | MUX_PA31D_SERCOM1_PAD3)
  848. #define PORT_PA31D_SERCOM1_PAD3 (_UL_(1) << 31)
  849. /* ========== PORT definition for SERCOM2 peripheral ========== */
  850. #define PIN_PA08D_SERCOM2_PAD0 _L_(8) /**< SERCOM2 signal: PAD0 on PA08 mux D*/
  851. #define MUX_PA08D_SERCOM2_PAD0 _L_(3)
  852. #define PINMUX_PA08D_SERCOM2_PAD0 ((PIN_PA08D_SERCOM2_PAD0 << 16) | MUX_PA08D_SERCOM2_PAD0)
  853. #define PORT_PA08D_SERCOM2_PAD0 (_UL_(1) << 8)
  854. #define PIN_PA22D_SERCOM2_PAD0 _L_(22) /**< SERCOM2 signal: PAD0 on PA22 mux D*/
  855. #define MUX_PA22D_SERCOM2_PAD0 _L_(3)
  856. #define PINMUX_PA22D_SERCOM2_PAD0 ((PIN_PA22D_SERCOM2_PAD0 << 16) | MUX_PA22D_SERCOM2_PAD0)
  857. #define PORT_PA22D_SERCOM2_PAD0 (_UL_(1) << 22)
  858. #define PIN_PA09D_SERCOM2_PAD1 _L_(9) /**< SERCOM2 signal: PAD1 on PA09 mux D*/
  859. #define MUX_PA09D_SERCOM2_PAD1 _L_(3)
  860. #define PINMUX_PA09D_SERCOM2_PAD1 ((PIN_PA09D_SERCOM2_PAD1 << 16) | MUX_PA09D_SERCOM2_PAD1)
  861. #define PORT_PA09D_SERCOM2_PAD1 (_UL_(1) << 9)
  862. #define PIN_PA23D_SERCOM2_PAD1 _L_(23) /**< SERCOM2 signal: PAD1 on PA23 mux D*/
  863. #define MUX_PA23D_SERCOM2_PAD1 _L_(3)
  864. #define PINMUX_PA23D_SERCOM2_PAD1 ((PIN_PA23D_SERCOM2_PAD1 << 16) | MUX_PA23D_SERCOM2_PAD1)
  865. #define PORT_PA23D_SERCOM2_PAD1 (_UL_(1) << 23)
  866. #define PIN_PA10D_SERCOM2_PAD2 _L_(10) /**< SERCOM2 signal: PAD2 on PA10 mux D*/
  867. #define MUX_PA10D_SERCOM2_PAD2 _L_(3)
  868. #define PINMUX_PA10D_SERCOM2_PAD2 ((PIN_PA10D_SERCOM2_PAD2 << 16) | MUX_PA10D_SERCOM2_PAD2)
  869. #define PORT_PA10D_SERCOM2_PAD2 (_UL_(1) << 10)
  870. #define PIN_PA24D_SERCOM2_PAD2 _L_(24) /**< SERCOM2 signal: PAD2 on PA24 mux D*/
  871. #define MUX_PA24D_SERCOM2_PAD2 _L_(3)
  872. #define PINMUX_PA24D_SERCOM2_PAD2 ((PIN_PA24D_SERCOM2_PAD2 << 16) | MUX_PA24D_SERCOM2_PAD2)
  873. #define PORT_PA24D_SERCOM2_PAD2 (_UL_(1) << 24)
  874. #define PIN_PA14C_SERCOM2_PAD2 _L_(14) /**< SERCOM2 signal: PAD2 on PA14 mux C*/
  875. #define MUX_PA14C_SERCOM2_PAD2 _L_(2)
  876. #define PINMUX_PA14C_SERCOM2_PAD2 ((PIN_PA14C_SERCOM2_PAD2 << 16) | MUX_PA14C_SERCOM2_PAD2)
  877. #define PORT_PA14C_SERCOM2_PAD2 (_UL_(1) << 14)
  878. #define PIN_PA11D_SERCOM2_PAD3 _L_(11) /**< SERCOM2 signal: PAD3 on PA11 mux D*/
  879. #define MUX_PA11D_SERCOM2_PAD3 _L_(3)
  880. #define PINMUX_PA11D_SERCOM2_PAD3 ((PIN_PA11D_SERCOM2_PAD3 << 16) | MUX_PA11D_SERCOM2_PAD3)
  881. #define PORT_PA11D_SERCOM2_PAD3 (_UL_(1) << 11)
  882. #define PIN_PA25D_SERCOM2_PAD3 _L_(25) /**< SERCOM2 signal: PAD3 on PA25 mux D*/
  883. #define MUX_PA25D_SERCOM2_PAD3 _L_(3)
  884. #define PINMUX_PA25D_SERCOM2_PAD3 ((PIN_PA25D_SERCOM2_PAD3 << 16) | MUX_PA25D_SERCOM2_PAD3)
  885. #define PORT_PA25D_SERCOM2_PAD3 (_UL_(1) << 25)
  886. #define PIN_PA15C_SERCOM2_PAD3 _L_(15) /**< SERCOM2 signal: PAD3 on PA15 mux C*/
  887. #define MUX_PA15C_SERCOM2_PAD3 _L_(2)
  888. #define PINMUX_PA15C_SERCOM2_PAD3 ((PIN_PA15C_SERCOM2_PAD3 << 16) | MUX_PA15C_SERCOM2_PAD3)
  889. #define PORT_PA15C_SERCOM2_PAD3 (_UL_(1) << 15)
  890. /* ========== PORT definition for TC0 peripheral ========== */
  891. #define PIN_PA04E_TC0_WO0 _L_(4) /**< TC0 signal: WO0 on PA04 mux E*/
  892. #define MUX_PA04E_TC0_WO0 _L_(4)
  893. #define PINMUX_PA04E_TC0_WO0 ((PIN_PA04E_TC0_WO0 << 16) | MUX_PA04E_TC0_WO0)
  894. #define PORT_PA04E_TC0_WO0 (_UL_(1) << 4)
  895. #define PIN_PA14E_TC0_WO0 _L_(14) /**< TC0 signal: WO0 on PA14 mux E*/
  896. #define MUX_PA14E_TC0_WO0 _L_(4)
  897. #define PINMUX_PA14E_TC0_WO0 ((PIN_PA14E_TC0_WO0 << 16) | MUX_PA14E_TC0_WO0)
  898. #define PORT_PA14E_TC0_WO0 (_UL_(1) << 14)
  899. #define PIN_PA22E_TC0_WO0 _L_(22) /**< TC0 signal: WO0 on PA22 mux E*/
  900. #define MUX_PA22E_TC0_WO0 _L_(4)
  901. #define PINMUX_PA22E_TC0_WO0 ((PIN_PA22E_TC0_WO0 << 16) | MUX_PA22E_TC0_WO0)
  902. #define PORT_PA22E_TC0_WO0 (_UL_(1) << 22)
  903. #define PIN_PA05E_TC0_WO1 _L_(5) /**< TC0 signal: WO1 on PA05 mux E*/
  904. #define MUX_PA05E_TC0_WO1 _L_(4)
  905. #define PINMUX_PA05E_TC0_WO1 ((PIN_PA05E_TC0_WO1 << 16) | MUX_PA05E_TC0_WO1)
  906. #define PORT_PA05E_TC0_WO1 (_UL_(1) << 5)
  907. #define PIN_PA15E_TC0_WO1 _L_(15) /**< TC0 signal: WO1 on PA15 mux E*/
  908. #define MUX_PA15E_TC0_WO1 _L_(4)
  909. #define PINMUX_PA15E_TC0_WO1 ((PIN_PA15E_TC0_WO1 << 16) | MUX_PA15E_TC0_WO1)
  910. #define PORT_PA15E_TC0_WO1 (_UL_(1) << 15)
  911. #define PIN_PA23E_TC0_WO1 _L_(23) /**< TC0 signal: WO1 on PA23 mux E*/
  912. #define MUX_PA23E_TC0_WO1 _L_(4)
  913. #define PINMUX_PA23E_TC0_WO1 ((PIN_PA23E_TC0_WO1 << 16) | MUX_PA23E_TC0_WO1)
  914. #define PORT_PA23E_TC0_WO1 (_UL_(1) << 23)
  915. /* ========== PORT definition for TC1 peripheral ========== */
  916. #define PIN_PA06E_TC1_WO0 _L_(6) /**< TC1 signal: WO0 on PA06 mux E*/
  917. #define MUX_PA06E_TC1_WO0 _L_(4)
  918. #define PINMUX_PA06E_TC1_WO0 ((PIN_PA06E_TC1_WO0 << 16) | MUX_PA06E_TC1_WO0)
  919. #define PORT_PA06E_TC1_WO0 (_UL_(1) << 6)
  920. #define PIN_PA24E_TC1_WO0 _L_(24) /**< TC1 signal: WO0 on PA24 mux E*/
  921. #define MUX_PA24E_TC1_WO0 _L_(4)
  922. #define PINMUX_PA24E_TC1_WO0 ((PIN_PA24E_TC1_WO0 << 16) | MUX_PA24E_TC1_WO0)
  923. #define PORT_PA24E_TC1_WO0 (_UL_(1) << 24)
  924. #define PIN_PA30E_TC1_WO0 _L_(30) /**< TC1 signal: WO0 on PA30 mux E*/
  925. #define MUX_PA30E_TC1_WO0 _L_(4)
  926. #define PINMUX_PA30E_TC1_WO0 ((PIN_PA30E_TC1_WO0 << 16) | MUX_PA30E_TC1_WO0)
  927. #define PORT_PA30E_TC1_WO0 (_UL_(1) << 30)
  928. #define PIN_PA07E_TC1_WO1 _L_(7) /**< TC1 signal: WO1 on PA07 mux E*/
  929. #define MUX_PA07E_TC1_WO1 _L_(4)
  930. #define PINMUX_PA07E_TC1_WO1 ((PIN_PA07E_TC1_WO1 << 16) | MUX_PA07E_TC1_WO1)
  931. #define PORT_PA07E_TC1_WO1 (_UL_(1) << 7)
  932. #define PIN_PA25E_TC1_WO1 _L_(25) /**< TC1 signal: WO1 on PA25 mux E*/
  933. #define MUX_PA25E_TC1_WO1 _L_(4)
  934. #define PINMUX_PA25E_TC1_WO1 ((PIN_PA25E_TC1_WO1 << 16) | MUX_PA25E_TC1_WO1)
  935. #define PORT_PA25E_TC1_WO1 (_UL_(1) << 25)
  936. #define PIN_PA31E_TC1_WO1 _L_(31) /**< TC1 signal: WO1 on PA31 mux E*/
  937. #define MUX_PA31E_TC1_WO1 _L_(4)
  938. #define PINMUX_PA31E_TC1_WO1 ((PIN_PA31E_TC1_WO1 << 16) | MUX_PA31E_TC1_WO1)
  939. #define PORT_PA31E_TC1_WO1 (_UL_(1) << 31)
  940. /* ========== PORT definition for TC2 peripheral ========== */
  941. #define PIN_PA00E_TC2_WO0 _L_(0) /**< TC2 signal: WO0 on PA00 mux E*/
  942. #define MUX_PA00E_TC2_WO0 _L_(4)
  943. #define PINMUX_PA00E_TC2_WO0 ((PIN_PA00E_TC2_WO0 << 16) | MUX_PA00E_TC2_WO0)
  944. #define PORT_PA00E_TC2_WO0 (_UL_(1) << 0)
  945. #define PIN_PA18E_TC2_WO0 _L_(18) /**< TC2 signal: WO0 on PA18 mux E*/
  946. #define MUX_PA18E_TC2_WO0 _L_(4)
  947. #define PINMUX_PA18E_TC2_WO0 ((PIN_PA18E_TC2_WO0 << 16) | MUX_PA18E_TC2_WO0)
  948. #define PORT_PA18E_TC2_WO0 (_UL_(1) << 18)
  949. #define PIN_PA01E_TC2_WO1 _L_(1) /**< TC2 signal: WO1 on PA01 mux E*/
  950. #define MUX_PA01E_TC2_WO1 _L_(4)
  951. #define PINMUX_PA01E_TC2_WO1 ((PIN_PA01E_TC2_WO1 << 16) | MUX_PA01E_TC2_WO1)
  952. #define PORT_PA01E_TC2_WO1 (_UL_(1) << 1)
  953. #define PIN_PA19E_TC2_WO1 _L_(19) /**< TC2 signal: WO1 on PA19 mux E*/
  954. #define MUX_PA19E_TC2_WO1 _L_(4)
  955. #define PINMUX_PA19E_TC2_WO1 ((PIN_PA19E_TC2_WO1 << 16) | MUX_PA19E_TC2_WO1)
  956. #define PORT_PA19E_TC2_WO1 (_UL_(1) << 19)
  957. #endif /* _SAML11E16A_PIO_H_ */