IfxPmu_bf.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /**
  2. * \file IfxPmu_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_Pmu_BitfieldsMask Bitfields mask and offset
  24. * \ingroup IfxLld_Pmu
  25. *
  26. */
  27. #ifndef IFXPMU_BF_H
  28. #define IFXPMU_BF_H 1
  29. /******************************************************************************/
  30. /******************************************************************************/
  31. /** \addtogroup IfxLld_Pmu_BitfieldsMask
  32. * \{ */
  33. /** \\brief Length for Ifx_PMU_ID_Bits.MODNUMBER */
  34. #define IFX_PMU_ID_MODNUMBER_LEN (16)
  35. /** \\brief Mask for Ifx_PMU_ID_Bits.MODNUMBER */
  36. #define IFX_PMU_ID_MODNUMBER_MSK (0xffff)
  37. /** \\brief Offset for Ifx_PMU_ID_Bits.MODNUMBER */
  38. #define IFX_PMU_ID_MODNUMBER_OFF (16)
  39. /** \\brief Length for Ifx_PMU_ID_Bits.MODREV */
  40. #define IFX_PMU_ID_MODREV_LEN (8)
  41. /** \\brief Mask for Ifx_PMU_ID_Bits.MODREV */
  42. #define IFX_PMU_ID_MODREV_MSK (0xff)
  43. /** \\brief Offset for Ifx_PMU_ID_Bits.MODREV */
  44. #define IFX_PMU_ID_MODREV_OFF (0)
  45. /** \\brief Length for Ifx_PMU_ID_Bits.MODTYPE */
  46. #define IFX_PMU_ID_MODTYPE_LEN (8)
  47. /** \\brief Mask for Ifx_PMU_ID_Bits.MODTYPE */
  48. #define IFX_PMU_ID_MODTYPE_MSK (0xff)
  49. /** \\brief Offset for Ifx_PMU_ID_Bits.MODTYPE */
  50. #define IFX_PMU_ID_MODTYPE_OFF (8)
  51. /** \} */
  52. /******************************************************************************/
  53. /******************************************************************************/
  54. #endif /* IFXPMU_BF_H */