IfxStm_reg.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /**
  2. * \file IfxStm_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_Stm_Cfg Stm address
  24. * \ingroup IfxLld_Stm
  25. *
  26. * \defgroup IfxLld_Stm_Cfg_BaseAddress Base address
  27. * \ingroup IfxLld_Stm_Cfg
  28. *
  29. * \defgroup IfxLld_Stm_Cfg_Stm0 2-STM0
  30. * \ingroup IfxLld_Stm_Cfg
  31. *
  32. */
  33. #ifndef IFXSTM_REG_H
  34. #define IFXSTM_REG_H 1
  35. /******************************************************************************/
  36. #include "IfxStm_regdef.h"
  37. /******************************************************************************/
  38. /** \addtogroup IfxLld_Stm_Cfg_BaseAddress
  39. * \{ */
  40. /** \\brief STM object */
  41. #define MODULE_STM0 /*lint --e(923)*/ ((*(Ifx_STM*)0xF0000000u))
  42. /** \} */
  43. /******************************************************************************/
  44. /******************************************************************************/
  45. /** \addtogroup IfxLld_Stm_Cfg_Stm0
  46. * \{ */
  47. /** \\brief FC, Access Enable Register 0 */
  48. #define STM0_ACCEN0 /*lint --e(923)*/ (*(volatile Ifx_STM_ACCEN0*)0xF00000FCu)
  49. /** \\brief F8, Access Enable Register 1 */
  50. #define STM0_ACCEN1 /*lint --e(923)*/ (*(volatile Ifx_STM_ACCEN1*)0xF00000F8u)
  51. /** \\brief 2C, Timer Capture Register */
  52. #define STM0_CAP /*lint --e(923)*/ (*(volatile Ifx_STM_CAP*)0xF000002Cu)
  53. /** \\brief 54, Timer Capture Register Second View */
  54. #define STM0_CAPSV /*lint --e(923)*/ (*(volatile Ifx_STM_CAPSV*)0xF0000054u)
  55. /** \\brief 0, Clock Control Register */
  56. #define STM0_CLC /*lint --e(923)*/ (*(volatile Ifx_STM_CLC*)0xF0000000u)
  57. /** \\brief 38, Compare Match Control Register */
  58. #define STM0_CMCON /*lint --e(923)*/ (*(volatile Ifx_STM_CMCON*)0xF0000038u)
  59. /** \\brief 30, Compare Register */
  60. #define STM0_CMP0 /*lint --e(923)*/ (*(volatile Ifx_STM_CMP*)0xF0000030u)
  61. /** \\brief 34, Compare Register */
  62. #define STM0_CMP1 /*lint --e(923)*/ (*(volatile Ifx_STM_CMP*)0xF0000034u)
  63. /** \\brief 3C, Interrupt Control Register */
  64. #define STM0_ICR /*lint --e(923)*/ (*(volatile Ifx_STM_ICR*)0xF000003Cu)
  65. /** \\brief 8, Module Identification Register */
  66. #define STM0_ID /*lint --e(923)*/ (*(volatile Ifx_STM_ID*)0xF0000008u)
  67. /** \\brief 40, Interrupt Set/Clear Register */
  68. #define STM0_ISCR /*lint --e(923)*/ (*(volatile Ifx_STM_ISCR*)0xF0000040u)
  69. /** \\brief F4, Kernel Reset Register 0 */
  70. #define STM0_KRST0 /*lint --e(923)*/ (*(volatile Ifx_STM_KRST0*)0xF00000F4u)
  71. /** \\brief F0, Kernel Reset Register 1 */
  72. #define STM0_KRST1 /*lint --e(923)*/ (*(volatile Ifx_STM_KRST1*)0xF00000F0u)
  73. /** \\brief EC, Kernel Reset Status Clear Register */
  74. #define STM0_KRSTCLR /*lint --e(923)*/ (*(volatile Ifx_STM_KRSTCLR*)0xF00000ECu)
  75. /** \\brief E8, OCDS Control and Status */
  76. #define STM0_OCS /*lint --e(923)*/ (*(volatile Ifx_STM_OCS*)0xF00000E8u)
  77. /** \\brief 10, Timer Register 0 */
  78. #define STM0_TIM0 /*lint --e(923)*/ (*(volatile Ifx_STM_TIM0*)0xF0000010u)
  79. /** \\brief 50, Timer Register 0 Second View */
  80. #define STM0_TIM0SV /*lint --e(923)*/ (*(volatile Ifx_STM_TIM0SV*)0xF0000050u)
  81. /** \\brief 14, Timer Register 1 */
  82. #define STM0_TIM1 /*lint --e(923)*/ (*(volatile Ifx_STM_TIM1*)0xF0000014u)
  83. /** \\brief 18, Timer Register 2 */
  84. #define STM0_TIM2 /*lint --e(923)*/ (*(volatile Ifx_STM_TIM2*)0xF0000018u)
  85. /** \\brief 1C, Timer Register 3 */
  86. #define STM0_TIM3 /*lint --e(923)*/ (*(volatile Ifx_STM_TIM3*)0xF000001Cu)
  87. /** \\brief 20, Timer Register 4 */
  88. #define STM0_TIM4 /*lint --e(923)*/ (*(volatile Ifx_STM_TIM4*)0xF0000020u)
  89. /** \\brief 24, Timer Register 5 */
  90. #define STM0_TIM5 /*lint --e(923)*/ (*(volatile Ifx_STM_TIM5*)0xF0000024u)
  91. /** \\brief 28, Timer Register 6 */
  92. #define STM0_TIM6 /*lint --e(923)*/ (*(volatile Ifx_STM_TIM6*)0xF0000028u)
  93. /** \} */
  94. /******************************************************************************/
  95. /******************************************************************************/
  96. #endif /* IFXSTM_REG_H */