pac.h 106 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. /**
  2. * \file
  3. *
  4. * \brief Component description for PAC
  5. *
  6. * Copyright (c) 2018 Microchip Technology Inc.
  7. *
  8. * \license_start
  9. *
  10. * \page License
  11. *
  12. * SPDX-License-Identifier: Apache-2.0
  13. *
  14. * Licensed under the Apache License, Version 2.0 (the "License");
  15. * you may not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at
  17. *
  18. * http://www.apache.org/licenses/LICENSE-2.0
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an "AS IS" BASIS,
  22. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. *
  26. * \license_stop
  27. *
  28. */
  29. /* file generated from device description version 2018-05-30T11:07:17Z */
  30. #ifndef _SAML11_PAC_COMPONENT_H_
  31. #define _SAML11_PAC_COMPONENT_H_
  32. #define _SAML11_PAC_COMPONENT_ /**< \deprecated Backward compatibility for ASF */
  33. /** \addtogroup SAML_SAML11 Peripheral Access Controller
  34. * @{
  35. */
  36. /* ========================================================================== */
  37. /** SOFTWARE API DEFINITION FOR PAC */
  38. /* ========================================================================== */
  39. #define PAC_U2120 /**< (PAC) Module ID */
  40. #define REV_PAC 0x200 /**< (PAC) Module revision */
  41. /* -------- PAC_WRCTRL : (PAC Offset: 0x00) (R/W 32) Write control -------- */
  42. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  43. typedef union {
  44. struct {
  45. uint32_t PERID:16; /**< bit: 0..15 Peripheral identifier */
  46. uint32_t KEY:8; /**< bit: 16..23 Peripheral access control key */
  47. uint32_t :8; /**< bit: 24..31 Reserved */
  48. } bit; /**< Structure used for bit access */
  49. uint32_t reg; /**< Type used for register access */
  50. } PAC_WRCTRL_Type;
  51. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  52. #define PAC_WRCTRL_OFFSET (0x00) /**< (PAC_WRCTRL) Write control Offset */
  53. #define PAC_WRCTRL_RESETVALUE _U_(0x00) /**< (PAC_WRCTRL) Write control Reset Value */
  54. #define PAC_WRCTRL_PERID_Pos 0 /**< (PAC_WRCTRL) Peripheral identifier Position */
  55. #define PAC_WRCTRL_PERID_Msk (_U_(0xFFFF) << PAC_WRCTRL_PERID_Pos) /**< (PAC_WRCTRL) Peripheral identifier Mask */
  56. #define PAC_WRCTRL_PERID(value) (PAC_WRCTRL_PERID_Msk & ((value) << PAC_WRCTRL_PERID_Pos))
  57. #define PAC_WRCTRL_KEY_Pos 16 /**< (PAC_WRCTRL) Peripheral access control key Position */
  58. #define PAC_WRCTRL_KEY_Msk (_U_(0xFF) << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) Peripheral access control key Mask */
  59. #define PAC_WRCTRL_KEY(value) (PAC_WRCTRL_KEY_Msk & ((value) << PAC_WRCTRL_KEY_Pos))
  60. #define PAC_WRCTRL_KEY_OFF_Val _U_(0x0) /**< (PAC_WRCTRL) No action */
  61. #define PAC_WRCTRL_KEY_CLR_Val _U_(0x1) /**< (PAC_WRCTRL) Clear protection */
  62. #define PAC_WRCTRL_KEY_SET_Val _U_(0x2) /**< (PAC_WRCTRL) Set protection */
  63. #define PAC_WRCTRL_KEY_SETLCK_Val _U_(0x3) /**< (PAC_WRCTRL) Set and lock protection */
  64. #define PAC_WRCTRL_KEY_SETSEC_Val _U_(0x4) /**< (PAC_WRCTRL) Set IP secure */
  65. #define PAC_WRCTRL_KEY_SETNONSEC_Val _U_(0x5) /**< (PAC_WRCTRL) Set IP non-secure */
  66. #define PAC_WRCTRL_KEY_SECLOCK_Val _U_(0x6) /**< (PAC_WRCTRL) Lock IP security value */
  67. #define PAC_WRCTRL_KEY_OFF (PAC_WRCTRL_KEY_OFF_Val << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) No action Position */
  68. #define PAC_WRCTRL_KEY_CLR (PAC_WRCTRL_KEY_CLR_Val << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) Clear protection Position */
  69. #define PAC_WRCTRL_KEY_SET (PAC_WRCTRL_KEY_SET_Val << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) Set protection Position */
  70. #define PAC_WRCTRL_KEY_SETLCK (PAC_WRCTRL_KEY_SETLCK_Val << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) Set and lock protection Position */
  71. #define PAC_WRCTRL_KEY_SETSEC (PAC_WRCTRL_KEY_SETSEC_Val << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) Set IP secure Position */
  72. #define PAC_WRCTRL_KEY_SETNONSEC (PAC_WRCTRL_KEY_SETNONSEC_Val << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) Set IP non-secure Position */
  73. #define PAC_WRCTRL_KEY_SECLOCK (PAC_WRCTRL_KEY_SECLOCK_Val << PAC_WRCTRL_KEY_Pos) /**< (PAC_WRCTRL) Lock IP security value Position */
  74. #define PAC_WRCTRL_MASK _U_(0xFFFFFF) /**< \deprecated (PAC_WRCTRL) Register MASK (Use PAC_WRCTRL_Msk instead) */
  75. #define PAC_WRCTRL_Msk _U_(0xFFFFFF) /**< (PAC_WRCTRL) Register Mask */
  76. /* -------- PAC_EVCTRL : (PAC Offset: 0x04) (R/W 8) Event control -------- */
  77. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  78. typedef union {
  79. struct {
  80. uint8_t ERREO:1; /**< bit: 0 Peripheral acess error event output */
  81. uint8_t :7; /**< bit: 1..7 Reserved */
  82. } bit; /**< Structure used for bit access */
  83. uint8_t reg; /**< Type used for register access */
  84. } PAC_EVCTRL_Type;
  85. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  86. #define PAC_EVCTRL_OFFSET (0x04) /**< (PAC_EVCTRL) Event control Offset */
  87. #define PAC_EVCTRL_RESETVALUE _U_(0x00) /**< (PAC_EVCTRL) Event control Reset Value */
  88. #define PAC_EVCTRL_ERREO_Pos 0 /**< (PAC_EVCTRL) Peripheral acess error event output Position */
  89. #define PAC_EVCTRL_ERREO_Msk (_U_(0x1) << PAC_EVCTRL_ERREO_Pos) /**< (PAC_EVCTRL) Peripheral acess error event output Mask */
  90. #define PAC_EVCTRL_ERREO PAC_EVCTRL_ERREO_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_EVCTRL_ERREO_Msk instead */
  91. #define PAC_EVCTRL_MASK _U_(0x01) /**< \deprecated (PAC_EVCTRL) Register MASK (Use PAC_EVCTRL_Msk instead) */
  92. #define PAC_EVCTRL_Msk _U_(0x01) /**< (PAC_EVCTRL) Register Mask */
  93. /* -------- PAC_INTENCLR : (PAC Offset: 0x08) (R/W 8) Interrupt enable clear -------- */
  94. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  95. typedef union {
  96. struct {
  97. uint8_t ERR:1; /**< bit: 0 Peripheral access error interrupt disable */
  98. uint8_t :7; /**< bit: 1..7 Reserved */
  99. } bit; /**< Structure used for bit access */
  100. uint8_t reg; /**< Type used for register access */
  101. } PAC_INTENCLR_Type;
  102. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  103. #define PAC_INTENCLR_OFFSET (0x08) /**< (PAC_INTENCLR) Interrupt enable clear Offset */
  104. #define PAC_INTENCLR_RESETVALUE _U_(0x00) /**< (PAC_INTENCLR) Interrupt enable clear Reset Value */
  105. #define PAC_INTENCLR_ERR_Pos 0 /**< (PAC_INTENCLR) Peripheral access error interrupt disable Position */
  106. #define PAC_INTENCLR_ERR_Msk (_U_(0x1) << PAC_INTENCLR_ERR_Pos) /**< (PAC_INTENCLR) Peripheral access error interrupt disable Mask */
  107. #define PAC_INTENCLR_ERR PAC_INTENCLR_ERR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTENCLR_ERR_Msk instead */
  108. #define PAC_INTENCLR_MASK _U_(0x01) /**< \deprecated (PAC_INTENCLR) Register MASK (Use PAC_INTENCLR_Msk instead) */
  109. #define PAC_INTENCLR_Msk _U_(0x01) /**< (PAC_INTENCLR) Register Mask */
  110. /* -------- PAC_INTENSET : (PAC Offset: 0x09) (R/W 8) Interrupt enable set -------- */
  111. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  112. typedef union {
  113. struct {
  114. uint8_t ERR:1; /**< bit: 0 Peripheral access error interrupt enable */
  115. uint8_t :7; /**< bit: 1..7 Reserved */
  116. } bit; /**< Structure used for bit access */
  117. uint8_t reg; /**< Type used for register access */
  118. } PAC_INTENSET_Type;
  119. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  120. #define PAC_INTENSET_OFFSET (0x09) /**< (PAC_INTENSET) Interrupt enable set Offset */
  121. #define PAC_INTENSET_RESETVALUE _U_(0x00) /**< (PAC_INTENSET) Interrupt enable set Reset Value */
  122. #define PAC_INTENSET_ERR_Pos 0 /**< (PAC_INTENSET) Peripheral access error interrupt enable Position */
  123. #define PAC_INTENSET_ERR_Msk (_U_(0x1) << PAC_INTENSET_ERR_Pos) /**< (PAC_INTENSET) Peripheral access error interrupt enable Mask */
  124. #define PAC_INTENSET_ERR PAC_INTENSET_ERR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTENSET_ERR_Msk instead */
  125. #define PAC_INTENSET_MASK _U_(0x01) /**< \deprecated (PAC_INTENSET) Register MASK (Use PAC_INTENSET_Msk instead) */
  126. #define PAC_INTENSET_Msk _U_(0x01) /**< (PAC_INTENSET) Register Mask */
  127. /* -------- PAC_INTFLAGAHB : (PAC Offset: 0x10) (R/W 32) Bridge interrupt flag status -------- */
  128. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  129. typedef union { // __I to avoid read-modify-write on write-to-clear register
  130. struct {
  131. __I uint32_t FLASH_:1; /**< bit: 0 FLASH */
  132. __I uint32_t HPB0_:1; /**< bit: 1 HPB0 */
  133. __I uint32_t HPB1_:1; /**< bit: 2 HPB1 */
  134. __I uint32_t HPB2_:1; /**< bit: 3 HPB2 */
  135. __I uint32_t HSRAMCPU_:1; /**< bit: 4 HSRAMCPU */
  136. __I uint32_t HSRAMDMAC_:1; /**< bit: 5 HSRAMDMAC */
  137. __I uint32_t HSRAMDSU_:1; /**< bit: 6 HSRAMDSU */
  138. __I uint32_t :25; /**< bit: 7..31 Reserved */
  139. } bit; /**< Structure used for bit access */
  140. uint32_t reg; /**< Type used for register access */
  141. } PAC_INTFLAGAHB_Type;
  142. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  143. #define PAC_INTFLAGAHB_OFFSET (0x10) /**< (PAC_INTFLAGAHB) Bridge interrupt flag status Offset */
  144. #define PAC_INTFLAGAHB_RESETVALUE _U_(0x00) /**< (PAC_INTFLAGAHB) Bridge interrupt flag status Reset Value */
  145. #define PAC_INTFLAGAHB_FLASH_Pos 0 /**< (PAC_INTFLAGAHB) FLASH Position */
  146. #define PAC_INTFLAGAHB_FLASH_Msk (_U_(0x1) << PAC_INTFLAGAHB_FLASH_Pos) /**< (PAC_INTFLAGAHB) FLASH Mask */
  147. #define PAC_INTFLAGAHB_FLASH PAC_INTFLAGAHB_FLASH_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGAHB_FLASH_Msk instead */
  148. #define PAC_INTFLAGAHB_HPB0_Pos 1 /**< (PAC_INTFLAGAHB) HPB0 Position */
  149. #define PAC_INTFLAGAHB_HPB0_Msk (_U_(0x1) << PAC_INTFLAGAHB_HPB0_Pos) /**< (PAC_INTFLAGAHB) HPB0 Mask */
  150. #define PAC_INTFLAGAHB_HPB0 PAC_INTFLAGAHB_HPB0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGAHB_HPB0_Msk instead */
  151. #define PAC_INTFLAGAHB_HPB1_Pos 2 /**< (PAC_INTFLAGAHB) HPB1 Position */
  152. #define PAC_INTFLAGAHB_HPB1_Msk (_U_(0x1) << PAC_INTFLAGAHB_HPB1_Pos) /**< (PAC_INTFLAGAHB) HPB1 Mask */
  153. #define PAC_INTFLAGAHB_HPB1 PAC_INTFLAGAHB_HPB1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGAHB_HPB1_Msk instead */
  154. #define PAC_INTFLAGAHB_HPB2_Pos 3 /**< (PAC_INTFLAGAHB) HPB2 Position */
  155. #define PAC_INTFLAGAHB_HPB2_Msk (_U_(0x1) << PAC_INTFLAGAHB_HPB2_Pos) /**< (PAC_INTFLAGAHB) HPB2 Mask */
  156. #define PAC_INTFLAGAHB_HPB2 PAC_INTFLAGAHB_HPB2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGAHB_HPB2_Msk instead */
  157. #define PAC_INTFLAGAHB_HSRAMCPU_Pos 4 /**< (PAC_INTFLAGAHB) HSRAMCPU Position */
  158. #define PAC_INTFLAGAHB_HSRAMCPU_Msk (_U_(0x1) << PAC_INTFLAGAHB_HSRAMCPU_Pos) /**< (PAC_INTFLAGAHB) HSRAMCPU Mask */
  159. #define PAC_INTFLAGAHB_HSRAMCPU PAC_INTFLAGAHB_HSRAMCPU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGAHB_HSRAMCPU_Msk instead */
  160. #define PAC_INTFLAGAHB_HSRAMDMAC_Pos 5 /**< (PAC_INTFLAGAHB) HSRAMDMAC Position */
  161. #define PAC_INTFLAGAHB_HSRAMDMAC_Msk (_U_(0x1) << PAC_INTFLAGAHB_HSRAMDMAC_Pos) /**< (PAC_INTFLAGAHB) HSRAMDMAC Mask */
  162. #define PAC_INTFLAGAHB_HSRAMDMAC PAC_INTFLAGAHB_HSRAMDMAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGAHB_HSRAMDMAC_Msk instead */
  163. #define PAC_INTFLAGAHB_HSRAMDSU_Pos 6 /**< (PAC_INTFLAGAHB) HSRAMDSU Position */
  164. #define PAC_INTFLAGAHB_HSRAMDSU_Msk (_U_(0x1) << PAC_INTFLAGAHB_HSRAMDSU_Pos) /**< (PAC_INTFLAGAHB) HSRAMDSU Mask */
  165. #define PAC_INTFLAGAHB_HSRAMDSU PAC_INTFLAGAHB_HSRAMDSU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGAHB_HSRAMDSU_Msk instead */
  166. #define PAC_INTFLAGAHB_MASK _U_(0x7F) /**< \deprecated (PAC_INTFLAGAHB) Register MASK (Use PAC_INTFLAGAHB_Msk instead) */
  167. #define PAC_INTFLAGAHB_Msk _U_(0x7F) /**< (PAC_INTFLAGAHB) Register Mask */
  168. #define PAC_INTFLAGAHB_HPB_Pos 1 /**< (PAC_INTFLAGAHB Position) HPBx */
  169. #define PAC_INTFLAGAHB_HPB_Msk (_U_(0x7) << PAC_INTFLAGAHB_HPB_Pos) /**< (PAC_INTFLAGAHB Mask) HPB */
  170. #define PAC_INTFLAGAHB_HPB(value) (PAC_INTFLAGAHB_HPB_Msk & ((value) << PAC_INTFLAGAHB_HPB_Pos))
  171. /* -------- PAC_INTFLAGA : (PAC Offset: 0x14) (R/W 32) Peripheral interrupt flag status - Bridge A -------- */
  172. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  173. typedef union { // __I to avoid read-modify-write on write-to-clear register
  174. struct {
  175. __I uint32_t PAC_:1; /**< bit: 0 PAC */
  176. __I uint32_t PM_:1; /**< bit: 1 PM */
  177. __I uint32_t MCLK_:1; /**< bit: 2 MCLK */
  178. __I uint32_t RSTC_:1; /**< bit: 3 RSTC */
  179. __I uint32_t OSCCTRL_:1; /**< bit: 4 OSCCTRL */
  180. __I uint32_t OSC32KCTRL_:1; /**< bit: 5 OSC32KCTRL */
  181. __I uint32_t SUPC_:1; /**< bit: 6 SUPC */
  182. __I uint32_t GCLK_:1; /**< bit: 7 GCLK */
  183. __I uint32_t WDT_:1; /**< bit: 8 WDT */
  184. __I uint32_t RTC_:1; /**< bit: 9 RTC */
  185. __I uint32_t EIC_:1; /**< bit: 10 EIC */
  186. __I uint32_t FREQM_:1; /**< bit: 11 FREQM */
  187. __I uint32_t PORT_:1; /**< bit: 12 PORT */
  188. __I uint32_t AC_:1; /**< bit: 13 AC */
  189. __I uint32_t :18; /**< bit: 14..31 Reserved */
  190. } bit; /**< Structure used for bit access */
  191. uint32_t reg; /**< Type used for register access */
  192. } PAC_INTFLAGA_Type;
  193. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  194. #define PAC_INTFLAGA_OFFSET (0x14) /**< (PAC_INTFLAGA) Peripheral interrupt flag status - Bridge A Offset */
  195. #define PAC_INTFLAGA_RESETVALUE _U_(0x00) /**< (PAC_INTFLAGA) Peripheral interrupt flag status - Bridge A Reset Value */
  196. #define PAC_INTFLAGA_PAC_Pos 0 /**< (PAC_INTFLAGA) PAC Position */
  197. #define PAC_INTFLAGA_PAC_Msk (_U_(0x1) << PAC_INTFLAGA_PAC_Pos) /**< (PAC_INTFLAGA) PAC Mask */
  198. #define PAC_INTFLAGA_PAC PAC_INTFLAGA_PAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_PAC_Msk instead */
  199. #define PAC_INTFLAGA_PM_Pos 1 /**< (PAC_INTFLAGA) PM Position */
  200. #define PAC_INTFLAGA_PM_Msk (_U_(0x1) << PAC_INTFLAGA_PM_Pos) /**< (PAC_INTFLAGA) PM Mask */
  201. #define PAC_INTFLAGA_PM PAC_INTFLAGA_PM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_PM_Msk instead */
  202. #define PAC_INTFLAGA_MCLK_Pos 2 /**< (PAC_INTFLAGA) MCLK Position */
  203. #define PAC_INTFLAGA_MCLK_Msk (_U_(0x1) << PAC_INTFLAGA_MCLK_Pos) /**< (PAC_INTFLAGA) MCLK Mask */
  204. #define PAC_INTFLAGA_MCLK PAC_INTFLAGA_MCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_MCLK_Msk instead */
  205. #define PAC_INTFLAGA_RSTC_Pos 3 /**< (PAC_INTFLAGA) RSTC Position */
  206. #define PAC_INTFLAGA_RSTC_Msk (_U_(0x1) << PAC_INTFLAGA_RSTC_Pos) /**< (PAC_INTFLAGA) RSTC Mask */
  207. #define PAC_INTFLAGA_RSTC PAC_INTFLAGA_RSTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_RSTC_Msk instead */
  208. #define PAC_INTFLAGA_OSCCTRL_Pos 4 /**< (PAC_INTFLAGA) OSCCTRL Position */
  209. #define PAC_INTFLAGA_OSCCTRL_Msk (_U_(0x1) << PAC_INTFLAGA_OSCCTRL_Pos) /**< (PAC_INTFLAGA) OSCCTRL Mask */
  210. #define PAC_INTFLAGA_OSCCTRL PAC_INTFLAGA_OSCCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_OSCCTRL_Msk instead */
  211. #define PAC_INTFLAGA_OSC32KCTRL_Pos 5 /**< (PAC_INTFLAGA) OSC32KCTRL Position */
  212. #define PAC_INTFLAGA_OSC32KCTRL_Msk (_U_(0x1) << PAC_INTFLAGA_OSC32KCTRL_Pos) /**< (PAC_INTFLAGA) OSC32KCTRL Mask */
  213. #define PAC_INTFLAGA_OSC32KCTRL PAC_INTFLAGA_OSC32KCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_OSC32KCTRL_Msk instead */
  214. #define PAC_INTFLAGA_SUPC_Pos 6 /**< (PAC_INTFLAGA) SUPC Position */
  215. #define PAC_INTFLAGA_SUPC_Msk (_U_(0x1) << PAC_INTFLAGA_SUPC_Pos) /**< (PAC_INTFLAGA) SUPC Mask */
  216. #define PAC_INTFLAGA_SUPC PAC_INTFLAGA_SUPC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_SUPC_Msk instead */
  217. #define PAC_INTFLAGA_GCLK_Pos 7 /**< (PAC_INTFLAGA) GCLK Position */
  218. #define PAC_INTFLAGA_GCLK_Msk (_U_(0x1) << PAC_INTFLAGA_GCLK_Pos) /**< (PAC_INTFLAGA) GCLK Mask */
  219. #define PAC_INTFLAGA_GCLK PAC_INTFLAGA_GCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_GCLK_Msk instead */
  220. #define PAC_INTFLAGA_WDT_Pos 8 /**< (PAC_INTFLAGA) WDT Position */
  221. #define PAC_INTFLAGA_WDT_Msk (_U_(0x1) << PAC_INTFLAGA_WDT_Pos) /**< (PAC_INTFLAGA) WDT Mask */
  222. #define PAC_INTFLAGA_WDT PAC_INTFLAGA_WDT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_WDT_Msk instead */
  223. #define PAC_INTFLAGA_RTC_Pos 9 /**< (PAC_INTFLAGA) RTC Position */
  224. #define PAC_INTFLAGA_RTC_Msk (_U_(0x1) << PAC_INTFLAGA_RTC_Pos) /**< (PAC_INTFLAGA) RTC Mask */
  225. #define PAC_INTFLAGA_RTC PAC_INTFLAGA_RTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_RTC_Msk instead */
  226. #define PAC_INTFLAGA_EIC_Pos 10 /**< (PAC_INTFLAGA) EIC Position */
  227. #define PAC_INTFLAGA_EIC_Msk (_U_(0x1) << PAC_INTFLAGA_EIC_Pos) /**< (PAC_INTFLAGA) EIC Mask */
  228. #define PAC_INTFLAGA_EIC PAC_INTFLAGA_EIC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_EIC_Msk instead */
  229. #define PAC_INTFLAGA_FREQM_Pos 11 /**< (PAC_INTFLAGA) FREQM Position */
  230. #define PAC_INTFLAGA_FREQM_Msk (_U_(0x1) << PAC_INTFLAGA_FREQM_Pos) /**< (PAC_INTFLAGA) FREQM Mask */
  231. #define PAC_INTFLAGA_FREQM PAC_INTFLAGA_FREQM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_FREQM_Msk instead */
  232. #define PAC_INTFLAGA_PORT_Pos 12 /**< (PAC_INTFLAGA) PORT Position */
  233. #define PAC_INTFLAGA_PORT_Msk (_U_(0x1) << PAC_INTFLAGA_PORT_Pos) /**< (PAC_INTFLAGA) PORT Mask */
  234. #define PAC_INTFLAGA_PORT PAC_INTFLAGA_PORT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_PORT_Msk instead */
  235. #define PAC_INTFLAGA_AC_Pos 13 /**< (PAC_INTFLAGA) AC Position */
  236. #define PAC_INTFLAGA_AC_Msk (_U_(0x1) << PAC_INTFLAGA_AC_Pos) /**< (PAC_INTFLAGA) AC Mask */
  237. #define PAC_INTFLAGA_AC PAC_INTFLAGA_AC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGA_AC_Msk instead */
  238. #define PAC_INTFLAGA_MASK _U_(0x3FFF) /**< \deprecated (PAC_INTFLAGA) Register MASK (Use PAC_INTFLAGA_Msk instead) */
  239. #define PAC_INTFLAGA_Msk _U_(0x3FFF) /**< (PAC_INTFLAGA) Register Mask */
  240. /* -------- PAC_INTFLAGB : (PAC Offset: 0x18) (R/W 32) Peripheral interrupt flag status - Bridge B -------- */
  241. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  242. typedef union { // __I to avoid read-modify-write on write-to-clear register
  243. struct {
  244. __I uint32_t IDAU_:1; /**< bit: 0 IDAU */
  245. __I uint32_t DSU_:1; /**< bit: 1 DSU */
  246. __I uint32_t NVMCTRL_:1; /**< bit: 2 NVMCTRL */
  247. __I uint32_t DMAC_:1; /**< bit: 3 DMAC */
  248. __I uint32_t :28; /**< bit: 4..31 Reserved */
  249. } bit; /**< Structure used for bit access */
  250. uint32_t reg; /**< Type used for register access */
  251. } PAC_INTFLAGB_Type;
  252. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  253. #define PAC_INTFLAGB_OFFSET (0x18) /**< (PAC_INTFLAGB) Peripheral interrupt flag status - Bridge B Offset */
  254. #define PAC_INTFLAGB_RESETVALUE _U_(0x00) /**< (PAC_INTFLAGB) Peripheral interrupt flag status - Bridge B Reset Value */
  255. #define PAC_INTFLAGB_IDAU_Pos 0 /**< (PAC_INTFLAGB) IDAU Position */
  256. #define PAC_INTFLAGB_IDAU_Msk (_U_(0x1) << PAC_INTFLAGB_IDAU_Pos) /**< (PAC_INTFLAGB) IDAU Mask */
  257. #define PAC_INTFLAGB_IDAU PAC_INTFLAGB_IDAU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGB_IDAU_Msk instead */
  258. #define PAC_INTFLAGB_DSU_Pos 1 /**< (PAC_INTFLAGB) DSU Position */
  259. #define PAC_INTFLAGB_DSU_Msk (_U_(0x1) << PAC_INTFLAGB_DSU_Pos) /**< (PAC_INTFLAGB) DSU Mask */
  260. #define PAC_INTFLAGB_DSU PAC_INTFLAGB_DSU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGB_DSU_Msk instead */
  261. #define PAC_INTFLAGB_NVMCTRL_Pos 2 /**< (PAC_INTFLAGB) NVMCTRL Position */
  262. #define PAC_INTFLAGB_NVMCTRL_Msk (_U_(0x1) << PAC_INTFLAGB_NVMCTRL_Pos) /**< (PAC_INTFLAGB) NVMCTRL Mask */
  263. #define PAC_INTFLAGB_NVMCTRL PAC_INTFLAGB_NVMCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGB_NVMCTRL_Msk instead */
  264. #define PAC_INTFLAGB_DMAC_Pos 3 /**< (PAC_INTFLAGB) DMAC Position */
  265. #define PAC_INTFLAGB_DMAC_Msk (_U_(0x1) << PAC_INTFLAGB_DMAC_Pos) /**< (PAC_INTFLAGB) DMAC Mask */
  266. #define PAC_INTFLAGB_DMAC PAC_INTFLAGB_DMAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGB_DMAC_Msk instead */
  267. #define PAC_INTFLAGB_MASK _U_(0x0F) /**< \deprecated (PAC_INTFLAGB) Register MASK (Use PAC_INTFLAGB_Msk instead) */
  268. #define PAC_INTFLAGB_Msk _U_(0x0F) /**< (PAC_INTFLAGB) Register Mask */
  269. /* -------- PAC_INTFLAGC : (PAC Offset: 0x1c) (R/W 32) Peripheral interrupt flag status - Bridge C -------- */
  270. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  271. typedef union { // __I to avoid read-modify-write on write-to-clear register
  272. struct {
  273. __I uint32_t EVSYS_:1; /**< bit: 0 EVSYS */
  274. __I uint32_t SERCOM0_:1; /**< bit: 1 SERCOM0 */
  275. __I uint32_t SERCOM1_:1; /**< bit: 2 SERCOM1 */
  276. __I uint32_t SERCOM2_:1; /**< bit: 3 SERCOM2 */
  277. __I uint32_t TC0_:1; /**< bit: 4 TC0 */
  278. __I uint32_t TC1_:1; /**< bit: 5 TC1 */
  279. __I uint32_t TC2_:1; /**< bit: 6 TC2 */
  280. __I uint32_t ADC_:1; /**< bit: 7 ADC */
  281. __I uint32_t DAC_:1; /**< bit: 8 DAC */
  282. __I uint32_t PTC_:1; /**< bit: 9 PTC */
  283. __I uint32_t TRNG_:1; /**< bit: 10 TRNG */
  284. __I uint32_t CCL_:1; /**< bit: 11 CCL */
  285. __I uint32_t OPAMP_:1; /**< bit: 12 OPAMP */
  286. __I uint32_t TRAM_:1; /**< bit: 13 TRAM */
  287. __I uint32_t :18; /**< bit: 14..31 Reserved */
  288. } bit; /**< Structure used for bit access */
  289. uint32_t reg; /**< Type used for register access */
  290. } PAC_INTFLAGC_Type;
  291. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  292. #define PAC_INTFLAGC_OFFSET (0x1C) /**< (PAC_INTFLAGC) Peripheral interrupt flag status - Bridge C Offset */
  293. #define PAC_INTFLAGC_RESETVALUE _U_(0x00) /**< (PAC_INTFLAGC) Peripheral interrupt flag status - Bridge C Reset Value */
  294. #define PAC_INTFLAGC_EVSYS_Pos 0 /**< (PAC_INTFLAGC) EVSYS Position */
  295. #define PAC_INTFLAGC_EVSYS_Msk (_U_(0x1) << PAC_INTFLAGC_EVSYS_Pos) /**< (PAC_INTFLAGC) EVSYS Mask */
  296. #define PAC_INTFLAGC_EVSYS PAC_INTFLAGC_EVSYS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_EVSYS_Msk instead */
  297. #define PAC_INTFLAGC_SERCOM0_Pos 1 /**< (PAC_INTFLAGC) SERCOM0 Position */
  298. #define PAC_INTFLAGC_SERCOM0_Msk (_U_(0x1) << PAC_INTFLAGC_SERCOM0_Pos) /**< (PAC_INTFLAGC) SERCOM0 Mask */
  299. #define PAC_INTFLAGC_SERCOM0 PAC_INTFLAGC_SERCOM0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_SERCOM0_Msk instead */
  300. #define PAC_INTFLAGC_SERCOM1_Pos 2 /**< (PAC_INTFLAGC) SERCOM1 Position */
  301. #define PAC_INTFLAGC_SERCOM1_Msk (_U_(0x1) << PAC_INTFLAGC_SERCOM1_Pos) /**< (PAC_INTFLAGC) SERCOM1 Mask */
  302. #define PAC_INTFLAGC_SERCOM1 PAC_INTFLAGC_SERCOM1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_SERCOM1_Msk instead */
  303. #define PAC_INTFLAGC_SERCOM2_Pos 3 /**< (PAC_INTFLAGC) SERCOM2 Position */
  304. #define PAC_INTFLAGC_SERCOM2_Msk (_U_(0x1) << PAC_INTFLAGC_SERCOM2_Pos) /**< (PAC_INTFLAGC) SERCOM2 Mask */
  305. #define PAC_INTFLAGC_SERCOM2 PAC_INTFLAGC_SERCOM2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_SERCOM2_Msk instead */
  306. #define PAC_INTFLAGC_TC0_Pos 4 /**< (PAC_INTFLAGC) TC0 Position */
  307. #define PAC_INTFLAGC_TC0_Msk (_U_(0x1) << PAC_INTFLAGC_TC0_Pos) /**< (PAC_INTFLAGC) TC0 Mask */
  308. #define PAC_INTFLAGC_TC0 PAC_INTFLAGC_TC0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_TC0_Msk instead */
  309. #define PAC_INTFLAGC_TC1_Pos 5 /**< (PAC_INTFLAGC) TC1 Position */
  310. #define PAC_INTFLAGC_TC1_Msk (_U_(0x1) << PAC_INTFLAGC_TC1_Pos) /**< (PAC_INTFLAGC) TC1 Mask */
  311. #define PAC_INTFLAGC_TC1 PAC_INTFLAGC_TC1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_TC1_Msk instead */
  312. #define PAC_INTFLAGC_TC2_Pos 6 /**< (PAC_INTFLAGC) TC2 Position */
  313. #define PAC_INTFLAGC_TC2_Msk (_U_(0x1) << PAC_INTFLAGC_TC2_Pos) /**< (PAC_INTFLAGC) TC2 Mask */
  314. #define PAC_INTFLAGC_TC2 PAC_INTFLAGC_TC2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_TC2_Msk instead */
  315. #define PAC_INTFLAGC_ADC_Pos 7 /**< (PAC_INTFLAGC) ADC Position */
  316. #define PAC_INTFLAGC_ADC_Msk (_U_(0x1) << PAC_INTFLAGC_ADC_Pos) /**< (PAC_INTFLAGC) ADC Mask */
  317. #define PAC_INTFLAGC_ADC PAC_INTFLAGC_ADC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_ADC_Msk instead */
  318. #define PAC_INTFLAGC_DAC_Pos 8 /**< (PAC_INTFLAGC) DAC Position */
  319. #define PAC_INTFLAGC_DAC_Msk (_U_(0x1) << PAC_INTFLAGC_DAC_Pos) /**< (PAC_INTFLAGC) DAC Mask */
  320. #define PAC_INTFLAGC_DAC PAC_INTFLAGC_DAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_DAC_Msk instead */
  321. #define PAC_INTFLAGC_PTC_Pos 9 /**< (PAC_INTFLAGC) PTC Position */
  322. #define PAC_INTFLAGC_PTC_Msk (_U_(0x1) << PAC_INTFLAGC_PTC_Pos) /**< (PAC_INTFLAGC) PTC Mask */
  323. #define PAC_INTFLAGC_PTC PAC_INTFLAGC_PTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_PTC_Msk instead */
  324. #define PAC_INTFLAGC_TRNG_Pos 10 /**< (PAC_INTFLAGC) TRNG Position */
  325. #define PAC_INTFLAGC_TRNG_Msk (_U_(0x1) << PAC_INTFLAGC_TRNG_Pos) /**< (PAC_INTFLAGC) TRNG Mask */
  326. #define PAC_INTFLAGC_TRNG PAC_INTFLAGC_TRNG_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_TRNG_Msk instead */
  327. #define PAC_INTFLAGC_CCL_Pos 11 /**< (PAC_INTFLAGC) CCL Position */
  328. #define PAC_INTFLAGC_CCL_Msk (_U_(0x1) << PAC_INTFLAGC_CCL_Pos) /**< (PAC_INTFLAGC) CCL Mask */
  329. #define PAC_INTFLAGC_CCL PAC_INTFLAGC_CCL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_CCL_Msk instead */
  330. #define PAC_INTFLAGC_OPAMP_Pos 12 /**< (PAC_INTFLAGC) OPAMP Position */
  331. #define PAC_INTFLAGC_OPAMP_Msk (_U_(0x1) << PAC_INTFLAGC_OPAMP_Pos) /**< (PAC_INTFLAGC) OPAMP Mask */
  332. #define PAC_INTFLAGC_OPAMP PAC_INTFLAGC_OPAMP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_OPAMP_Msk instead */
  333. #define PAC_INTFLAGC_TRAM_Pos 13 /**< (PAC_INTFLAGC) TRAM Position */
  334. #define PAC_INTFLAGC_TRAM_Msk (_U_(0x1) << PAC_INTFLAGC_TRAM_Pos) /**< (PAC_INTFLAGC) TRAM Mask */
  335. #define PAC_INTFLAGC_TRAM PAC_INTFLAGC_TRAM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_INTFLAGC_TRAM_Msk instead */
  336. #define PAC_INTFLAGC_MASK _U_(0x3FFF) /**< \deprecated (PAC_INTFLAGC) Register MASK (Use PAC_INTFLAGC_Msk instead) */
  337. #define PAC_INTFLAGC_Msk _U_(0x3FFF) /**< (PAC_INTFLAGC) Register Mask */
  338. #define PAC_INTFLAGC_SERCOM_Pos 1 /**< (PAC_INTFLAGC Position) SERCOMx */
  339. #define PAC_INTFLAGC_SERCOM_Msk (_U_(0x7) << PAC_INTFLAGC_SERCOM_Pos) /**< (PAC_INTFLAGC Mask) SERCOM */
  340. #define PAC_INTFLAGC_SERCOM(value) (PAC_INTFLAGC_SERCOM_Msk & ((value) << PAC_INTFLAGC_SERCOM_Pos))
  341. #define PAC_INTFLAGC_TC_Pos 4 /**< (PAC_INTFLAGC Position) TCx */
  342. #define PAC_INTFLAGC_TC_Msk (_U_(0x7) << PAC_INTFLAGC_TC_Pos) /**< (PAC_INTFLAGC Mask) TC */
  343. #define PAC_INTFLAGC_TC(value) (PAC_INTFLAGC_TC_Msk & ((value) << PAC_INTFLAGC_TC_Pos))
  344. /* -------- PAC_STATUSA : (PAC Offset: 0x34) (R/ 32) Peripheral write protection status - Bridge A -------- */
  345. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  346. typedef union {
  347. struct {
  348. uint32_t PAC_:1; /**< bit: 0 PAC APB Protect Enable */
  349. uint32_t PM_:1; /**< bit: 1 PM APB Protect Enable */
  350. uint32_t MCLK_:1; /**< bit: 2 MCLK APB Protect Enable */
  351. uint32_t RSTC_:1; /**< bit: 3 RSTC APB Protect Enable */
  352. uint32_t OSCCTRL_:1; /**< bit: 4 OSCCTRL APB Protect Enable */
  353. uint32_t OSC32KCTRL_:1; /**< bit: 5 OSC32KCTRL APB Protect Enable */
  354. uint32_t SUPC_:1; /**< bit: 6 SUPC APB Protect Enable */
  355. uint32_t GCLK_:1; /**< bit: 7 GCLK APB Protect Enable */
  356. uint32_t WDT_:1; /**< bit: 8 WDT APB Protect Enable */
  357. uint32_t RTC_:1; /**< bit: 9 RTC APB Protect Enable */
  358. uint32_t EIC_:1; /**< bit: 10 EIC APB Protect Enable */
  359. uint32_t FREQM_:1; /**< bit: 11 FREQM APB Protect Enable */
  360. uint32_t PORT_:1; /**< bit: 12 PORT APB Protect Enable */
  361. uint32_t AC_:1; /**< bit: 13 AC APB Protect Enable */
  362. uint32_t :18; /**< bit: 14..31 Reserved */
  363. } bit; /**< Structure used for bit access */
  364. uint32_t reg; /**< Type used for register access */
  365. } PAC_STATUSA_Type;
  366. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  367. #define PAC_STATUSA_OFFSET (0x34) /**< (PAC_STATUSA) Peripheral write protection status - Bridge A Offset */
  368. #define PAC_STATUSA_RESETVALUE _U_(0xC000) /**< (PAC_STATUSA) Peripheral write protection status - Bridge A Reset Value */
  369. #define PAC_STATUSA_PAC_Pos 0 /**< (PAC_STATUSA) PAC APB Protect Enable Position */
  370. #define PAC_STATUSA_PAC_Msk (_U_(0x1) << PAC_STATUSA_PAC_Pos) /**< (PAC_STATUSA) PAC APB Protect Enable Mask */
  371. #define PAC_STATUSA_PAC PAC_STATUSA_PAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_PAC_Msk instead */
  372. #define PAC_STATUSA_PM_Pos 1 /**< (PAC_STATUSA) PM APB Protect Enable Position */
  373. #define PAC_STATUSA_PM_Msk (_U_(0x1) << PAC_STATUSA_PM_Pos) /**< (PAC_STATUSA) PM APB Protect Enable Mask */
  374. #define PAC_STATUSA_PM PAC_STATUSA_PM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_PM_Msk instead */
  375. #define PAC_STATUSA_MCLK_Pos 2 /**< (PAC_STATUSA) MCLK APB Protect Enable Position */
  376. #define PAC_STATUSA_MCLK_Msk (_U_(0x1) << PAC_STATUSA_MCLK_Pos) /**< (PAC_STATUSA) MCLK APB Protect Enable Mask */
  377. #define PAC_STATUSA_MCLK PAC_STATUSA_MCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_MCLK_Msk instead */
  378. #define PAC_STATUSA_RSTC_Pos 3 /**< (PAC_STATUSA) RSTC APB Protect Enable Position */
  379. #define PAC_STATUSA_RSTC_Msk (_U_(0x1) << PAC_STATUSA_RSTC_Pos) /**< (PAC_STATUSA) RSTC APB Protect Enable Mask */
  380. #define PAC_STATUSA_RSTC PAC_STATUSA_RSTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_RSTC_Msk instead */
  381. #define PAC_STATUSA_OSCCTRL_Pos 4 /**< (PAC_STATUSA) OSCCTRL APB Protect Enable Position */
  382. #define PAC_STATUSA_OSCCTRL_Msk (_U_(0x1) << PAC_STATUSA_OSCCTRL_Pos) /**< (PAC_STATUSA) OSCCTRL APB Protect Enable Mask */
  383. #define PAC_STATUSA_OSCCTRL PAC_STATUSA_OSCCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_OSCCTRL_Msk instead */
  384. #define PAC_STATUSA_OSC32KCTRL_Pos 5 /**< (PAC_STATUSA) OSC32KCTRL APB Protect Enable Position */
  385. #define PAC_STATUSA_OSC32KCTRL_Msk (_U_(0x1) << PAC_STATUSA_OSC32KCTRL_Pos) /**< (PAC_STATUSA) OSC32KCTRL APB Protect Enable Mask */
  386. #define PAC_STATUSA_OSC32KCTRL PAC_STATUSA_OSC32KCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_OSC32KCTRL_Msk instead */
  387. #define PAC_STATUSA_SUPC_Pos 6 /**< (PAC_STATUSA) SUPC APB Protect Enable Position */
  388. #define PAC_STATUSA_SUPC_Msk (_U_(0x1) << PAC_STATUSA_SUPC_Pos) /**< (PAC_STATUSA) SUPC APB Protect Enable Mask */
  389. #define PAC_STATUSA_SUPC PAC_STATUSA_SUPC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_SUPC_Msk instead */
  390. #define PAC_STATUSA_GCLK_Pos 7 /**< (PAC_STATUSA) GCLK APB Protect Enable Position */
  391. #define PAC_STATUSA_GCLK_Msk (_U_(0x1) << PAC_STATUSA_GCLK_Pos) /**< (PAC_STATUSA) GCLK APB Protect Enable Mask */
  392. #define PAC_STATUSA_GCLK PAC_STATUSA_GCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_GCLK_Msk instead */
  393. #define PAC_STATUSA_WDT_Pos 8 /**< (PAC_STATUSA) WDT APB Protect Enable Position */
  394. #define PAC_STATUSA_WDT_Msk (_U_(0x1) << PAC_STATUSA_WDT_Pos) /**< (PAC_STATUSA) WDT APB Protect Enable Mask */
  395. #define PAC_STATUSA_WDT PAC_STATUSA_WDT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_WDT_Msk instead */
  396. #define PAC_STATUSA_RTC_Pos 9 /**< (PAC_STATUSA) RTC APB Protect Enable Position */
  397. #define PAC_STATUSA_RTC_Msk (_U_(0x1) << PAC_STATUSA_RTC_Pos) /**< (PAC_STATUSA) RTC APB Protect Enable Mask */
  398. #define PAC_STATUSA_RTC PAC_STATUSA_RTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_RTC_Msk instead */
  399. #define PAC_STATUSA_EIC_Pos 10 /**< (PAC_STATUSA) EIC APB Protect Enable Position */
  400. #define PAC_STATUSA_EIC_Msk (_U_(0x1) << PAC_STATUSA_EIC_Pos) /**< (PAC_STATUSA) EIC APB Protect Enable Mask */
  401. #define PAC_STATUSA_EIC PAC_STATUSA_EIC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_EIC_Msk instead */
  402. #define PAC_STATUSA_FREQM_Pos 11 /**< (PAC_STATUSA) FREQM APB Protect Enable Position */
  403. #define PAC_STATUSA_FREQM_Msk (_U_(0x1) << PAC_STATUSA_FREQM_Pos) /**< (PAC_STATUSA) FREQM APB Protect Enable Mask */
  404. #define PAC_STATUSA_FREQM PAC_STATUSA_FREQM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_FREQM_Msk instead */
  405. #define PAC_STATUSA_PORT_Pos 12 /**< (PAC_STATUSA) PORT APB Protect Enable Position */
  406. #define PAC_STATUSA_PORT_Msk (_U_(0x1) << PAC_STATUSA_PORT_Pos) /**< (PAC_STATUSA) PORT APB Protect Enable Mask */
  407. #define PAC_STATUSA_PORT PAC_STATUSA_PORT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_PORT_Msk instead */
  408. #define PAC_STATUSA_AC_Pos 13 /**< (PAC_STATUSA) AC APB Protect Enable Position */
  409. #define PAC_STATUSA_AC_Msk (_U_(0x1) << PAC_STATUSA_AC_Pos) /**< (PAC_STATUSA) AC APB Protect Enable Mask */
  410. #define PAC_STATUSA_AC PAC_STATUSA_AC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSA_AC_Msk instead */
  411. #define PAC_STATUSA_MASK _U_(0x3FFF) /**< \deprecated (PAC_STATUSA) Register MASK (Use PAC_STATUSA_Msk instead) */
  412. #define PAC_STATUSA_Msk _U_(0x3FFF) /**< (PAC_STATUSA) Register Mask */
  413. /* -------- PAC_STATUSB : (PAC Offset: 0x38) (R/ 32) Peripheral write protection status - Bridge B -------- */
  414. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  415. typedef union {
  416. struct {
  417. uint32_t IDAU_:1; /**< bit: 0 IDAU APB Protect Enable */
  418. uint32_t DSU_:1; /**< bit: 1 DSU APB Protect Enable */
  419. uint32_t NVMCTRL_:1; /**< bit: 2 NVMCTRL APB Protect Enable */
  420. uint32_t DMAC_:1; /**< bit: 3 DMAC APB Protect Enable */
  421. uint32_t :28; /**< bit: 4..31 Reserved */
  422. } bit; /**< Structure used for bit access */
  423. uint32_t reg; /**< Type used for register access */
  424. } PAC_STATUSB_Type;
  425. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  426. #define PAC_STATUSB_OFFSET (0x38) /**< (PAC_STATUSB) Peripheral write protection status - Bridge B Offset */
  427. #define PAC_STATUSB_RESETVALUE _U_(0x02) /**< (PAC_STATUSB) Peripheral write protection status - Bridge B Reset Value */
  428. #define PAC_STATUSB_IDAU_Pos 0 /**< (PAC_STATUSB) IDAU APB Protect Enable Position */
  429. #define PAC_STATUSB_IDAU_Msk (_U_(0x1) << PAC_STATUSB_IDAU_Pos) /**< (PAC_STATUSB) IDAU APB Protect Enable Mask */
  430. #define PAC_STATUSB_IDAU PAC_STATUSB_IDAU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSB_IDAU_Msk instead */
  431. #define PAC_STATUSB_DSU_Pos 1 /**< (PAC_STATUSB) DSU APB Protect Enable Position */
  432. #define PAC_STATUSB_DSU_Msk (_U_(0x1) << PAC_STATUSB_DSU_Pos) /**< (PAC_STATUSB) DSU APB Protect Enable Mask */
  433. #define PAC_STATUSB_DSU PAC_STATUSB_DSU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSB_DSU_Msk instead */
  434. #define PAC_STATUSB_NVMCTRL_Pos 2 /**< (PAC_STATUSB) NVMCTRL APB Protect Enable Position */
  435. #define PAC_STATUSB_NVMCTRL_Msk (_U_(0x1) << PAC_STATUSB_NVMCTRL_Pos) /**< (PAC_STATUSB) NVMCTRL APB Protect Enable Mask */
  436. #define PAC_STATUSB_NVMCTRL PAC_STATUSB_NVMCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSB_NVMCTRL_Msk instead */
  437. #define PAC_STATUSB_DMAC_Pos 3 /**< (PAC_STATUSB) DMAC APB Protect Enable Position */
  438. #define PAC_STATUSB_DMAC_Msk (_U_(0x1) << PAC_STATUSB_DMAC_Pos) /**< (PAC_STATUSB) DMAC APB Protect Enable Mask */
  439. #define PAC_STATUSB_DMAC PAC_STATUSB_DMAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSB_DMAC_Msk instead */
  440. #define PAC_STATUSB_MASK _U_(0x0F) /**< \deprecated (PAC_STATUSB) Register MASK (Use PAC_STATUSB_Msk instead) */
  441. #define PAC_STATUSB_Msk _U_(0x0F) /**< (PAC_STATUSB) Register Mask */
  442. /* -------- PAC_STATUSC : (PAC Offset: 0x3c) (R/ 32) Peripheral write protection status - Bridge C -------- */
  443. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  444. typedef union {
  445. struct {
  446. uint32_t EVSYS_:1; /**< bit: 0 EVSYS APB Protect Enable */
  447. uint32_t SERCOM0_:1; /**< bit: 1 SERCOM0 APB Protect Enable */
  448. uint32_t SERCOM1_:1; /**< bit: 2 SERCOM1 APB Protect Enable */
  449. uint32_t SERCOM2_:1; /**< bit: 3 SERCOM2 APB Protect Enable */
  450. uint32_t TC0_:1; /**< bit: 4 TC0 APB Protect Enable */
  451. uint32_t TC1_:1; /**< bit: 5 TC1 APB Protect Enable */
  452. uint32_t TC2_:1; /**< bit: 6 TC2 APB Protect Enable */
  453. uint32_t ADC_:1; /**< bit: 7 ADC APB Protect Enable */
  454. uint32_t DAC_:1; /**< bit: 8 DAC APB Protect Enable */
  455. uint32_t PTC_:1; /**< bit: 9 PTC APB Protect Enable */
  456. uint32_t TRNG_:1; /**< bit: 10 TRNG APB Protect Enable */
  457. uint32_t CCL_:1; /**< bit: 11 CCL APB Protect Enable */
  458. uint32_t OPAMP_:1; /**< bit: 12 OPAMP APB Protect Enable */
  459. uint32_t TRAM_:1; /**< bit: 13 TRAM APB Protect Enable */
  460. uint32_t :18; /**< bit: 14..31 Reserved */
  461. } bit; /**< Structure used for bit access */
  462. uint32_t reg; /**< Type used for register access */
  463. } PAC_STATUSC_Type;
  464. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  465. #define PAC_STATUSC_OFFSET (0x3C) /**< (PAC_STATUSC) Peripheral write protection status - Bridge C Offset */
  466. #define PAC_STATUSC_RESETVALUE _U_(0x00) /**< (PAC_STATUSC) Peripheral write protection status - Bridge C Reset Value */
  467. #define PAC_STATUSC_EVSYS_Pos 0 /**< (PAC_STATUSC) EVSYS APB Protect Enable Position */
  468. #define PAC_STATUSC_EVSYS_Msk (_U_(0x1) << PAC_STATUSC_EVSYS_Pos) /**< (PAC_STATUSC) EVSYS APB Protect Enable Mask */
  469. #define PAC_STATUSC_EVSYS PAC_STATUSC_EVSYS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_EVSYS_Msk instead */
  470. #define PAC_STATUSC_SERCOM0_Pos 1 /**< (PAC_STATUSC) SERCOM0 APB Protect Enable Position */
  471. #define PAC_STATUSC_SERCOM0_Msk (_U_(0x1) << PAC_STATUSC_SERCOM0_Pos) /**< (PAC_STATUSC) SERCOM0 APB Protect Enable Mask */
  472. #define PAC_STATUSC_SERCOM0 PAC_STATUSC_SERCOM0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_SERCOM0_Msk instead */
  473. #define PAC_STATUSC_SERCOM1_Pos 2 /**< (PAC_STATUSC) SERCOM1 APB Protect Enable Position */
  474. #define PAC_STATUSC_SERCOM1_Msk (_U_(0x1) << PAC_STATUSC_SERCOM1_Pos) /**< (PAC_STATUSC) SERCOM1 APB Protect Enable Mask */
  475. #define PAC_STATUSC_SERCOM1 PAC_STATUSC_SERCOM1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_SERCOM1_Msk instead */
  476. #define PAC_STATUSC_SERCOM2_Pos 3 /**< (PAC_STATUSC) SERCOM2 APB Protect Enable Position */
  477. #define PAC_STATUSC_SERCOM2_Msk (_U_(0x1) << PAC_STATUSC_SERCOM2_Pos) /**< (PAC_STATUSC) SERCOM2 APB Protect Enable Mask */
  478. #define PAC_STATUSC_SERCOM2 PAC_STATUSC_SERCOM2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_SERCOM2_Msk instead */
  479. #define PAC_STATUSC_TC0_Pos 4 /**< (PAC_STATUSC) TC0 APB Protect Enable Position */
  480. #define PAC_STATUSC_TC0_Msk (_U_(0x1) << PAC_STATUSC_TC0_Pos) /**< (PAC_STATUSC) TC0 APB Protect Enable Mask */
  481. #define PAC_STATUSC_TC0 PAC_STATUSC_TC0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_TC0_Msk instead */
  482. #define PAC_STATUSC_TC1_Pos 5 /**< (PAC_STATUSC) TC1 APB Protect Enable Position */
  483. #define PAC_STATUSC_TC1_Msk (_U_(0x1) << PAC_STATUSC_TC1_Pos) /**< (PAC_STATUSC) TC1 APB Protect Enable Mask */
  484. #define PAC_STATUSC_TC1 PAC_STATUSC_TC1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_TC1_Msk instead */
  485. #define PAC_STATUSC_TC2_Pos 6 /**< (PAC_STATUSC) TC2 APB Protect Enable Position */
  486. #define PAC_STATUSC_TC2_Msk (_U_(0x1) << PAC_STATUSC_TC2_Pos) /**< (PAC_STATUSC) TC2 APB Protect Enable Mask */
  487. #define PAC_STATUSC_TC2 PAC_STATUSC_TC2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_TC2_Msk instead */
  488. #define PAC_STATUSC_ADC_Pos 7 /**< (PAC_STATUSC) ADC APB Protect Enable Position */
  489. #define PAC_STATUSC_ADC_Msk (_U_(0x1) << PAC_STATUSC_ADC_Pos) /**< (PAC_STATUSC) ADC APB Protect Enable Mask */
  490. #define PAC_STATUSC_ADC PAC_STATUSC_ADC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_ADC_Msk instead */
  491. #define PAC_STATUSC_DAC_Pos 8 /**< (PAC_STATUSC) DAC APB Protect Enable Position */
  492. #define PAC_STATUSC_DAC_Msk (_U_(0x1) << PAC_STATUSC_DAC_Pos) /**< (PAC_STATUSC) DAC APB Protect Enable Mask */
  493. #define PAC_STATUSC_DAC PAC_STATUSC_DAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_DAC_Msk instead */
  494. #define PAC_STATUSC_PTC_Pos 9 /**< (PAC_STATUSC) PTC APB Protect Enable Position */
  495. #define PAC_STATUSC_PTC_Msk (_U_(0x1) << PAC_STATUSC_PTC_Pos) /**< (PAC_STATUSC) PTC APB Protect Enable Mask */
  496. #define PAC_STATUSC_PTC PAC_STATUSC_PTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_PTC_Msk instead */
  497. #define PAC_STATUSC_TRNG_Pos 10 /**< (PAC_STATUSC) TRNG APB Protect Enable Position */
  498. #define PAC_STATUSC_TRNG_Msk (_U_(0x1) << PAC_STATUSC_TRNG_Pos) /**< (PAC_STATUSC) TRNG APB Protect Enable Mask */
  499. #define PAC_STATUSC_TRNG PAC_STATUSC_TRNG_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_TRNG_Msk instead */
  500. #define PAC_STATUSC_CCL_Pos 11 /**< (PAC_STATUSC) CCL APB Protect Enable Position */
  501. #define PAC_STATUSC_CCL_Msk (_U_(0x1) << PAC_STATUSC_CCL_Pos) /**< (PAC_STATUSC) CCL APB Protect Enable Mask */
  502. #define PAC_STATUSC_CCL PAC_STATUSC_CCL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_CCL_Msk instead */
  503. #define PAC_STATUSC_OPAMP_Pos 12 /**< (PAC_STATUSC) OPAMP APB Protect Enable Position */
  504. #define PAC_STATUSC_OPAMP_Msk (_U_(0x1) << PAC_STATUSC_OPAMP_Pos) /**< (PAC_STATUSC) OPAMP APB Protect Enable Mask */
  505. #define PAC_STATUSC_OPAMP PAC_STATUSC_OPAMP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_OPAMP_Msk instead */
  506. #define PAC_STATUSC_TRAM_Pos 13 /**< (PAC_STATUSC) TRAM APB Protect Enable Position */
  507. #define PAC_STATUSC_TRAM_Msk (_U_(0x1) << PAC_STATUSC_TRAM_Pos) /**< (PAC_STATUSC) TRAM APB Protect Enable Mask */
  508. #define PAC_STATUSC_TRAM PAC_STATUSC_TRAM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_STATUSC_TRAM_Msk instead */
  509. #define PAC_STATUSC_MASK _U_(0x3FFF) /**< \deprecated (PAC_STATUSC) Register MASK (Use PAC_STATUSC_Msk instead) */
  510. #define PAC_STATUSC_Msk _U_(0x3FFF) /**< (PAC_STATUSC) Register Mask */
  511. #define PAC_STATUSC_SERCOM_Pos 1 /**< (PAC_STATUSC Position) SERCOMx APB Protect Enable */
  512. #define PAC_STATUSC_SERCOM_Msk (_U_(0x7) << PAC_STATUSC_SERCOM_Pos) /**< (PAC_STATUSC Mask) SERCOM */
  513. #define PAC_STATUSC_SERCOM(value) (PAC_STATUSC_SERCOM_Msk & ((value) << PAC_STATUSC_SERCOM_Pos))
  514. #define PAC_STATUSC_TC_Pos 4 /**< (PAC_STATUSC Position) TCx APB Protect Enable */
  515. #define PAC_STATUSC_TC_Msk (_U_(0x7) << PAC_STATUSC_TC_Pos) /**< (PAC_STATUSC Mask) TC */
  516. #define PAC_STATUSC_TC(value) (PAC_STATUSC_TC_Msk & ((value) << PAC_STATUSC_TC_Pos))
  517. /* -------- PAC_NONSECA : (PAC Offset: 0x54) (R/ 32) Peripheral non-secure status - Bridge A -------- */
  518. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  519. typedef union {
  520. struct {
  521. uint32_t PAC_:1; /**< bit: 0 PAC Non-Secure */
  522. uint32_t PM_:1; /**< bit: 1 PM Non-Secure */
  523. uint32_t MCLK_:1; /**< bit: 2 MCLK Non-Secure */
  524. uint32_t RSTC_:1; /**< bit: 3 RSTC Non-Secure */
  525. uint32_t OSCCTRL_:1; /**< bit: 4 OSCCTRL Non-Secure */
  526. uint32_t OSC32KCTRL_:1; /**< bit: 5 OSC32KCTRL Non-Secure */
  527. uint32_t SUPC_:1; /**< bit: 6 SUPC Non-Secure */
  528. uint32_t GCLK_:1; /**< bit: 7 GCLK Non-Secure */
  529. uint32_t WDT_:1; /**< bit: 8 WDT Non-Secure */
  530. uint32_t RTC_:1; /**< bit: 9 RTC Non-Secure */
  531. uint32_t EIC_:1; /**< bit: 10 EIC Non-Secure */
  532. uint32_t FREQM_:1; /**< bit: 11 FREQM Non-Secure */
  533. uint32_t PORT_:1; /**< bit: 12 PORT Non-Secure */
  534. uint32_t AC_:1; /**< bit: 13 AC Non-Secure */
  535. uint32_t :18; /**< bit: 14..31 Reserved */
  536. } bit; /**< Structure used for bit access */
  537. uint32_t reg; /**< Type used for register access */
  538. } PAC_NONSECA_Type;
  539. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  540. #define PAC_NONSECA_OFFSET (0x54) /**< (PAC_NONSECA) Peripheral non-secure status - Bridge A Offset */
  541. #define PAC_NONSECA_RESETVALUE _U_(0x00) /**< (PAC_NONSECA) Peripheral non-secure status - Bridge A Reset Value */
  542. #define PAC_NONSECA_PAC_Pos 0 /**< (PAC_NONSECA) PAC Non-Secure Position */
  543. #define PAC_NONSECA_PAC_Msk (_U_(0x1) << PAC_NONSECA_PAC_Pos) /**< (PAC_NONSECA) PAC Non-Secure Mask */
  544. #define PAC_NONSECA_PAC PAC_NONSECA_PAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_PAC_Msk instead */
  545. #define PAC_NONSECA_PM_Pos 1 /**< (PAC_NONSECA) PM Non-Secure Position */
  546. #define PAC_NONSECA_PM_Msk (_U_(0x1) << PAC_NONSECA_PM_Pos) /**< (PAC_NONSECA) PM Non-Secure Mask */
  547. #define PAC_NONSECA_PM PAC_NONSECA_PM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_PM_Msk instead */
  548. #define PAC_NONSECA_MCLK_Pos 2 /**< (PAC_NONSECA) MCLK Non-Secure Position */
  549. #define PAC_NONSECA_MCLK_Msk (_U_(0x1) << PAC_NONSECA_MCLK_Pos) /**< (PAC_NONSECA) MCLK Non-Secure Mask */
  550. #define PAC_NONSECA_MCLK PAC_NONSECA_MCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_MCLK_Msk instead */
  551. #define PAC_NONSECA_RSTC_Pos 3 /**< (PAC_NONSECA) RSTC Non-Secure Position */
  552. #define PAC_NONSECA_RSTC_Msk (_U_(0x1) << PAC_NONSECA_RSTC_Pos) /**< (PAC_NONSECA) RSTC Non-Secure Mask */
  553. #define PAC_NONSECA_RSTC PAC_NONSECA_RSTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_RSTC_Msk instead */
  554. #define PAC_NONSECA_OSCCTRL_Pos 4 /**< (PAC_NONSECA) OSCCTRL Non-Secure Position */
  555. #define PAC_NONSECA_OSCCTRL_Msk (_U_(0x1) << PAC_NONSECA_OSCCTRL_Pos) /**< (PAC_NONSECA) OSCCTRL Non-Secure Mask */
  556. #define PAC_NONSECA_OSCCTRL PAC_NONSECA_OSCCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_OSCCTRL_Msk instead */
  557. #define PAC_NONSECA_OSC32KCTRL_Pos 5 /**< (PAC_NONSECA) OSC32KCTRL Non-Secure Position */
  558. #define PAC_NONSECA_OSC32KCTRL_Msk (_U_(0x1) << PAC_NONSECA_OSC32KCTRL_Pos) /**< (PAC_NONSECA) OSC32KCTRL Non-Secure Mask */
  559. #define PAC_NONSECA_OSC32KCTRL PAC_NONSECA_OSC32KCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_OSC32KCTRL_Msk instead */
  560. #define PAC_NONSECA_SUPC_Pos 6 /**< (PAC_NONSECA) SUPC Non-Secure Position */
  561. #define PAC_NONSECA_SUPC_Msk (_U_(0x1) << PAC_NONSECA_SUPC_Pos) /**< (PAC_NONSECA) SUPC Non-Secure Mask */
  562. #define PAC_NONSECA_SUPC PAC_NONSECA_SUPC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_SUPC_Msk instead */
  563. #define PAC_NONSECA_GCLK_Pos 7 /**< (PAC_NONSECA) GCLK Non-Secure Position */
  564. #define PAC_NONSECA_GCLK_Msk (_U_(0x1) << PAC_NONSECA_GCLK_Pos) /**< (PAC_NONSECA) GCLK Non-Secure Mask */
  565. #define PAC_NONSECA_GCLK PAC_NONSECA_GCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_GCLK_Msk instead */
  566. #define PAC_NONSECA_WDT_Pos 8 /**< (PAC_NONSECA) WDT Non-Secure Position */
  567. #define PAC_NONSECA_WDT_Msk (_U_(0x1) << PAC_NONSECA_WDT_Pos) /**< (PAC_NONSECA) WDT Non-Secure Mask */
  568. #define PAC_NONSECA_WDT PAC_NONSECA_WDT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_WDT_Msk instead */
  569. #define PAC_NONSECA_RTC_Pos 9 /**< (PAC_NONSECA) RTC Non-Secure Position */
  570. #define PAC_NONSECA_RTC_Msk (_U_(0x1) << PAC_NONSECA_RTC_Pos) /**< (PAC_NONSECA) RTC Non-Secure Mask */
  571. #define PAC_NONSECA_RTC PAC_NONSECA_RTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_RTC_Msk instead */
  572. #define PAC_NONSECA_EIC_Pos 10 /**< (PAC_NONSECA) EIC Non-Secure Position */
  573. #define PAC_NONSECA_EIC_Msk (_U_(0x1) << PAC_NONSECA_EIC_Pos) /**< (PAC_NONSECA) EIC Non-Secure Mask */
  574. #define PAC_NONSECA_EIC PAC_NONSECA_EIC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_EIC_Msk instead */
  575. #define PAC_NONSECA_FREQM_Pos 11 /**< (PAC_NONSECA) FREQM Non-Secure Position */
  576. #define PAC_NONSECA_FREQM_Msk (_U_(0x1) << PAC_NONSECA_FREQM_Pos) /**< (PAC_NONSECA) FREQM Non-Secure Mask */
  577. #define PAC_NONSECA_FREQM PAC_NONSECA_FREQM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_FREQM_Msk instead */
  578. #define PAC_NONSECA_PORT_Pos 12 /**< (PAC_NONSECA) PORT Non-Secure Position */
  579. #define PAC_NONSECA_PORT_Msk (_U_(0x1) << PAC_NONSECA_PORT_Pos) /**< (PAC_NONSECA) PORT Non-Secure Mask */
  580. #define PAC_NONSECA_PORT PAC_NONSECA_PORT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_PORT_Msk instead */
  581. #define PAC_NONSECA_AC_Pos 13 /**< (PAC_NONSECA) AC Non-Secure Position */
  582. #define PAC_NONSECA_AC_Msk (_U_(0x1) << PAC_NONSECA_AC_Pos) /**< (PAC_NONSECA) AC Non-Secure Mask */
  583. #define PAC_NONSECA_AC PAC_NONSECA_AC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECA_AC_Msk instead */
  584. #define PAC_NONSECA_MASK _U_(0x3FFF) /**< \deprecated (PAC_NONSECA) Register MASK (Use PAC_NONSECA_Msk instead) */
  585. #define PAC_NONSECA_Msk _U_(0x3FFF) /**< (PAC_NONSECA) Register Mask */
  586. /* -------- PAC_NONSECB : (PAC Offset: 0x58) (R/ 32) Peripheral non-secure status - Bridge B -------- */
  587. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  588. typedef union {
  589. struct {
  590. uint32_t IDAU_:1; /**< bit: 0 IDAU Non-Secure */
  591. uint32_t DSU_:1; /**< bit: 1 DSU Non-Secure */
  592. uint32_t NVMCTRL_:1; /**< bit: 2 NVMCTRL Non-Secure */
  593. uint32_t DMAC_:1; /**< bit: 3 DMAC Non-Secure */
  594. uint32_t :28; /**< bit: 4..31 Reserved */
  595. } bit; /**< Structure used for bit access */
  596. uint32_t reg; /**< Type used for register access */
  597. } PAC_NONSECB_Type;
  598. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  599. #define PAC_NONSECB_OFFSET (0x58) /**< (PAC_NONSECB) Peripheral non-secure status - Bridge B Offset */
  600. #define PAC_NONSECB_RESETVALUE _U_(0x02) /**< (PAC_NONSECB) Peripheral non-secure status - Bridge B Reset Value */
  601. #define PAC_NONSECB_IDAU_Pos 0 /**< (PAC_NONSECB) IDAU Non-Secure Position */
  602. #define PAC_NONSECB_IDAU_Msk (_U_(0x1) << PAC_NONSECB_IDAU_Pos) /**< (PAC_NONSECB) IDAU Non-Secure Mask */
  603. #define PAC_NONSECB_IDAU PAC_NONSECB_IDAU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECB_IDAU_Msk instead */
  604. #define PAC_NONSECB_DSU_Pos 1 /**< (PAC_NONSECB) DSU Non-Secure Position */
  605. #define PAC_NONSECB_DSU_Msk (_U_(0x1) << PAC_NONSECB_DSU_Pos) /**< (PAC_NONSECB) DSU Non-Secure Mask */
  606. #define PAC_NONSECB_DSU PAC_NONSECB_DSU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECB_DSU_Msk instead */
  607. #define PAC_NONSECB_NVMCTRL_Pos 2 /**< (PAC_NONSECB) NVMCTRL Non-Secure Position */
  608. #define PAC_NONSECB_NVMCTRL_Msk (_U_(0x1) << PAC_NONSECB_NVMCTRL_Pos) /**< (PAC_NONSECB) NVMCTRL Non-Secure Mask */
  609. #define PAC_NONSECB_NVMCTRL PAC_NONSECB_NVMCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECB_NVMCTRL_Msk instead */
  610. #define PAC_NONSECB_DMAC_Pos 3 /**< (PAC_NONSECB) DMAC Non-Secure Position */
  611. #define PAC_NONSECB_DMAC_Msk (_U_(0x1) << PAC_NONSECB_DMAC_Pos) /**< (PAC_NONSECB) DMAC Non-Secure Mask */
  612. #define PAC_NONSECB_DMAC PAC_NONSECB_DMAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECB_DMAC_Msk instead */
  613. #define PAC_NONSECB_MASK _U_(0x0F) /**< \deprecated (PAC_NONSECB) Register MASK (Use PAC_NONSECB_Msk instead) */
  614. #define PAC_NONSECB_Msk _U_(0x0F) /**< (PAC_NONSECB) Register Mask */
  615. /* -------- PAC_NONSECC : (PAC Offset: 0x5c) (R/ 32) Peripheral non-secure status - Bridge C -------- */
  616. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  617. typedef union {
  618. struct {
  619. uint32_t EVSYS_:1; /**< bit: 0 EVSYS Non-Secure */
  620. uint32_t SERCOM0_:1; /**< bit: 1 SERCOM0 Non-Secure */
  621. uint32_t SERCOM1_:1; /**< bit: 2 SERCOM1 Non-Secure */
  622. uint32_t SERCOM2_:1; /**< bit: 3 SERCOM2 Non-Secure */
  623. uint32_t TC0_:1; /**< bit: 4 TC0 Non-Secure */
  624. uint32_t TC1_:1; /**< bit: 5 TC1 Non-Secure */
  625. uint32_t TC2_:1; /**< bit: 6 TC2 Non-Secure */
  626. uint32_t ADC_:1; /**< bit: 7 ADC Non-Secure */
  627. uint32_t DAC_:1; /**< bit: 8 DAC Non-Secure */
  628. uint32_t PTC_:1; /**< bit: 9 PTC Non-Secure */
  629. uint32_t TRNG_:1; /**< bit: 10 TRNG Non-Secure */
  630. uint32_t CCL_:1; /**< bit: 11 CCL Non-Secure */
  631. uint32_t OPAMP_:1; /**< bit: 12 OPAMP Non-Secure */
  632. uint32_t TRAM_:1; /**< bit: 13 TRAM Non-Secure */
  633. uint32_t :18; /**< bit: 14..31 Reserved */
  634. } bit; /**< Structure used for bit access */
  635. uint32_t reg; /**< Type used for register access */
  636. } PAC_NONSECC_Type;
  637. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  638. #define PAC_NONSECC_OFFSET (0x5C) /**< (PAC_NONSECC) Peripheral non-secure status - Bridge C Offset */
  639. #define PAC_NONSECC_RESETVALUE _U_(0x00) /**< (PAC_NONSECC) Peripheral non-secure status - Bridge C Reset Value */
  640. #define PAC_NONSECC_EVSYS_Pos 0 /**< (PAC_NONSECC) EVSYS Non-Secure Position */
  641. #define PAC_NONSECC_EVSYS_Msk (_U_(0x1) << PAC_NONSECC_EVSYS_Pos) /**< (PAC_NONSECC) EVSYS Non-Secure Mask */
  642. #define PAC_NONSECC_EVSYS PAC_NONSECC_EVSYS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_EVSYS_Msk instead */
  643. #define PAC_NONSECC_SERCOM0_Pos 1 /**< (PAC_NONSECC) SERCOM0 Non-Secure Position */
  644. #define PAC_NONSECC_SERCOM0_Msk (_U_(0x1) << PAC_NONSECC_SERCOM0_Pos) /**< (PAC_NONSECC) SERCOM0 Non-Secure Mask */
  645. #define PAC_NONSECC_SERCOM0 PAC_NONSECC_SERCOM0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_SERCOM0_Msk instead */
  646. #define PAC_NONSECC_SERCOM1_Pos 2 /**< (PAC_NONSECC) SERCOM1 Non-Secure Position */
  647. #define PAC_NONSECC_SERCOM1_Msk (_U_(0x1) << PAC_NONSECC_SERCOM1_Pos) /**< (PAC_NONSECC) SERCOM1 Non-Secure Mask */
  648. #define PAC_NONSECC_SERCOM1 PAC_NONSECC_SERCOM1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_SERCOM1_Msk instead */
  649. #define PAC_NONSECC_SERCOM2_Pos 3 /**< (PAC_NONSECC) SERCOM2 Non-Secure Position */
  650. #define PAC_NONSECC_SERCOM2_Msk (_U_(0x1) << PAC_NONSECC_SERCOM2_Pos) /**< (PAC_NONSECC) SERCOM2 Non-Secure Mask */
  651. #define PAC_NONSECC_SERCOM2 PAC_NONSECC_SERCOM2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_SERCOM2_Msk instead */
  652. #define PAC_NONSECC_TC0_Pos 4 /**< (PAC_NONSECC) TC0 Non-Secure Position */
  653. #define PAC_NONSECC_TC0_Msk (_U_(0x1) << PAC_NONSECC_TC0_Pos) /**< (PAC_NONSECC) TC0 Non-Secure Mask */
  654. #define PAC_NONSECC_TC0 PAC_NONSECC_TC0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_TC0_Msk instead */
  655. #define PAC_NONSECC_TC1_Pos 5 /**< (PAC_NONSECC) TC1 Non-Secure Position */
  656. #define PAC_NONSECC_TC1_Msk (_U_(0x1) << PAC_NONSECC_TC1_Pos) /**< (PAC_NONSECC) TC1 Non-Secure Mask */
  657. #define PAC_NONSECC_TC1 PAC_NONSECC_TC1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_TC1_Msk instead */
  658. #define PAC_NONSECC_TC2_Pos 6 /**< (PAC_NONSECC) TC2 Non-Secure Position */
  659. #define PAC_NONSECC_TC2_Msk (_U_(0x1) << PAC_NONSECC_TC2_Pos) /**< (PAC_NONSECC) TC2 Non-Secure Mask */
  660. #define PAC_NONSECC_TC2 PAC_NONSECC_TC2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_TC2_Msk instead */
  661. #define PAC_NONSECC_ADC_Pos 7 /**< (PAC_NONSECC) ADC Non-Secure Position */
  662. #define PAC_NONSECC_ADC_Msk (_U_(0x1) << PAC_NONSECC_ADC_Pos) /**< (PAC_NONSECC) ADC Non-Secure Mask */
  663. #define PAC_NONSECC_ADC PAC_NONSECC_ADC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_ADC_Msk instead */
  664. #define PAC_NONSECC_DAC_Pos 8 /**< (PAC_NONSECC) DAC Non-Secure Position */
  665. #define PAC_NONSECC_DAC_Msk (_U_(0x1) << PAC_NONSECC_DAC_Pos) /**< (PAC_NONSECC) DAC Non-Secure Mask */
  666. #define PAC_NONSECC_DAC PAC_NONSECC_DAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_DAC_Msk instead */
  667. #define PAC_NONSECC_PTC_Pos 9 /**< (PAC_NONSECC) PTC Non-Secure Position */
  668. #define PAC_NONSECC_PTC_Msk (_U_(0x1) << PAC_NONSECC_PTC_Pos) /**< (PAC_NONSECC) PTC Non-Secure Mask */
  669. #define PAC_NONSECC_PTC PAC_NONSECC_PTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_PTC_Msk instead */
  670. #define PAC_NONSECC_TRNG_Pos 10 /**< (PAC_NONSECC) TRNG Non-Secure Position */
  671. #define PAC_NONSECC_TRNG_Msk (_U_(0x1) << PAC_NONSECC_TRNG_Pos) /**< (PAC_NONSECC) TRNG Non-Secure Mask */
  672. #define PAC_NONSECC_TRNG PAC_NONSECC_TRNG_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_TRNG_Msk instead */
  673. #define PAC_NONSECC_CCL_Pos 11 /**< (PAC_NONSECC) CCL Non-Secure Position */
  674. #define PAC_NONSECC_CCL_Msk (_U_(0x1) << PAC_NONSECC_CCL_Pos) /**< (PAC_NONSECC) CCL Non-Secure Mask */
  675. #define PAC_NONSECC_CCL PAC_NONSECC_CCL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_CCL_Msk instead */
  676. #define PAC_NONSECC_OPAMP_Pos 12 /**< (PAC_NONSECC) OPAMP Non-Secure Position */
  677. #define PAC_NONSECC_OPAMP_Msk (_U_(0x1) << PAC_NONSECC_OPAMP_Pos) /**< (PAC_NONSECC) OPAMP Non-Secure Mask */
  678. #define PAC_NONSECC_OPAMP PAC_NONSECC_OPAMP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_OPAMP_Msk instead */
  679. #define PAC_NONSECC_TRAM_Pos 13 /**< (PAC_NONSECC) TRAM Non-Secure Position */
  680. #define PAC_NONSECC_TRAM_Msk (_U_(0x1) << PAC_NONSECC_TRAM_Pos) /**< (PAC_NONSECC) TRAM Non-Secure Mask */
  681. #define PAC_NONSECC_TRAM PAC_NONSECC_TRAM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_NONSECC_TRAM_Msk instead */
  682. #define PAC_NONSECC_MASK _U_(0x3FFF) /**< \deprecated (PAC_NONSECC) Register MASK (Use PAC_NONSECC_Msk instead) */
  683. #define PAC_NONSECC_Msk _U_(0x3FFF) /**< (PAC_NONSECC) Register Mask */
  684. #define PAC_NONSECC_SERCOM_Pos 1 /**< (PAC_NONSECC Position) SERCOMx Non-Secure */
  685. #define PAC_NONSECC_SERCOM_Msk (_U_(0x7) << PAC_NONSECC_SERCOM_Pos) /**< (PAC_NONSECC Mask) SERCOM */
  686. #define PAC_NONSECC_SERCOM(value) (PAC_NONSECC_SERCOM_Msk & ((value) << PAC_NONSECC_SERCOM_Pos))
  687. #define PAC_NONSECC_TC_Pos 4 /**< (PAC_NONSECC Position) TCx Non-Secure */
  688. #define PAC_NONSECC_TC_Msk (_U_(0x7) << PAC_NONSECC_TC_Pos) /**< (PAC_NONSECC Mask) TC */
  689. #define PAC_NONSECC_TC(value) (PAC_NONSECC_TC_Msk & ((value) << PAC_NONSECC_TC_Pos))
  690. /* -------- PAC_SECLOCKA : (PAC Offset: 0x74) (R/ 32) Peripheral secure status locked - Bridge A -------- */
  691. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  692. typedef union {
  693. struct {
  694. uint32_t PAC_:1; /**< bit: 0 PAC Secure Status Locked */
  695. uint32_t PM_:1; /**< bit: 1 PM Secure Status Locked */
  696. uint32_t MCLK_:1; /**< bit: 2 MCLK Secure Status Locked */
  697. uint32_t RSTC_:1; /**< bit: 3 RSTC Secure Status Locked */
  698. uint32_t OSCCTRL_:1; /**< bit: 4 OSCCTRL Secure Status Locked */
  699. uint32_t OSC32KCTRL_:1; /**< bit: 5 OSC32KCTRL Secure Status Locked */
  700. uint32_t SUPC_:1; /**< bit: 6 SUPC Secure Status Locked */
  701. uint32_t GCLK_:1; /**< bit: 7 GCLK Secure Status Locked */
  702. uint32_t WDT_:1; /**< bit: 8 WDT Secure Status Locked */
  703. uint32_t RTC_:1; /**< bit: 9 RTC Secure Status Locked */
  704. uint32_t EIC_:1; /**< bit: 10 EIC Secure Status Locked */
  705. uint32_t FREQM_:1; /**< bit: 11 FREQM Secure Status Locked */
  706. uint32_t PORT_:1; /**< bit: 12 PORT Secure Status Locked */
  707. uint32_t AC_:1; /**< bit: 13 AC Secure Status Locked */
  708. uint32_t :18; /**< bit: 14..31 Reserved */
  709. } bit; /**< Structure used for bit access */
  710. uint32_t reg; /**< Type used for register access */
  711. } PAC_SECLOCKA_Type;
  712. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  713. #define PAC_SECLOCKA_OFFSET (0x74) /**< (PAC_SECLOCKA) Peripheral secure status locked - Bridge A Offset */
  714. #define PAC_SECLOCKA_RESETVALUE _U_(0x00) /**< (PAC_SECLOCKA) Peripheral secure status locked - Bridge A Reset Value */
  715. #define PAC_SECLOCKA_PAC_Pos 0 /**< (PAC_SECLOCKA) PAC Secure Status Locked Position */
  716. #define PAC_SECLOCKA_PAC_Msk (_U_(0x1) << PAC_SECLOCKA_PAC_Pos) /**< (PAC_SECLOCKA) PAC Secure Status Locked Mask */
  717. #define PAC_SECLOCKA_PAC PAC_SECLOCKA_PAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_PAC_Msk instead */
  718. #define PAC_SECLOCKA_PM_Pos 1 /**< (PAC_SECLOCKA) PM Secure Status Locked Position */
  719. #define PAC_SECLOCKA_PM_Msk (_U_(0x1) << PAC_SECLOCKA_PM_Pos) /**< (PAC_SECLOCKA) PM Secure Status Locked Mask */
  720. #define PAC_SECLOCKA_PM PAC_SECLOCKA_PM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_PM_Msk instead */
  721. #define PAC_SECLOCKA_MCLK_Pos 2 /**< (PAC_SECLOCKA) MCLK Secure Status Locked Position */
  722. #define PAC_SECLOCKA_MCLK_Msk (_U_(0x1) << PAC_SECLOCKA_MCLK_Pos) /**< (PAC_SECLOCKA) MCLK Secure Status Locked Mask */
  723. #define PAC_SECLOCKA_MCLK PAC_SECLOCKA_MCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_MCLK_Msk instead */
  724. #define PAC_SECLOCKA_RSTC_Pos 3 /**< (PAC_SECLOCKA) RSTC Secure Status Locked Position */
  725. #define PAC_SECLOCKA_RSTC_Msk (_U_(0x1) << PAC_SECLOCKA_RSTC_Pos) /**< (PAC_SECLOCKA) RSTC Secure Status Locked Mask */
  726. #define PAC_SECLOCKA_RSTC PAC_SECLOCKA_RSTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_RSTC_Msk instead */
  727. #define PAC_SECLOCKA_OSCCTRL_Pos 4 /**< (PAC_SECLOCKA) OSCCTRL Secure Status Locked Position */
  728. #define PAC_SECLOCKA_OSCCTRL_Msk (_U_(0x1) << PAC_SECLOCKA_OSCCTRL_Pos) /**< (PAC_SECLOCKA) OSCCTRL Secure Status Locked Mask */
  729. #define PAC_SECLOCKA_OSCCTRL PAC_SECLOCKA_OSCCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_OSCCTRL_Msk instead */
  730. #define PAC_SECLOCKA_OSC32KCTRL_Pos 5 /**< (PAC_SECLOCKA) OSC32KCTRL Secure Status Locked Position */
  731. #define PAC_SECLOCKA_OSC32KCTRL_Msk (_U_(0x1) << PAC_SECLOCKA_OSC32KCTRL_Pos) /**< (PAC_SECLOCKA) OSC32KCTRL Secure Status Locked Mask */
  732. #define PAC_SECLOCKA_OSC32KCTRL PAC_SECLOCKA_OSC32KCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_OSC32KCTRL_Msk instead */
  733. #define PAC_SECLOCKA_SUPC_Pos 6 /**< (PAC_SECLOCKA) SUPC Secure Status Locked Position */
  734. #define PAC_SECLOCKA_SUPC_Msk (_U_(0x1) << PAC_SECLOCKA_SUPC_Pos) /**< (PAC_SECLOCKA) SUPC Secure Status Locked Mask */
  735. #define PAC_SECLOCKA_SUPC PAC_SECLOCKA_SUPC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_SUPC_Msk instead */
  736. #define PAC_SECLOCKA_GCLK_Pos 7 /**< (PAC_SECLOCKA) GCLK Secure Status Locked Position */
  737. #define PAC_SECLOCKA_GCLK_Msk (_U_(0x1) << PAC_SECLOCKA_GCLK_Pos) /**< (PAC_SECLOCKA) GCLK Secure Status Locked Mask */
  738. #define PAC_SECLOCKA_GCLK PAC_SECLOCKA_GCLK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_GCLK_Msk instead */
  739. #define PAC_SECLOCKA_WDT_Pos 8 /**< (PAC_SECLOCKA) WDT Secure Status Locked Position */
  740. #define PAC_SECLOCKA_WDT_Msk (_U_(0x1) << PAC_SECLOCKA_WDT_Pos) /**< (PAC_SECLOCKA) WDT Secure Status Locked Mask */
  741. #define PAC_SECLOCKA_WDT PAC_SECLOCKA_WDT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_WDT_Msk instead */
  742. #define PAC_SECLOCKA_RTC_Pos 9 /**< (PAC_SECLOCKA) RTC Secure Status Locked Position */
  743. #define PAC_SECLOCKA_RTC_Msk (_U_(0x1) << PAC_SECLOCKA_RTC_Pos) /**< (PAC_SECLOCKA) RTC Secure Status Locked Mask */
  744. #define PAC_SECLOCKA_RTC PAC_SECLOCKA_RTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_RTC_Msk instead */
  745. #define PAC_SECLOCKA_EIC_Pos 10 /**< (PAC_SECLOCKA) EIC Secure Status Locked Position */
  746. #define PAC_SECLOCKA_EIC_Msk (_U_(0x1) << PAC_SECLOCKA_EIC_Pos) /**< (PAC_SECLOCKA) EIC Secure Status Locked Mask */
  747. #define PAC_SECLOCKA_EIC PAC_SECLOCKA_EIC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_EIC_Msk instead */
  748. #define PAC_SECLOCKA_FREQM_Pos 11 /**< (PAC_SECLOCKA) FREQM Secure Status Locked Position */
  749. #define PAC_SECLOCKA_FREQM_Msk (_U_(0x1) << PAC_SECLOCKA_FREQM_Pos) /**< (PAC_SECLOCKA) FREQM Secure Status Locked Mask */
  750. #define PAC_SECLOCKA_FREQM PAC_SECLOCKA_FREQM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_FREQM_Msk instead */
  751. #define PAC_SECLOCKA_PORT_Pos 12 /**< (PAC_SECLOCKA) PORT Secure Status Locked Position */
  752. #define PAC_SECLOCKA_PORT_Msk (_U_(0x1) << PAC_SECLOCKA_PORT_Pos) /**< (PAC_SECLOCKA) PORT Secure Status Locked Mask */
  753. #define PAC_SECLOCKA_PORT PAC_SECLOCKA_PORT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_PORT_Msk instead */
  754. #define PAC_SECLOCKA_AC_Pos 13 /**< (PAC_SECLOCKA) AC Secure Status Locked Position */
  755. #define PAC_SECLOCKA_AC_Msk (_U_(0x1) << PAC_SECLOCKA_AC_Pos) /**< (PAC_SECLOCKA) AC Secure Status Locked Mask */
  756. #define PAC_SECLOCKA_AC PAC_SECLOCKA_AC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKA_AC_Msk instead */
  757. #define PAC_SECLOCKA_MASK _U_(0x3FFF) /**< \deprecated (PAC_SECLOCKA) Register MASK (Use PAC_SECLOCKA_Msk instead) */
  758. #define PAC_SECLOCKA_Msk _U_(0x3FFF) /**< (PAC_SECLOCKA) Register Mask */
  759. /* -------- PAC_SECLOCKB : (PAC Offset: 0x78) (R/ 32) Peripheral secure status locked - Bridge B -------- */
  760. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  761. typedef union {
  762. struct {
  763. uint32_t IDAU_:1; /**< bit: 0 IDAU Secure Status Locked */
  764. uint32_t DSU_:1; /**< bit: 1 DSU Secure Status Locked */
  765. uint32_t NVMCTRL_:1; /**< bit: 2 NVMCTRL Secure Status Locked */
  766. uint32_t DMAC_:1; /**< bit: 3 DMAC Secure Status Locked */
  767. uint32_t :28; /**< bit: 4..31 Reserved */
  768. } bit; /**< Structure used for bit access */
  769. uint32_t reg; /**< Type used for register access */
  770. } PAC_SECLOCKB_Type;
  771. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  772. #define PAC_SECLOCKB_OFFSET (0x78) /**< (PAC_SECLOCKB) Peripheral secure status locked - Bridge B Offset */
  773. #define PAC_SECLOCKB_RESETVALUE _U_(0x03) /**< (PAC_SECLOCKB) Peripheral secure status locked - Bridge B Reset Value */
  774. #define PAC_SECLOCKB_IDAU_Pos 0 /**< (PAC_SECLOCKB) IDAU Secure Status Locked Position */
  775. #define PAC_SECLOCKB_IDAU_Msk (_U_(0x1) << PAC_SECLOCKB_IDAU_Pos) /**< (PAC_SECLOCKB) IDAU Secure Status Locked Mask */
  776. #define PAC_SECLOCKB_IDAU PAC_SECLOCKB_IDAU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKB_IDAU_Msk instead */
  777. #define PAC_SECLOCKB_DSU_Pos 1 /**< (PAC_SECLOCKB) DSU Secure Status Locked Position */
  778. #define PAC_SECLOCKB_DSU_Msk (_U_(0x1) << PAC_SECLOCKB_DSU_Pos) /**< (PAC_SECLOCKB) DSU Secure Status Locked Mask */
  779. #define PAC_SECLOCKB_DSU PAC_SECLOCKB_DSU_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKB_DSU_Msk instead */
  780. #define PAC_SECLOCKB_NVMCTRL_Pos 2 /**< (PAC_SECLOCKB) NVMCTRL Secure Status Locked Position */
  781. #define PAC_SECLOCKB_NVMCTRL_Msk (_U_(0x1) << PAC_SECLOCKB_NVMCTRL_Pos) /**< (PAC_SECLOCKB) NVMCTRL Secure Status Locked Mask */
  782. #define PAC_SECLOCKB_NVMCTRL PAC_SECLOCKB_NVMCTRL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKB_NVMCTRL_Msk instead */
  783. #define PAC_SECLOCKB_DMAC_Pos 3 /**< (PAC_SECLOCKB) DMAC Secure Status Locked Position */
  784. #define PAC_SECLOCKB_DMAC_Msk (_U_(0x1) << PAC_SECLOCKB_DMAC_Pos) /**< (PAC_SECLOCKB) DMAC Secure Status Locked Mask */
  785. #define PAC_SECLOCKB_DMAC PAC_SECLOCKB_DMAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKB_DMAC_Msk instead */
  786. #define PAC_SECLOCKB_MASK _U_(0x0F) /**< \deprecated (PAC_SECLOCKB) Register MASK (Use PAC_SECLOCKB_Msk instead) */
  787. #define PAC_SECLOCKB_Msk _U_(0x0F) /**< (PAC_SECLOCKB) Register Mask */
  788. /* -------- PAC_SECLOCKC : (PAC Offset: 0x7c) (R/ 32) Peripheral secure status locked - Bridge C -------- */
  789. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  790. typedef union {
  791. struct {
  792. uint32_t EVSYS_:1; /**< bit: 0 EVSYS Secure Status Locked */
  793. uint32_t SERCOM0_:1; /**< bit: 1 SERCOM0 Secure Status Locked */
  794. uint32_t SERCOM1_:1; /**< bit: 2 SERCOM1 Secure Status Locked */
  795. uint32_t SERCOM2_:1; /**< bit: 3 SERCOM2 Secure Status Locked */
  796. uint32_t TC0_:1; /**< bit: 4 TC0 Secure Status Locked */
  797. uint32_t TC1_:1; /**< bit: 5 TC1 Secure Status Locked */
  798. uint32_t TC2_:1; /**< bit: 6 TC2 Secure Status Locked */
  799. uint32_t ADC_:1; /**< bit: 7 ADC Secure Status Locked */
  800. uint32_t DAC_:1; /**< bit: 8 DAC Secure Status Locked */
  801. uint32_t PTC_:1; /**< bit: 9 PTC Secure Status Locked */
  802. uint32_t TRNG_:1; /**< bit: 10 TRNG Secure Status Locked */
  803. uint32_t CCL_:1; /**< bit: 11 CCL Secure Status Locked */
  804. uint32_t OPAMP_:1; /**< bit: 12 OPAMP Secure Status Locked */
  805. uint32_t TRAM_:1; /**< bit: 13 TRAM Secure Status Locked */
  806. uint32_t :18; /**< bit: 14..31 Reserved */
  807. } bit; /**< Structure used for bit access */
  808. uint32_t reg; /**< Type used for register access */
  809. } PAC_SECLOCKC_Type;
  810. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  811. #define PAC_SECLOCKC_OFFSET (0x7C) /**< (PAC_SECLOCKC) Peripheral secure status locked - Bridge C Offset */
  812. #define PAC_SECLOCKC_RESETVALUE _U_(0x00) /**< (PAC_SECLOCKC) Peripheral secure status locked - Bridge C Reset Value */
  813. #define PAC_SECLOCKC_EVSYS_Pos 0 /**< (PAC_SECLOCKC) EVSYS Secure Status Locked Position */
  814. #define PAC_SECLOCKC_EVSYS_Msk (_U_(0x1) << PAC_SECLOCKC_EVSYS_Pos) /**< (PAC_SECLOCKC) EVSYS Secure Status Locked Mask */
  815. #define PAC_SECLOCKC_EVSYS PAC_SECLOCKC_EVSYS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_EVSYS_Msk instead */
  816. #define PAC_SECLOCKC_SERCOM0_Pos 1 /**< (PAC_SECLOCKC) SERCOM0 Secure Status Locked Position */
  817. #define PAC_SECLOCKC_SERCOM0_Msk (_U_(0x1) << PAC_SECLOCKC_SERCOM0_Pos) /**< (PAC_SECLOCKC) SERCOM0 Secure Status Locked Mask */
  818. #define PAC_SECLOCKC_SERCOM0 PAC_SECLOCKC_SERCOM0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_SERCOM0_Msk instead */
  819. #define PAC_SECLOCKC_SERCOM1_Pos 2 /**< (PAC_SECLOCKC) SERCOM1 Secure Status Locked Position */
  820. #define PAC_SECLOCKC_SERCOM1_Msk (_U_(0x1) << PAC_SECLOCKC_SERCOM1_Pos) /**< (PAC_SECLOCKC) SERCOM1 Secure Status Locked Mask */
  821. #define PAC_SECLOCKC_SERCOM1 PAC_SECLOCKC_SERCOM1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_SERCOM1_Msk instead */
  822. #define PAC_SECLOCKC_SERCOM2_Pos 3 /**< (PAC_SECLOCKC) SERCOM2 Secure Status Locked Position */
  823. #define PAC_SECLOCKC_SERCOM2_Msk (_U_(0x1) << PAC_SECLOCKC_SERCOM2_Pos) /**< (PAC_SECLOCKC) SERCOM2 Secure Status Locked Mask */
  824. #define PAC_SECLOCKC_SERCOM2 PAC_SECLOCKC_SERCOM2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_SERCOM2_Msk instead */
  825. #define PAC_SECLOCKC_TC0_Pos 4 /**< (PAC_SECLOCKC) TC0 Secure Status Locked Position */
  826. #define PAC_SECLOCKC_TC0_Msk (_U_(0x1) << PAC_SECLOCKC_TC0_Pos) /**< (PAC_SECLOCKC) TC0 Secure Status Locked Mask */
  827. #define PAC_SECLOCKC_TC0 PAC_SECLOCKC_TC0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_TC0_Msk instead */
  828. #define PAC_SECLOCKC_TC1_Pos 5 /**< (PAC_SECLOCKC) TC1 Secure Status Locked Position */
  829. #define PAC_SECLOCKC_TC1_Msk (_U_(0x1) << PAC_SECLOCKC_TC1_Pos) /**< (PAC_SECLOCKC) TC1 Secure Status Locked Mask */
  830. #define PAC_SECLOCKC_TC1 PAC_SECLOCKC_TC1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_TC1_Msk instead */
  831. #define PAC_SECLOCKC_TC2_Pos 6 /**< (PAC_SECLOCKC) TC2 Secure Status Locked Position */
  832. #define PAC_SECLOCKC_TC2_Msk (_U_(0x1) << PAC_SECLOCKC_TC2_Pos) /**< (PAC_SECLOCKC) TC2 Secure Status Locked Mask */
  833. #define PAC_SECLOCKC_TC2 PAC_SECLOCKC_TC2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_TC2_Msk instead */
  834. #define PAC_SECLOCKC_ADC_Pos 7 /**< (PAC_SECLOCKC) ADC Secure Status Locked Position */
  835. #define PAC_SECLOCKC_ADC_Msk (_U_(0x1) << PAC_SECLOCKC_ADC_Pos) /**< (PAC_SECLOCKC) ADC Secure Status Locked Mask */
  836. #define PAC_SECLOCKC_ADC PAC_SECLOCKC_ADC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_ADC_Msk instead */
  837. #define PAC_SECLOCKC_DAC_Pos 8 /**< (PAC_SECLOCKC) DAC Secure Status Locked Position */
  838. #define PAC_SECLOCKC_DAC_Msk (_U_(0x1) << PAC_SECLOCKC_DAC_Pos) /**< (PAC_SECLOCKC) DAC Secure Status Locked Mask */
  839. #define PAC_SECLOCKC_DAC PAC_SECLOCKC_DAC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_DAC_Msk instead */
  840. #define PAC_SECLOCKC_PTC_Pos 9 /**< (PAC_SECLOCKC) PTC Secure Status Locked Position */
  841. #define PAC_SECLOCKC_PTC_Msk (_U_(0x1) << PAC_SECLOCKC_PTC_Pos) /**< (PAC_SECLOCKC) PTC Secure Status Locked Mask */
  842. #define PAC_SECLOCKC_PTC PAC_SECLOCKC_PTC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_PTC_Msk instead */
  843. #define PAC_SECLOCKC_TRNG_Pos 10 /**< (PAC_SECLOCKC) TRNG Secure Status Locked Position */
  844. #define PAC_SECLOCKC_TRNG_Msk (_U_(0x1) << PAC_SECLOCKC_TRNG_Pos) /**< (PAC_SECLOCKC) TRNG Secure Status Locked Mask */
  845. #define PAC_SECLOCKC_TRNG PAC_SECLOCKC_TRNG_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_TRNG_Msk instead */
  846. #define PAC_SECLOCKC_CCL_Pos 11 /**< (PAC_SECLOCKC) CCL Secure Status Locked Position */
  847. #define PAC_SECLOCKC_CCL_Msk (_U_(0x1) << PAC_SECLOCKC_CCL_Pos) /**< (PAC_SECLOCKC) CCL Secure Status Locked Mask */
  848. #define PAC_SECLOCKC_CCL PAC_SECLOCKC_CCL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_CCL_Msk instead */
  849. #define PAC_SECLOCKC_OPAMP_Pos 12 /**< (PAC_SECLOCKC) OPAMP Secure Status Locked Position */
  850. #define PAC_SECLOCKC_OPAMP_Msk (_U_(0x1) << PAC_SECLOCKC_OPAMP_Pos) /**< (PAC_SECLOCKC) OPAMP Secure Status Locked Mask */
  851. #define PAC_SECLOCKC_OPAMP PAC_SECLOCKC_OPAMP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_OPAMP_Msk instead */
  852. #define PAC_SECLOCKC_TRAM_Pos 13 /**< (PAC_SECLOCKC) TRAM Secure Status Locked Position */
  853. #define PAC_SECLOCKC_TRAM_Msk (_U_(0x1) << PAC_SECLOCKC_TRAM_Pos) /**< (PAC_SECLOCKC) TRAM Secure Status Locked Mask */
  854. #define PAC_SECLOCKC_TRAM PAC_SECLOCKC_TRAM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use PAC_SECLOCKC_TRAM_Msk instead */
  855. #define PAC_SECLOCKC_MASK _U_(0x3FFF) /**< \deprecated (PAC_SECLOCKC) Register MASK (Use PAC_SECLOCKC_Msk instead) */
  856. #define PAC_SECLOCKC_Msk _U_(0x3FFF) /**< (PAC_SECLOCKC) Register Mask */
  857. #define PAC_SECLOCKC_SERCOM_Pos 1 /**< (PAC_SECLOCKC Position) SERCOMx Secure Status Locked */
  858. #define PAC_SECLOCKC_SERCOM_Msk (_U_(0x7) << PAC_SECLOCKC_SERCOM_Pos) /**< (PAC_SECLOCKC Mask) SERCOM */
  859. #define PAC_SECLOCKC_SERCOM(value) (PAC_SECLOCKC_SERCOM_Msk & ((value) << PAC_SECLOCKC_SERCOM_Pos))
  860. #define PAC_SECLOCKC_TC_Pos 4 /**< (PAC_SECLOCKC Position) TCx Secure Status Locked */
  861. #define PAC_SECLOCKC_TC_Msk (_U_(0x7) << PAC_SECLOCKC_TC_Pos) /**< (PAC_SECLOCKC Mask) TC */
  862. #define PAC_SECLOCKC_TC(value) (PAC_SECLOCKC_TC_Msk & ((value) << PAC_SECLOCKC_TC_Pos))
  863. #if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
  864. /** \brief PAC hardware registers */
  865. typedef struct { /* Peripheral Access Controller */
  866. __IO PAC_WRCTRL_Type WRCTRL; /**< Offset: 0x00 (R/W 32) Write control */
  867. __IO PAC_EVCTRL_Type EVCTRL; /**< Offset: 0x04 (R/W 8) Event control */
  868. __I uint8_t Reserved1[3];
  869. __IO PAC_INTENCLR_Type INTENCLR; /**< Offset: 0x08 (R/W 8) Interrupt enable clear */
  870. __IO PAC_INTENSET_Type INTENSET; /**< Offset: 0x09 (R/W 8) Interrupt enable set */
  871. __I uint8_t Reserved2[6];
  872. __IO PAC_INTFLAGAHB_Type INTFLAGAHB; /**< Offset: 0x10 (R/W 32) Bridge interrupt flag status */
  873. __IO PAC_INTFLAGA_Type INTFLAGA; /**< Offset: 0x14 (R/W 32) Peripheral interrupt flag status - Bridge A */
  874. __IO PAC_INTFLAGB_Type INTFLAGB; /**< Offset: 0x18 (R/W 32) Peripheral interrupt flag status - Bridge B */
  875. __IO PAC_INTFLAGC_Type INTFLAGC; /**< Offset: 0x1C (R/W 32) Peripheral interrupt flag status - Bridge C */
  876. __I uint8_t Reserved3[20];
  877. __I PAC_STATUSA_Type STATUSA; /**< Offset: 0x34 (R/ 32) Peripheral write protection status - Bridge A */
  878. __I PAC_STATUSB_Type STATUSB; /**< Offset: 0x38 (R/ 32) Peripheral write protection status - Bridge B */
  879. __I PAC_STATUSC_Type STATUSC; /**< Offset: 0x3C (R/ 32) Peripheral write protection status - Bridge C */
  880. __I uint8_t Reserved4[20];
  881. __I PAC_NONSECA_Type NONSECA; /**< Offset: 0x54 (R/ 32) Peripheral non-secure status - Bridge A */
  882. __I PAC_NONSECB_Type NONSECB; /**< Offset: 0x58 (R/ 32) Peripheral non-secure status - Bridge B */
  883. __I PAC_NONSECC_Type NONSECC; /**< Offset: 0x5C (R/ 32) Peripheral non-secure status - Bridge C */
  884. __I uint8_t Reserved5[20];
  885. __I PAC_SECLOCKA_Type SECLOCKA; /**< Offset: 0x74 (R/ 32) Peripheral secure status locked - Bridge A */
  886. __I PAC_SECLOCKB_Type SECLOCKB; /**< Offset: 0x78 (R/ 32) Peripheral secure status locked - Bridge B */
  887. __I PAC_SECLOCKC_Type SECLOCKC; /**< Offset: 0x7C (R/ 32) Peripheral secure status locked - Bridge C */
  888. } Pac;
  889. #endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
  890. /** @} end of Peripheral Access Controller */
  891. #endif /* _SAML11_PAC_COMPONENT_H_ */