reg_pcr.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /** @file reg_pcr.h
  2. * @brief PCR Register Layer Header File
  3. * @date 29.May.2013
  4. * @version 03.05.02
  5. *
  6. * This file contains:
  7. * - Definitions
  8. * - Types
  9. * .
  10. * which are relevant for the System driver.
  11. */
  12. /* (c) Texas Instruments 2009-2013, All rights reserved. */
  13. #ifndef __REG_PCR_H__
  14. #define __REG_PCR_H__
  15. #include "sys_common.h"
  16. /* USER CODE BEGIN (0) */
  17. /* USER CODE END */
  18. /* Pcr Register Frame Definition */
  19. /** @struct pcrBase
  20. * @brief Pcr Register Frame Definition
  21. *
  22. * This type is used to access the Pcr Registers.
  23. */
  24. /** @typedef pcrBASE_t
  25. * @brief PCR Register Frame Type Definition
  26. *
  27. * This type is used to access the PCR Registers.
  28. */
  29. typedef volatile struct pcrBase
  30. {
  31. uint32 PMPROTSET0; /* 0x0000 */
  32. uint32 PMPROTSET1; /* 0x0004 */
  33. uint32 rsvd1[2U]; /* 0x0008 */
  34. uint32 PMPROTCLR0; /* 0x0010 */
  35. uint32 PMPROTCLR1; /* 0x0014 */
  36. uint32 rsvd2[2U]; /* 0x0018 */
  37. uint32 PPROTSET0; /* 0x0020 */
  38. uint32 PPROTSET1; /* 0x0024 */
  39. uint32 PPROTSET2; /* 0x0028 */
  40. uint32 PPROTSET3; /* 0x002C */
  41. uint32 rsvd3[4U]; /* 0x0030 */
  42. uint32 PPROTCLR0; /* 0x0040 */
  43. uint32 PPROTCLR1; /* 0x0044 */
  44. uint32 PPROTCLR2; /* 0x0048 */
  45. uint32 PPROTCLR3; /* 0x004C */
  46. uint32 rsvd4[4U]; /* 0x0050 */
  47. uint32 PCSPWRDWNSET0; /* 0x0060 */
  48. uint32 PCSPWRDWNSET1; /* 0x0064 */
  49. uint32 rsvd5[2U]; /* 0x0068 */
  50. uint32 PCSPWRDWNCLR0; /* 0x0070 */
  51. uint32 PCSPWRDWNCLR1; /* 0x0074 */
  52. uint32 rsvd6[2U]; /* 0x0078 */
  53. uint32 PSPWRDWNSET0; /* 0x0080 */
  54. uint32 PSPWRDWNSET1; /* 0x0084 */
  55. uint32 PSPWRDWNSET2; /* 0x0088 */
  56. uint32 PSPWRDWNSET3; /* 0x008C */
  57. uint32 rsvd7[4U]; /* 0x0090 */
  58. uint32 PSPWRDWNCLR0; /* 0x00A0 */
  59. uint32 PSPWRDWNCLR1; /* 0x00A4 */
  60. uint32 PSPWRDWNCLR2; /* 0x00A8 */
  61. uint32 PSPWRDWNCLR3; /* 0x00AC */
  62. } pcrBASE_t;
  63. /** @def pcrREG
  64. * @brief Pcr Register Frame Pointer
  65. *
  66. * This pointer is used by the system driver to access the Pcr registers.
  67. */
  68. #define pcrREG ((pcrBASE_t *)0xFFFFE000U)
  69. /* USER CODE BEGIN (1) */
  70. /* USER CODE END */
  71. #endif