reg_tcram.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /** @file reg_tcram.h
  2. * @brief TCRAM 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_TCRAM_H__
  14. #define __REG_TCRAM_H__
  15. #include "sys_common.h"
  16. /* Tcram Register Frame Definition */
  17. /** @struct tcramBase
  18. * @brief TCRAM Wrapper Register Frame Definition
  19. *
  20. * This type is used to access the TCRAM Wrapper Registers.
  21. */
  22. /** @typedef tcramBASE_t
  23. * @brief TCRAM Wrapper Register Frame Type Definition
  24. *
  25. * This type is used to access the TCRAM Wrapper Registers.
  26. */
  27. typedef volatile struct tcramBase
  28. {
  29. uint32 RAMCTRL; /* 0x0000 */
  30. uint32 RAMTHRESHOLD; /* 0x0004 */
  31. uint32 RAMOCCUR; /* 0x0008 */
  32. uint32 RAMINTCTRL; /* 0x000C */
  33. uint32 RAMERRSTATUS; /* 0x0010 */
  34. uint32 RAMSERRADDR; /* 0x0014 */
  35. uint32 rsvd1; /* 0x0018 */
  36. uint32 RAMUERRADDR; /* 0x001C */
  37. uint32 rsvd2[4U]; /* 0x0020 */
  38. uint32 RAMTEST; /* 0x0030 */
  39. uint32 rsvd3; /* 0x0034 */
  40. uint32 RAMADDRDECVECT; /* 0x0038 */
  41. uint32 RAMPERADDR; /* 0x003C */
  42. } tcramBASE_t;
  43. #define tcram1REG ((tcramBASE_t *)(0xFFFFF800U))
  44. #define tcram2REG ((tcramBASE_t *)(0xFFFFF900U))
  45. #endif