IfxStm_bf.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  1. /**
  2. * \file IfxStm_bf.h
  3. * \brief
  4. * \copyright Copyright (c) 2014 Infineon Technologies AG. All rights reserved.
  5. *
  6. * Version: TC23XADAS_UM_V1.0P1.R0
  7. * Specification: tc23xadas_um_sfrs_MCSFR.xml (Revision: UM_V1.0p1)
  8. * MAY BE CHANGED BY USER [yes/no]: No
  9. *
  10. * IMPORTANT NOTICE
  11. *
  12. * Infineon Technologies AG (Infineon) is supplying this file for use
  13. * exclusively with Infineon's microcontroller products. This file can be freely
  14. * distributed within development tools that are supporting such microcontroller
  15. * products.
  16. *
  17. * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
  18. * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
  19. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
  20. * INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
  21. * OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
  22. *
  23. * \defgroup IfxLld_Stm_BitfieldsMask Bitfields mask and offset
  24. * \ingroup IfxLld_Stm
  25. *
  26. */
  27. #ifndef IFXSTM_BF_H
  28. #define IFXSTM_BF_H 1
  29. /******************************************************************************/
  30. /******************************************************************************/
  31. /** \addtogroup IfxLld_Stm_BitfieldsMask
  32. * \{ */
  33. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN0 */
  34. #define IFX_STM_ACCEN0_EN0_LEN (1)
  35. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN0 */
  36. #define IFX_STM_ACCEN0_EN0_MSK (0x1)
  37. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN0 */
  38. #define IFX_STM_ACCEN0_EN0_OFF (0)
  39. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN10 */
  40. #define IFX_STM_ACCEN0_EN10_LEN (1)
  41. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN10 */
  42. #define IFX_STM_ACCEN0_EN10_MSK (0x1)
  43. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN10 */
  44. #define IFX_STM_ACCEN0_EN10_OFF (10)
  45. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN11 */
  46. #define IFX_STM_ACCEN0_EN11_LEN (1)
  47. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN11 */
  48. #define IFX_STM_ACCEN0_EN11_MSK (0x1)
  49. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN11 */
  50. #define IFX_STM_ACCEN0_EN11_OFF (11)
  51. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN12 */
  52. #define IFX_STM_ACCEN0_EN12_LEN (1)
  53. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN12 */
  54. #define IFX_STM_ACCEN0_EN12_MSK (0x1)
  55. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN12 */
  56. #define IFX_STM_ACCEN0_EN12_OFF (12)
  57. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN13 */
  58. #define IFX_STM_ACCEN0_EN13_LEN (1)
  59. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN13 */
  60. #define IFX_STM_ACCEN0_EN13_MSK (0x1)
  61. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN13 */
  62. #define IFX_STM_ACCEN0_EN13_OFF (13)
  63. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN14 */
  64. #define IFX_STM_ACCEN0_EN14_LEN (1)
  65. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN14 */
  66. #define IFX_STM_ACCEN0_EN14_MSK (0x1)
  67. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN14 */
  68. #define IFX_STM_ACCEN0_EN14_OFF (14)
  69. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN15 */
  70. #define IFX_STM_ACCEN0_EN15_LEN (1)
  71. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN15 */
  72. #define IFX_STM_ACCEN0_EN15_MSK (0x1)
  73. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN15 */
  74. #define IFX_STM_ACCEN0_EN15_OFF (15)
  75. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN16 */
  76. #define IFX_STM_ACCEN0_EN16_LEN (1)
  77. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN16 */
  78. #define IFX_STM_ACCEN0_EN16_MSK (0x1)
  79. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN16 */
  80. #define IFX_STM_ACCEN0_EN16_OFF (16)
  81. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN17 */
  82. #define IFX_STM_ACCEN0_EN17_LEN (1)
  83. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN17 */
  84. #define IFX_STM_ACCEN0_EN17_MSK (0x1)
  85. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN17 */
  86. #define IFX_STM_ACCEN0_EN17_OFF (17)
  87. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN18 */
  88. #define IFX_STM_ACCEN0_EN18_LEN (1)
  89. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN18 */
  90. #define IFX_STM_ACCEN0_EN18_MSK (0x1)
  91. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN18 */
  92. #define IFX_STM_ACCEN0_EN18_OFF (18)
  93. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN19 */
  94. #define IFX_STM_ACCEN0_EN19_LEN (1)
  95. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN19 */
  96. #define IFX_STM_ACCEN0_EN19_MSK (0x1)
  97. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN19 */
  98. #define IFX_STM_ACCEN0_EN19_OFF (19)
  99. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN1 */
  100. #define IFX_STM_ACCEN0_EN1_LEN (1)
  101. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN1 */
  102. #define IFX_STM_ACCEN0_EN1_MSK (0x1)
  103. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN1 */
  104. #define IFX_STM_ACCEN0_EN1_OFF (1)
  105. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN20 */
  106. #define IFX_STM_ACCEN0_EN20_LEN (1)
  107. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN20 */
  108. #define IFX_STM_ACCEN0_EN20_MSK (0x1)
  109. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN20 */
  110. #define IFX_STM_ACCEN0_EN20_OFF (20)
  111. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN21 */
  112. #define IFX_STM_ACCEN0_EN21_LEN (1)
  113. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN21 */
  114. #define IFX_STM_ACCEN0_EN21_MSK (0x1)
  115. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN21 */
  116. #define IFX_STM_ACCEN0_EN21_OFF (21)
  117. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN22 */
  118. #define IFX_STM_ACCEN0_EN22_LEN (1)
  119. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN22 */
  120. #define IFX_STM_ACCEN0_EN22_MSK (0x1)
  121. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN22 */
  122. #define IFX_STM_ACCEN0_EN22_OFF (22)
  123. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN23 */
  124. #define IFX_STM_ACCEN0_EN23_LEN (1)
  125. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN23 */
  126. #define IFX_STM_ACCEN0_EN23_MSK (0x1)
  127. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN23 */
  128. #define IFX_STM_ACCEN0_EN23_OFF (23)
  129. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN24 */
  130. #define IFX_STM_ACCEN0_EN24_LEN (1)
  131. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN24 */
  132. #define IFX_STM_ACCEN0_EN24_MSK (0x1)
  133. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN24 */
  134. #define IFX_STM_ACCEN0_EN24_OFF (24)
  135. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN25 */
  136. #define IFX_STM_ACCEN0_EN25_LEN (1)
  137. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN25 */
  138. #define IFX_STM_ACCEN0_EN25_MSK (0x1)
  139. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN25 */
  140. #define IFX_STM_ACCEN0_EN25_OFF (25)
  141. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN26 */
  142. #define IFX_STM_ACCEN0_EN26_LEN (1)
  143. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN26 */
  144. #define IFX_STM_ACCEN0_EN26_MSK (0x1)
  145. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN26 */
  146. #define IFX_STM_ACCEN0_EN26_OFF (26)
  147. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN27 */
  148. #define IFX_STM_ACCEN0_EN27_LEN (1)
  149. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN27 */
  150. #define IFX_STM_ACCEN0_EN27_MSK (0x1)
  151. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN27 */
  152. #define IFX_STM_ACCEN0_EN27_OFF (27)
  153. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN28 */
  154. #define IFX_STM_ACCEN0_EN28_LEN (1)
  155. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN28 */
  156. #define IFX_STM_ACCEN0_EN28_MSK (0x1)
  157. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN28 */
  158. #define IFX_STM_ACCEN0_EN28_OFF (28)
  159. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN29 */
  160. #define IFX_STM_ACCEN0_EN29_LEN (1)
  161. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN29 */
  162. #define IFX_STM_ACCEN0_EN29_MSK (0x1)
  163. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN29 */
  164. #define IFX_STM_ACCEN0_EN29_OFF (29)
  165. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN2 */
  166. #define IFX_STM_ACCEN0_EN2_LEN (1)
  167. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN2 */
  168. #define IFX_STM_ACCEN0_EN2_MSK (0x1)
  169. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN2 */
  170. #define IFX_STM_ACCEN0_EN2_OFF (2)
  171. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN30 */
  172. #define IFX_STM_ACCEN0_EN30_LEN (1)
  173. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN30 */
  174. #define IFX_STM_ACCEN0_EN30_MSK (0x1)
  175. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN30 */
  176. #define IFX_STM_ACCEN0_EN30_OFF (30)
  177. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN31 */
  178. #define IFX_STM_ACCEN0_EN31_LEN (1)
  179. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN31 */
  180. #define IFX_STM_ACCEN0_EN31_MSK (0x1)
  181. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN31 */
  182. #define IFX_STM_ACCEN0_EN31_OFF (31)
  183. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN3 */
  184. #define IFX_STM_ACCEN0_EN3_LEN (1)
  185. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN3 */
  186. #define IFX_STM_ACCEN0_EN3_MSK (0x1)
  187. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN3 */
  188. #define IFX_STM_ACCEN0_EN3_OFF (3)
  189. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN4 */
  190. #define IFX_STM_ACCEN0_EN4_LEN (1)
  191. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN4 */
  192. #define IFX_STM_ACCEN0_EN4_MSK (0x1)
  193. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN4 */
  194. #define IFX_STM_ACCEN0_EN4_OFF (4)
  195. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN5 */
  196. #define IFX_STM_ACCEN0_EN5_LEN (1)
  197. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN5 */
  198. #define IFX_STM_ACCEN0_EN5_MSK (0x1)
  199. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN5 */
  200. #define IFX_STM_ACCEN0_EN5_OFF (5)
  201. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN6 */
  202. #define IFX_STM_ACCEN0_EN6_LEN (1)
  203. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN6 */
  204. #define IFX_STM_ACCEN0_EN6_MSK (0x1)
  205. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN6 */
  206. #define IFX_STM_ACCEN0_EN6_OFF (6)
  207. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN7 */
  208. #define IFX_STM_ACCEN0_EN7_LEN (1)
  209. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN7 */
  210. #define IFX_STM_ACCEN0_EN7_MSK (0x1)
  211. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN7 */
  212. #define IFX_STM_ACCEN0_EN7_OFF (7)
  213. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN8 */
  214. #define IFX_STM_ACCEN0_EN8_LEN (1)
  215. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN8 */
  216. #define IFX_STM_ACCEN0_EN8_MSK (0x1)
  217. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN8 */
  218. #define IFX_STM_ACCEN0_EN8_OFF (8)
  219. /** \\brief Length for Ifx_STM_ACCEN0_Bits.EN9 */
  220. #define IFX_STM_ACCEN0_EN9_LEN (1)
  221. /** \\brief Mask for Ifx_STM_ACCEN0_Bits.EN9 */
  222. #define IFX_STM_ACCEN0_EN9_MSK (0x1)
  223. /** \\brief Offset for Ifx_STM_ACCEN0_Bits.EN9 */
  224. #define IFX_STM_ACCEN0_EN9_OFF (9)
  225. /** \\brief Length for Ifx_STM_CAP_Bits.STMCAP63_32 */
  226. #define IFX_STM_CAP_STMCAP63_32_LEN (32)
  227. /** \\brief Mask for Ifx_STM_CAP_Bits.STMCAP63_32 */
  228. #define IFX_STM_CAP_STMCAP63_32_MSK (0xffffffff)
  229. /** \\brief Offset for Ifx_STM_CAP_Bits.STMCAP63_32 */
  230. #define IFX_STM_CAP_STMCAP63_32_OFF (0)
  231. /** \\brief Length for Ifx_STM_CAPSV_Bits.STMCAP63_32 */
  232. #define IFX_STM_CAPSV_STMCAP63_32_LEN (32)
  233. /** \\brief Mask for Ifx_STM_CAPSV_Bits.STMCAP63_32 */
  234. #define IFX_STM_CAPSV_STMCAP63_32_MSK (0xffffffff)
  235. /** \\brief Offset for Ifx_STM_CAPSV_Bits.STMCAP63_32 */
  236. #define IFX_STM_CAPSV_STMCAP63_32_OFF (0)
  237. /** \\brief Length for Ifx_STM_CLC_Bits.DISR */
  238. #define IFX_STM_CLC_DISR_LEN (1)
  239. /** \\brief Mask for Ifx_STM_CLC_Bits.DISR */
  240. #define IFX_STM_CLC_DISR_MSK (0x1)
  241. /** \\brief Offset for Ifx_STM_CLC_Bits.DISR */
  242. #define IFX_STM_CLC_DISR_OFF (0)
  243. /** \\brief Length for Ifx_STM_CLC_Bits.DISS */
  244. #define IFX_STM_CLC_DISS_LEN (1)
  245. /** \\brief Mask for Ifx_STM_CLC_Bits.DISS */
  246. #define IFX_STM_CLC_DISS_MSK (0x1)
  247. /** \\brief Offset for Ifx_STM_CLC_Bits.DISS */
  248. #define IFX_STM_CLC_DISS_OFF (1)
  249. /** \\brief Length for Ifx_STM_CLC_Bits.EDIS */
  250. #define IFX_STM_CLC_EDIS_LEN (1)
  251. /** \\brief Mask for Ifx_STM_CLC_Bits.EDIS */
  252. #define IFX_STM_CLC_EDIS_MSK (0x1)
  253. /** \\brief Offset for Ifx_STM_CLC_Bits.EDIS */
  254. #define IFX_STM_CLC_EDIS_OFF (3)
  255. /** \\brief Length for Ifx_STM_CMCON_Bits.MSIZE0 */
  256. #define IFX_STM_CMCON_MSIZE0_LEN (5)
  257. /** \\brief Mask for Ifx_STM_CMCON_Bits.MSIZE0 */
  258. #define IFX_STM_CMCON_MSIZE0_MSK (0x1f)
  259. /** \\brief Offset for Ifx_STM_CMCON_Bits.MSIZE0 */
  260. #define IFX_STM_CMCON_MSIZE0_OFF (0)
  261. /** \\brief Length for Ifx_STM_CMCON_Bits.MSIZE1 */
  262. #define IFX_STM_CMCON_MSIZE1_LEN (5)
  263. /** \\brief Mask for Ifx_STM_CMCON_Bits.MSIZE1 */
  264. #define IFX_STM_CMCON_MSIZE1_MSK (0x1f)
  265. /** \\brief Offset for Ifx_STM_CMCON_Bits.MSIZE1 */
  266. #define IFX_STM_CMCON_MSIZE1_OFF (16)
  267. /** \\brief Length for Ifx_STM_CMCON_Bits.MSTART0 */
  268. #define IFX_STM_CMCON_MSTART0_LEN (5)
  269. /** \\brief Mask for Ifx_STM_CMCON_Bits.MSTART0 */
  270. #define IFX_STM_CMCON_MSTART0_MSK (0x1f)
  271. /** \\brief Offset for Ifx_STM_CMCON_Bits.MSTART0 */
  272. #define IFX_STM_CMCON_MSTART0_OFF (8)
  273. /** \\brief Length for Ifx_STM_CMCON_Bits.MSTART1 */
  274. #define IFX_STM_CMCON_MSTART1_LEN (5)
  275. /** \\brief Mask for Ifx_STM_CMCON_Bits.MSTART1 */
  276. #define IFX_STM_CMCON_MSTART1_MSK (0x1f)
  277. /** \\brief Offset for Ifx_STM_CMCON_Bits.MSTART1 */
  278. #define IFX_STM_CMCON_MSTART1_OFF (24)
  279. /** \\brief Length for Ifx_STM_CMP_Bits.CMPVAL */
  280. #define IFX_STM_CMP_CMPVAL_LEN (32)
  281. /** \\brief Mask for Ifx_STM_CMP_Bits.CMPVAL */
  282. #define IFX_STM_CMP_CMPVAL_MSK (0xffffffff)
  283. /** \\brief Offset for Ifx_STM_CMP_Bits.CMPVAL */
  284. #define IFX_STM_CMP_CMPVAL_OFF (0)
  285. /** \\brief Length for Ifx_STM_ICR_Bits.CMP0EN */
  286. #define IFX_STM_ICR_CMP0EN_LEN (1)
  287. /** \\brief Mask for Ifx_STM_ICR_Bits.CMP0EN */
  288. #define IFX_STM_ICR_CMP0EN_MSK (0x1)
  289. /** \\brief Offset for Ifx_STM_ICR_Bits.CMP0EN */
  290. #define IFX_STM_ICR_CMP0EN_OFF (0)
  291. /** \\brief Length for Ifx_STM_ICR_Bits.CMP0IR */
  292. #define IFX_STM_ICR_CMP0IR_LEN (1)
  293. /** \\brief Mask for Ifx_STM_ICR_Bits.CMP0IR */
  294. #define IFX_STM_ICR_CMP0IR_MSK (0x1)
  295. /** \\brief Offset for Ifx_STM_ICR_Bits.CMP0IR */
  296. #define IFX_STM_ICR_CMP0IR_OFF (1)
  297. /** \\brief Length for Ifx_STM_ICR_Bits.CMP0OS */
  298. #define IFX_STM_ICR_CMP0OS_LEN (1)
  299. /** \\brief Mask for Ifx_STM_ICR_Bits.CMP0OS */
  300. #define IFX_STM_ICR_CMP0OS_MSK (0x1)
  301. /** \\brief Offset for Ifx_STM_ICR_Bits.CMP0OS */
  302. #define IFX_STM_ICR_CMP0OS_OFF (2)
  303. /** \\brief Length for Ifx_STM_ICR_Bits.CMP1EN */
  304. #define IFX_STM_ICR_CMP1EN_LEN (1)
  305. /** \\brief Mask for Ifx_STM_ICR_Bits.CMP1EN */
  306. #define IFX_STM_ICR_CMP1EN_MSK (0x1)
  307. /** \\brief Offset for Ifx_STM_ICR_Bits.CMP1EN */
  308. #define IFX_STM_ICR_CMP1EN_OFF (4)
  309. /** \\brief Length for Ifx_STM_ICR_Bits.CMP1IR */
  310. #define IFX_STM_ICR_CMP1IR_LEN (1)
  311. /** \\brief Mask for Ifx_STM_ICR_Bits.CMP1IR */
  312. #define IFX_STM_ICR_CMP1IR_MSK (0x1)
  313. /** \\brief Offset for Ifx_STM_ICR_Bits.CMP1IR */
  314. #define IFX_STM_ICR_CMP1IR_OFF (5)
  315. /** \\brief Length for Ifx_STM_ICR_Bits.CMP1OS */
  316. #define IFX_STM_ICR_CMP1OS_LEN (1)
  317. /** \\brief Mask for Ifx_STM_ICR_Bits.CMP1OS */
  318. #define IFX_STM_ICR_CMP1OS_MSK (0x1)
  319. /** \\brief Offset for Ifx_STM_ICR_Bits.CMP1OS */
  320. #define IFX_STM_ICR_CMP1OS_OFF (6)
  321. /** \\brief Length for Ifx_STM_ID_Bits.MODNUMBER */
  322. #define IFX_STM_ID_MODNUMBER_LEN (16)
  323. /** \\brief Mask for Ifx_STM_ID_Bits.MODNUMBER */
  324. #define IFX_STM_ID_MODNUMBER_MSK (0xffff)
  325. /** \\brief Offset for Ifx_STM_ID_Bits.MODNUMBER */
  326. #define IFX_STM_ID_MODNUMBER_OFF (16)
  327. /** \\brief Length for Ifx_STM_ID_Bits.MODREV */
  328. #define IFX_STM_ID_MODREV_LEN (8)
  329. /** \\brief Mask for Ifx_STM_ID_Bits.MODREV */
  330. #define IFX_STM_ID_MODREV_MSK (0xff)
  331. /** \\brief Offset for Ifx_STM_ID_Bits.MODREV */
  332. #define IFX_STM_ID_MODREV_OFF (0)
  333. /** \\brief Length for Ifx_STM_ID_Bits.MODTYPE */
  334. #define IFX_STM_ID_MODTYPE_LEN (8)
  335. /** \\brief Mask for Ifx_STM_ID_Bits.MODTYPE */
  336. #define IFX_STM_ID_MODTYPE_MSK (0xff)
  337. /** \\brief Offset for Ifx_STM_ID_Bits.MODTYPE */
  338. #define IFX_STM_ID_MODTYPE_OFF (8)
  339. /** \\brief Length for Ifx_STM_ISCR_Bits.CMP0IRR */
  340. #define IFX_STM_ISCR_CMP0IRR_LEN (1)
  341. /** \\brief Mask for Ifx_STM_ISCR_Bits.CMP0IRR */
  342. #define IFX_STM_ISCR_CMP0IRR_MSK (0x1)
  343. /** \\brief Offset for Ifx_STM_ISCR_Bits.CMP0IRR */
  344. #define IFX_STM_ISCR_CMP0IRR_OFF (0)
  345. /** \\brief Length for Ifx_STM_ISCR_Bits.CMP0IRS */
  346. #define IFX_STM_ISCR_CMP0IRS_LEN (1)
  347. /** \\brief Mask for Ifx_STM_ISCR_Bits.CMP0IRS */
  348. #define IFX_STM_ISCR_CMP0IRS_MSK (0x1)
  349. /** \\brief Offset for Ifx_STM_ISCR_Bits.CMP0IRS */
  350. #define IFX_STM_ISCR_CMP0IRS_OFF (1)
  351. /** \\brief Length for Ifx_STM_ISCR_Bits.CMP1IRR */
  352. #define IFX_STM_ISCR_CMP1IRR_LEN (1)
  353. /** \\brief Mask for Ifx_STM_ISCR_Bits.CMP1IRR */
  354. #define IFX_STM_ISCR_CMP1IRR_MSK (0x1)
  355. /** \\brief Offset for Ifx_STM_ISCR_Bits.CMP1IRR */
  356. #define IFX_STM_ISCR_CMP1IRR_OFF (2)
  357. /** \\brief Length for Ifx_STM_ISCR_Bits.CMP1IRS */
  358. #define IFX_STM_ISCR_CMP1IRS_LEN (1)
  359. /** \\brief Mask for Ifx_STM_ISCR_Bits.CMP1IRS */
  360. #define IFX_STM_ISCR_CMP1IRS_MSK (0x1)
  361. /** \\brief Offset for Ifx_STM_ISCR_Bits.CMP1IRS */
  362. #define IFX_STM_ISCR_CMP1IRS_OFF (3)
  363. /** \\brief Length for Ifx_STM_KRST0_Bits.RST */
  364. #define IFX_STM_KRST0_RST_LEN (1)
  365. /** \\brief Mask for Ifx_STM_KRST0_Bits.RST */
  366. #define IFX_STM_KRST0_RST_MSK (0x1)
  367. /** \\brief Offset for Ifx_STM_KRST0_Bits.RST */
  368. #define IFX_STM_KRST0_RST_OFF (0)
  369. /** \\brief Length for Ifx_STM_KRST0_Bits.RSTSTAT */
  370. #define IFX_STM_KRST0_RSTSTAT_LEN (1)
  371. /** \\brief Mask for Ifx_STM_KRST0_Bits.RSTSTAT */
  372. #define IFX_STM_KRST0_RSTSTAT_MSK (0x1)
  373. /** \\brief Offset for Ifx_STM_KRST0_Bits.RSTSTAT */
  374. #define IFX_STM_KRST0_RSTSTAT_OFF (1)
  375. /** \\brief Length for Ifx_STM_KRST1_Bits.RST */
  376. #define IFX_STM_KRST1_RST_LEN (1)
  377. /** \\brief Mask for Ifx_STM_KRST1_Bits.RST */
  378. #define IFX_STM_KRST1_RST_MSK (0x1)
  379. /** \\brief Offset for Ifx_STM_KRST1_Bits.RST */
  380. #define IFX_STM_KRST1_RST_OFF (0)
  381. /** \\brief Length for Ifx_STM_KRSTCLR_Bits.CLR */
  382. #define IFX_STM_KRSTCLR_CLR_LEN (1)
  383. /** \\brief Mask for Ifx_STM_KRSTCLR_Bits.CLR */
  384. #define IFX_STM_KRSTCLR_CLR_MSK (0x1)
  385. /** \\brief Offset for Ifx_STM_KRSTCLR_Bits.CLR */
  386. #define IFX_STM_KRSTCLR_CLR_OFF (0)
  387. /** \\brief Length for Ifx_STM_OCS_Bits.SUS */
  388. #define IFX_STM_OCS_SUS_LEN (4)
  389. /** \\brief Mask for Ifx_STM_OCS_Bits.SUS */
  390. #define IFX_STM_OCS_SUS_MSK (0xf)
  391. /** \\brief Offset for Ifx_STM_OCS_Bits.SUS */
  392. #define IFX_STM_OCS_SUS_OFF (24)
  393. /** \\brief Length for Ifx_STM_OCS_Bits.SUS_P */
  394. #define IFX_STM_OCS_SUS_P_LEN (1)
  395. /** \\brief Mask for Ifx_STM_OCS_Bits.SUS_P */
  396. #define IFX_STM_OCS_SUS_P_MSK (0x1)
  397. /** \\brief Offset for Ifx_STM_OCS_Bits.SUS_P */
  398. #define IFX_STM_OCS_SUS_P_OFF (28)
  399. /** \\brief Length for Ifx_STM_OCS_Bits.SUSSTA */
  400. #define IFX_STM_OCS_SUSSTA_LEN (1)
  401. /** \\brief Mask for Ifx_STM_OCS_Bits.SUSSTA */
  402. #define IFX_STM_OCS_SUSSTA_MSK (0x1)
  403. /** \\brief Offset for Ifx_STM_OCS_Bits.SUSSTA */
  404. #define IFX_STM_OCS_SUSSTA_OFF (29)
  405. /** \\brief Length for Ifx_STM_TIM0_Bits.STM31_0 */
  406. #define IFX_STM_TIM0_STM31_0_LEN (32)
  407. /** \\brief Mask for Ifx_STM_TIM0_Bits.STM31_0 */
  408. #define IFX_STM_TIM0_STM31_0_MSK (0xffffffff)
  409. /** \\brief Offset for Ifx_STM_TIM0_Bits.STM31_0 */
  410. #define IFX_STM_TIM0_STM31_0_OFF (0)
  411. /** \\brief Length for Ifx_STM_TIM0SV_Bits.STM31_0 */
  412. #define IFX_STM_TIM0SV_STM31_0_LEN (32)
  413. /** \\brief Mask for Ifx_STM_TIM0SV_Bits.STM31_0 */
  414. #define IFX_STM_TIM0SV_STM31_0_MSK (0xffffffff)
  415. /** \\brief Offset for Ifx_STM_TIM0SV_Bits.STM31_0 */
  416. #define IFX_STM_TIM0SV_STM31_0_OFF (0)
  417. /** \\brief Length for Ifx_STM_TIM1_Bits.STM35_4 */
  418. #define IFX_STM_TIM1_STM35_4_LEN (32)
  419. /** \\brief Mask for Ifx_STM_TIM1_Bits.STM35_4 */
  420. #define IFX_STM_TIM1_STM35_4_MSK (0xffffffff)
  421. /** \\brief Offset for Ifx_STM_TIM1_Bits.STM35_4 */
  422. #define IFX_STM_TIM1_STM35_4_OFF (0)
  423. /** \\brief Length for Ifx_STM_TIM2_Bits.STM39_8 */
  424. #define IFX_STM_TIM2_STM39_8_LEN (32)
  425. /** \\brief Mask for Ifx_STM_TIM2_Bits.STM39_8 */
  426. #define IFX_STM_TIM2_STM39_8_MSK (0xffffffff)
  427. /** \\brief Offset for Ifx_STM_TIM2_Bits.STM39_8 */
  428. #define IFX_STM_TIM2_STM39_8_OFF (0)
  429. /** \\brief Length for Ifx_STM_TIM3_Bits.STM43_12 */
  430. #define IFX_STM_TIM3_STM43_12_LEN (32)
  431. /** \\brief Mask for Ifx_STM_TIM3_Bits.STM43_12 */
  432. #define IFX_STM_TIM3_STM43_12_MSK (0xffffffff)
  433. /** \\brief Offset for Ifx_STM_TIM3_Bits.STM43_12 */
  434. #define IFX_STM_TIM3_STM43_12_OFF (0)
  435. /** \\brief Length for Ifx_STM_TIM4_Bits.STM47_16 */
  436. #define IFX_STM_TIM4_STM47_16_LEN (32)
  437. /** \\brief Mask for Ifx_STM_TIM4_Bits.STM47_16 */
  438. #define IFX_STM_TIM4_STM47_16_MSK (0xffffffff)
  439. /** \\brief Offset for Ifx_STM_TIM4_Bits.STM47_16 */
  440. #define IFX_STM_TIM4_STM47_16_OFF (0)
  441. /** \\brief Length for Ifx_STM_TIM5_Bits.STM51_20 */
  442. #define IFX_STM_TIM5_STM51_20_LEN (32)
  443. /** \\brief Mask for Ifx_STM_TIM5_Bits.STM51_20 */
  444. #define IFX_STM_TIM5_STM51_20_MSK (0xffffffff)
  445. /** \\brief Offset for Ifx_STM_TIM5_Bits.STM51_20 */
  446. #define IFX_STM_TIM5_STM51_20_OFF (0)
  447. /** \\brief Length for Ifx_STM_TIM6_Bits.STM63_32 */
  448. #define IFX_STM_TIM6_STM63_32_LEN (32)
  449. /** \\brief Mask for Ifx_STM_TIM6_Bits.STM63_32 */
  450. #define IFX_STM_TIM6_STM63_32_MSK (0xffffffff)
  451. /** \\brief Offset for Ifx_STM_TIM6_Bits.STM63_32 */
  452. #define IFX_STM_TIM6_STM63_32_OFF (0)
  453. /** \} */
  454. /******************************************************************************/
  455. /******************************************************************************/
  456. #endif /* IFXSTM_BF_H */