IfxSrc_bf.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /**
  2. * \file IfxSrc_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_Src_BitfieldsMask Bitfields mask and offset
  24. * \ingroup IfxLld_Src
  25. *
  26. */
  27. #ifndef IFXSRC_BF_H
  28. #define IFXSRC_BF_H 1
  29. /******************************************************************************/
  30. /******************************************************************************/
  31. /** \addtogroup IfxLld_Src_BitfieldsMask
  32. * \{ */
  33. /** \\brief Length for Ifx_SRC_SRCR_Bits.CLRR */
  34. #define IFX_SRC_SRCR_CLRR_LEN (1)
  35. /** \\brief Mask for Ifx_SRC_SRCR_Bits.CLRR */
  36. #define IFX_SRC_SRCR_CLRR_MSK (0x1)
  37. /** \\brief Offset for Ifx_SRC_SRCR_Bits.CLRR */
  38. #define IFX_SRC_SRCR_CLRR_OFF (25)
  39. /** \\brief Length for Ifx_SRC_SRCR_Bits.ECC */
  40. #define IFX_SRC_SRCR_ECC_LEN (5)
  41. /** \\brief Mask for Ifx_SRC_SRCR_Bits.ECC */
  42. #define IFX_SRC_SRCR_ECC_MSK (0x1f)
  43. /** \\brief Offset for Ifx_SRC_SRCR_Bits.ECC */
  44. #define IFX_SRC_SRCR_ECC_OFF (16)
  45. /** \\brief Length for Ifx_SRC_SRCR_Bits.IOV */
  46. #define IFX_SRC_SRCR_IOV_LEN (1)
  47. /** \\brief Mask for Ifx_SRC_SRCR_Bits.IOV */
  48. #define IFX_SRC_SRCR_IOV_MSK (0x1)
  49. /** \\brief Offset for Ifx_SRC_SRCR_Bits.IOV */
  50. #define IFX_SRC_SRCR_IOV_OFF (27)
  51. /** \\brief Length for Ifx_SRC_SRCR_Bits.IOVCLR */
  52. #define IFX_SRC_SRCR_IOVCLR_LEN (1)
  53. /** \\brief Mask for Ifx_SRC_SRCR_Bits.IOVCLR */
  54. #define IFX_SRC_SRCR_IOVCLR_MSK (0x1)
  55. /** \\brief Offset for Ifx_SRC_SRCR_Bits.IOVCLR */
  56. #define IFX_SRC_SRCR_IOVCLR_OFF (28)
  57. /** \\brief Length for Ifx_SRC_SRCR_Bits.SETR */
  58. #define IFX_SRC_SRCR_SETR_LEN (1)
  59. /** \\brief Mask for Ifx_SRC_SRCR_Bits.SETR */
  60. #define IFX_SRC_SRCR_SETR_MSK (0x1)
  61. /** \\brief Offset for Ifx_SRC_SRCR_Bits.SETR */
  62. #define IFX_SRC_SRCR_SETR_OFF (26)
  63. /** \\brief Length for Ifx_SRC_SRCR_Bits.SRE */
  64. #define IFX_SRC_SRCR_SRE_LEN (1)
  65. /** \\brief Mask for Ifx_SRC_SRCR_Bits.SRE */
  66. #define IFX_SRC_SRCR_SRE_MSK (0x1)
  67. /** \\brief Offset for Ifx_SRC_SRCR_Bits.SRE */
  68. #define IFX_SRC_SRCR_SRE_OFF (10)
  69. /** \\brief Length for Ifx_SRC_SRCR_Bits.SRPN */
  70. #define IFX_SRC_SRCR_SRPN_LEN (8)
  71. /** \\brief Mask for Ifx_SRC_SRCR_Bits.SRPN */
  72. #define IFX_SRC_SRCR_SRPN_MSK (0xff)
  73. /** \\brief Offset for Ifx_SRC_SRCR_Bits.SRPN */
  74. #define IFX_SRC_SRCR_SRPN_OFF (0)
  75. /** \\brief Length for Ifx_SRC_SRCR_Bits.SRR */
  76. #define IFX_SRC_SRCR_SRR_LEN (1)
  77. /** \\brief Mask for Ifx_SRC_SRCR_Bits.SRR */
  78. #define IFX_SRC_SRCR_SRR_MSK (0x1)
  79. /** \\brief Offset for Ifx_SRC_SRCR_Bits.SRR */
  80. #define IFX_SRC_SRCR_SRR_OFF (24)
  81. /** \\brief Length for Ifx_SRC_SRCR_Bits.SWS */
  82. #define IFX_SRC_SRCR_SWS_LEN (1)
  83. /** \\brief Mask for Ifx_SRC_SRCR_Bits.SWS */
  84. #define IFX_SRC_SRCR_SWS_MSK (0x1)
  85. /** \\brief Offset for Ifx_SRC_SRCR_Bits.SWS */
  86. #define IFX_SRC_SRCR_SWS_OFF (29)
  87. /** \\brief Length for Ifx_SRC_SRCR_Bits.SWSCLR */
  88. #define IFX_SRC_SRCR_SWSCLR_LEN (1)
  89. /** \\brief Mask for Ifx_SRC_SRCR_Bits.SWSCLR */
  90. #define IFX_SRC_SRCR_SWSCLR_MSK (0x1)
  91. /** \\brief Offset for Ifx_SRC_SRCR_Bits.SWSCLR */
  92. #define IFX_SRC_SRCR_SWSCLR_OFF (30)
  93. /** \\brief Length for Ifx_SRC_SRCR_Bits.TOS */
  94. #define IFX_SRC_SRCR_TOS_LEN (1)
  95. /** \\brief Mask for Ifx_SRC_SRCR_Bits.TOS */
  96. #define IFX_SRC_SRCR_TOS_MSK (0x1)
  97. /** \\brief Offset for Ifx_SRC_SRCR_Bits.TOS */
  98. #define IFX_SRC_SRCR_TOS_OFF (11)
  99. /** \} */
  100. /******************************************************************************/
  101. /******************************************************************************/
  102. #endif /* IFXSRC_BF_H */