IfxFlash_reg.h 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. /**
  2. * \file IfxFlash_reg.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_Flash_Cfg Flash address
  24. * \ingroup IfxLld_Flash
  25. *
  26. * \defgroup IfxLld_Flash_Cfg_BaseAddress Base address
  27. * \ingroup IfxLld_Flash_Cfg
  28. *
  29. * \defgroup IfxLld_Flash_Cfg_Flash0 2-FLASH0
  30. * \ingroup IfxLld_Flash_Cfg
  31. *
  32. */
  33. #ifndef IFXFLASH_REG_H
  34. #define IFXFLASH_REG_H 1
  35. /******************************************************************************/
  36. #include "IfxFlash_regdef.h"
  37. /******************************************************************************/
  38. /** \addtogroup IfxLld_Flash_Cfg_BaseAddress
  39. * \{ */
  40. /** \\brief FLASH object. */
  41. #define MODULE_FLASH0 /*lint --e(923)*/ ((*(Ifx_FLASH*)0xF8001000u))
  42. /** \} */
  43. /******************************************************************************/
  44. /******************************************************************************/
  45. /** \addtogroup IfxLld_Flash_Cfg_Flash0
  46. * \{ */
  47. /** \\brief 13FC, Access Enable Register 0 */
  48. #define FLASH0_ACCEN0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_ACCEN0*)0xF80023FCu)
  49. /** \\brief 13F8, Access Enable Register 1 */
  50. #define FLASH0_ACCEN1 /*lint --e(923)*/ (*(volatile Ifx_FLASH_ACCEN1*)0xF80023F8u)
  51. /** \\brief 10B4, CBAB Configuration */
  52. #define FLASH0_CBAB0_CFG /*lint --e(923)*/ (*(volatile Ifx_FLASH_CBAB_CFG*)0xF80020B4u)
  53. /** Alias (User Manual Name) for FLASH0_CBAB0_CFG.
  54. * To use register names with standard convension, please use FLASH0_CBAB0_CFG.
  55. */
  56. #define FLASH0_CBABCFG0 (FLASH0_CBAB0_CFG)
  57. /** \\brief 10B8, CBAB Status */
  58. #define FLASH0_CBAB0_STAT /*lint --e(923)*/ (*(volatile Ifx_FLASH_CBAB_STAT*)0xF80020B8u)
  59. /** Alias (User Manual Name) for FLASH0_CBAB0_STAT.
  60. * To use register names with standard convension, please use FLASH0_CBAB0_STAT.
  61. */
  62. #define FLASH0_CBABSTAT0 (FLASH0_CBAB0_STAT)
  63. /** \\brief 10BC, CBAB FIFO TOP Entry */
  64. #define FLASH0_CBAB0_TOP /*lint --e(923)*/ (*(volatile Ifx_FLASH_CBAB_TOP*)0xF80020BCu)
  65. /** Alias (User Manual Name) for FLASH0_CBAB0_TOP.
  66. * To use register names with standard convension, please use FLASH0_CBAB0_TOP.
  67. */
  68. #define FLASH0_CBABTOP0 (FLASH0_CBAB0_TOP)
  69. /** \\brief 0, FSI Communication Register 0 */
  70. #define FLASH0_COMM0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_COMM0*)0xF8001000u)
  71. /** \\brief 4, FSI Communication Register 1 */
  72. #define FLASH0_COMM1 /*lint --e(923)*/ (*(volatile Ifx_FLASH_COMM1*)0xF8001004u)
  73. /** \\brief 8, FSI Communication Register 2 */
  74. #define FLASH0_COMM2 /*lint --e(923)*/ (*(volatile Ifx_FLASH_COMM2*)0xF8001008u)
  75. /** \\brief 10A4, ECC Read Register DF */
  76. #define FLASH0_ECCRD /*lint --e(923)*/ (*(volatile Ifx_FLASH_ECCRD*)0xF80020A4u)
  77. /** \\brief 1094, ECC Read Register for ports */
  78. #define FLASH0_ECCRP0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_ECCRP*)0xF8002094u)
  79. /** \\brief 1090, ECC Write Register */
  80. #define FLASH0_ECCW /*lint --e(923)*/ (*(volatile Ifx_FLASH_ECCW*)0xF8002090u)
  81. /** \\brief 1014, Flash Configuration Register */
  82. #define FLASH0_FCON /*lint --e(923)*/ (*(volatile Ifx_FLASH_FCON*)0xF8002014u)
  83. /** \\brief 101C, Flash Protection Control and Status Register */
  84. #define FLASH0_FPRO /*lint --e(923)*/ (*(volatile Ifx_FLASH_FPRO*)0xF800201Cu)
  85. /** \\brief 1010, Flash Status Register */
  86. #define FLASH0_FSR /*lint --e(923)*/ (*(volatile Ifx_FLASH_FSR*)0xF8002010u)
  87. /** \\brief 1204, HSM Flash Configuration Register */
  88. #define FLASH0_HSMFCON /*lint --e(923)*/ (*(volatile Ifx_FLASH_HSMFCON*)0xF8002204u)
  89. /** \\brief 1200, Flash Status Register */
  90. #define FLASH0_HSMFSR /*lint --e(923)*/ (*(volatile Ifx_FLASH_HSMFSR*)0xF8002200u)
  91. /** \\brief 1208, Margin Control Register HSM DFlash */
  92. #define FLASH0_HSMMARD /*lint --e(923)*/ (*(volatile Ifx_FLASH_HSMMARD*)0xF8002208u)
  93. /** \\brief 1218, HSM Requested Read Address Register */
  94. #define FLASH0_HSMRRAD /*lint --e(923)*/ (*(volatile Ifx_FLASH_HSMRRAD*)0xF8002218u)
  95. /** \\brief 120C, Requested Read Control Register HSM */
  96. #define FLASH0_HSMRRCT /*lint --e(923)*/ (*(volatile Ifx_FLASH_HSMRRCT*)0xF800220Cu)
  97. /** \\brief 1210, HSM Requested Read Data Register 0 */
  98. #define FLASH0_HSMRRD0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_HSMRRD0*)0xF8002210u)
  99. /** \\brief 1214, HSM Requested Read Data Register 1 */
  100. #define FLASH0_HSMRRD1 /*lint --e(923)*/ (*(volatile Ifx_FLASH_HSMRRD1*)0xF8002214u)
  101. /** \\brief 1008, Flash Module Identification Register */
  102. #define FLASH0_ID /*lint --e(923)*/ (*(volatile Ifx_FLASH_ID*)0xF8002008u)
  103. /** \\brief 10AC, Margin Control Register DFlash */
  104. #define FLASH0_MARD /*lint --e(923)*/ (*(volatile Ifx_FLASH_MARD*)0xF80020ACu)
  105. /** \\brief 10A8, Margin Control Register PFlash */
  106. #define FLASH0_MARP /*lint --e(923)*/ (*(volatile Ifx_FLASH_MARP*)0xF80020A8u)
  107. /** \\brief 1030, DFlash Protection Configuration */
  108. #define FLASH0_PROCOND /*lint --e(923)*/ (*(volatile Ifx_FLASH_PROCOND*)0xF8002030u)
  109. /** \\brief 1058, Debug Interface Protection Configuration */
  110. #define FLASH0_PROCONDBG /*lint --e(923)*/ (*(volatile Ifx_FLASH_PROCONDBG*)0xF8002058u)
  111. /** \\brief 105C, HSM Interface Configuration */
  112. #define FLASH0_PROCONHSM /*lint --e(923)*/ (*(volatile Ifx_FLASH_PROCONHSM*)0xF800205Cu)
  113. /** \\brief 1034, HSM Code Flash OTP Protection Configuration */
  114. #define FLASH0_PROCONHSMCOTP /*lint --e(923)*/ (*(volatile Ifx_FLASH_PROCONHSMCOTP*)0xF8002034u)
  115. /** \\brief 1038, OTP Protection Configuration for ports */
  116. #define FLASH0_PROCONOTP0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_PROCONOTP*)0xF8002038u)
  117. /** \\brief 1020, PFlash Protection Configuration for ports */
  118. #define FLASH0_PROCONP0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_PROCONP*)0xF8002020u)
  119. /** \\brief 1048, Write-Once Protection Configuration for ports */
  120. #define FLASH0_PROCONWOP0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_PROCONWOP*)0xF8002048u)
  121. /** \\brief 1060, Read Buffer Cfg 0 */
  122. #define FLASH0_RDBCFG0_CFG0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_RDB_CFG0*)0xF8002060u)
  123. /** Alias (User Manual Name) for FLASH0_RDBCFG0_CFG0.
  124. * To use register names with standard convension, please use FLASH0_RDBCFG0_CFG0.
  125. */
  126. #define FLASH0_RDBCFG00 (FLASH0_RDBCFG0_CFG0)
  127. /** \\brief 1064, Read Buffer Cfg 1 */
  128. #define FLASH0_RDBCFG0_CFG1 /*lint --e(923)*/ (*(volatile Ifx_FLASH_RDB_CFG1*)0xF8002064u)
  129. /** Alias (User Manual Name) for FLASH0_RDBCFG0_CFG1.
  130. * To use register names with standard convension, please use FLASH0_RDBCFG0_CFG1.
  131. */
  132. #define FLASH0_RDBCFG01 (FLASH0_RDBCFG0_CFG1)
  133. /** \\brief 1068, Read Buffer Cfg 2 */
  134. #define FLASH0_RDBCFG0_CFG2 /*lint --e(923)*/ (*(volatile Ifx_FLASH_RDB_CFG2*)0xF8002068u)
  135. /** Alias (User Manual Name) for FLASH0_RDBCFG0_CFG2.
  136. * To use register names with standard convension, please use FLASH0_RDBCFG0_CFG2.
  137. */
  138. #define FLASH0_RDBCFG02 (FLASH0_RDBCFG0_CFG2)
  139. /** \\brief 114C, Requested Read Address Register */
  140. #define FLASH0_RRAD /*lint --e(923)*/ (*(volatile Ifx_FLASH_RRAD*)0xF800214Cu)
  141. /** \\brief 1140, Requested Read Control Register */
  142. #define FLASH0_RRCT /*lint --e(923)*/ (*(volatile Ifx_FLASH_RRCT*)0xF8002140u)
  143. /** \\brief 1144, Requested Read Data Register 0 */
  144. #define FLASH0_RRD0 /*lint --e(923)*/ (*(volatile Ifx_FLASH_RRD0*)0xF8002144u)
  145. /** \\brief 1148, Requested Read Data Register 1 */
  146. #define FLASH0_RRD1 /*lint --e(923)*/ (*(volatile Ifx_FLASH_RRD1*)0xF8002148u)
  147. /** \\brief 10E4, UBAB Configuration */
  148. #define FLASH0_UBAB0_CFG /*lint --e(923)*/ (*(volatile Ifx_FLASH_UBAB_CFG*)0xF80020E4u)
  149. /** Alias (User Manual Name) for FLASH0_UBAB0_CFG.
  150. * To use register names with standard convension, please use FLASH0_UBAB0_CFG.
  151. */
  152. #define FLASH0_UBABCFG0 (FLASH0_UBAB0_CFG)
  153. /** \\brief 10E8, UBAB Status */
  154. #define FLASH0_UBAB0_STAT /*lint --e(923)*/ (*(volatile Ifx_FLASH_UBAB_STAT*)0xF80020E8u)
  155. /** Alias (User Manual Name) for FLASH0_UBAB0_STAT.
  156. * To use register names with standard convension, please use FLASH0_UBAB0_STAT.
  157. */
  158. #define FLASH0_UBABSTAT0 (FLASH0_UBAB0_STAT)
  159. /** \\brief 10EC, UBAB FIFO TOP Entry */
  160. #define FLASH0_UBAB0_TOP /*lint --e(923)*/ (*(volatile Ifx_FLASH_UBAB_TOP*)0xF80020ECu)
  161. /** Alias (User Manual Name) for FLASH0_UBAB0_TOP.
  162. * To use register names with standard convension, please use FLASH0_UBAB0_TOP.
  163. */
  164. #define FLASH0_UBABTOP0 (FLASH0_UBAB0_TOP)
  165. /** \} */
  166. /******************************************************************************/
  167. /******************************************************************************/
  168. #endif /* IFXFLASH_REG_H */