IfxPmu_regdef.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /**
  2. * \file IfxPmu_regdef.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_Pmu Pmu
  24. * \ingroup IfxLld
  25. *
  26. * \defgroup IfxLld_Pmu_Bitfields Bitfields
  27. * \ingroup IfxLld_Pmu
  28. *
  29. * \defgroup IfxLld_Pmu_union Union
  30. * \ingroup IfxLld_Pmu
  31. *
  32. * \defgroup IfxLld_Pmu_struct Struct
  33. * \ingroup IfxLld_Pmu
  34. *
  35. */
  36. #ifndef IFXPMU_REGDEF_H
  37. #define IFXPMU_REGDEF_H 1
  38. /******************************************************************************/
  39. #include "Ifx_TypesReg.h"
  40. /******************************************************************************/
  41. /** \addtogroup IfxLld_Pmu_Bitfields
  42. * \{ */
  43. /** \\brief PMU0 Identification Register */
  44. typedef struct _Ifx_PMU_ID_Bits
  45. {
  46. unsigned int MODREV:8; /**< \brief [7:0] Module Revision Number (r) */
  47. unsigned int MODTYPE:8; /**< \brief [15:8] Module Type (r) */
  48. unsigned int MODNUMBER:16; /**< \brief [31:16] Module Number Value (r) */
  49. } Ifx_PMU_ID_Bits;
  50. /** \} */
  51. /******************************************************************************/
  52. /******************************************************************************/
  53. /** \addtogroup IfxLld_Pmu_union
  54. * \{ */
  55. /** \\brief PMU0 Identification Register */
  56. typedef union
  57. {
  58. /** \brief Unsigned access */
  59. unsigned int U;
  60. /** \brief Signed access */
  61. signed int I;
  62. /** \brief Bitfield access */
  63. Ifx_PMU_ID_Bits B;
  64. } Ifx_PMU_ID;
  65. /** \} */
  66. /******************************************************************************/
  67. /******************************************************************************/
  68. /** \addtogroup IfxLld_Pmu_struct
  69. * \{ */
  70. /******************************************************************************/
  71. /** \name Object L0
  72. * \{ */
  73. /** \\brief PMU object */
  74. typedef volatile struct _Ifx_PMU
  75. {
  76. unsigned char reserved_0[8]; /**< \brief 0, \internal Reserved */
  77. Ifx_PMU_ID ID; /**< \brief 8, PMU0 Identification Register */
  78. unsigned char reserved_C[245]; /**< \brief C, \internal Reserved */
  79. } Ifx_PMU;
  80. /** \} */
  81. /******************************************************************************/
  82. /** \} */
  83. /******************************************************************************/
  84. /******************************************************************************/
  85. #endif /* IFXPMU_REGDEF_H */