reg_pom.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /** @file reg_pom.h
  2. * @brief POM Register Layer Header File
  3. * @date 29.May.2013
  4. * @version 03.05.02
  5. *
  6. * This file contains:
  7. * - Definitions
  8. * - Types
  9. * - Interface Prototypes
  10. * .
  11. * which are relevant for the POM driver.
  12. */
  13. /* (c) Texas Instruments 2009-2013, All rights reserved. */
  14. #ifndef __REG_POM_H__
  15. #define __REG_POM_H__
  16. #include "sys_common.h"
  17. /* USER CODE BEGIN (0) */
  18. /* USER CODE END */
  19. /* Pom Register Frame Definition */
  20. /** @struct POMBase
  21. * @brief POM Register Frame Definition
  22. *
  23. * This structure is used to access the POM module registers(POM Register Map).
  24. */
  25. typedef struct
  26. {
  27. uint32 POMGLBCTRL_UL; /* 0x00 */
  28. uint32 POMREV_UL; /* 0x04 */
  29. uint32 POMCLKCTRL_UL; /* 0x08 */
  30. uint32 POMFLG_UL; /* 0x0C */
  31. struct
  32. {
  33. uint32 rsdv1;
  34. }RESERVED_REG[124U];
  35. struct /* 0x200 ... */
  36. {
  37. uint32 POMPROGSTART_UL;
  38. uint32 POMOVLSTART_UL;
  39. uint32 POMREGSIZE_UL;
  40. uint32 rsdv2;
  41. }POMRGNCONF_ST[32U];
  42. }pomBASE_t;
  43. /** @struct POM_CORESIGHT_ST
  44. * @brief POM_CORESIGHT_ST Register Definition
  45. *
  46. * This structure is used to access the POM module registers(POM CoreSight Registers ).
  47. */
  48. typedef struct
  49. {
  50. uint32 POMITCTRL_UL; /* 0xF00 */
  51. struct /* 0xF04 to 0xF9C */
  52. {
  53. uint32 Reserved_Reg_UL;
  54. }Reserved1_ST[39U];
  55. uint32 POMCLAIMSET_UL; /* 0xFA0 */
  56. uint32 POMCLAIMCLR_UL; /* 0xFA4 */
  57. uint32 rsvd1[2U]; /* 0xFA8 */
  58. uint32 POMLOCKACCESS_UL; /* 0xFB0 */
  59. uint32 POMLOCKSTATUS_UL; /* 0xFB4 */
  60. uint32 POMAUTHSTATUS_UL; /* 0xFB8 */
  61. uint32 rsvd2[3U]; /* 0xFBC */
  62. uint32 POMDEVID_UL; /* 0xFC8 */
  63. uint32 POMDEVTYPE_UL; /* 0xFCC */
  64. uint32 POMPERIPHERALID4_UL; /* 0xFD0 */
  65. uint32 POMPERIPHERALID5_UL; /* 0xFD4 */
  66. uint32 POMPERIPHERALID6_UL; /* 0xFD8 */
  67. uint32 POMPERIPHERALID7_UL; /* 0xFDC */
  68. uint32 POMPERIPHERALID0_UL; /* 0xFE0 */
  69. uint32 POMPERIPHERALID1_UL; /* 0xFE4 */
  70. uint32 POMPERIPHERALID2_UL; /* 0xFE8 */
  71. uint32 POMPERIPHERALID3_UL; /* 0xFEC */
  72. uint32 POMCOMPONENTID0_UL; /* 0xFF0 */
  73. uint32 POMCOMPONENTID1_UL; /* 0xFF4 */
  74. uint32 POMCOMPONENTID2_UL; /* 0xFF8 */
  75. uint32 POMCOMPONENTID3_UL; /* 0xFFC */
  76. }POM_CORESIGHT_ST;
  77. #define pomREG ((pomBASE_t *)0xFFA04000U)
  78. /* USER CODE BEGIN (1) */
  79. /* USER CODE END */
  80. #endif