reg_vim.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /** @file reg_vim.h
  2. * @brief VIM 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_VIM_H__
  14. #define __REG_VIM_H__
  15. #include "sys_common.h"
  16. /* USER CODE BEGIN (0) */
  17. /* USER CODE END */
  18. /* Vim Register Frame Definition */
  19. /** @struct vimBase
  20. * @brief Vim Register Frame Definition
  21. *
  22. * This type is used to access the Vim Registers.
  23. */
  24. /** @typedef vimBASE_t
  25. * @brief VIM Register Frame Type Definition
  26. *
  27. * This type is used to access the VIM Registers.
  28. */
  29. typedef volatile struct vimBase
  30. {
  31. uint32 IRQINDEX; /* 0x0000 */
  32. uint32 FIQINDEX; /* 0x0004 */
  33. uint32 rsvd1; /* 0x0008 */
  34. uint32 rsvd2; /* 0x000C */
  35. uint32 FIRQPR0; /* 0x0010 */
  36. uint32 FIRQPR1; /* 0x0014 */
  37. uint32 FIRQPR2; /* 0x0018 */
  38. uint32 FIRQPR3; /* 0x001C */
  39. uint32 INTREQ0; /* 0x0020 */
  40. uint32 INTREQ1; /* 0x0024 */
  41. uint32 INTREQ2; /* 0x0028 */
  42. uint32 INTREQ3; /* 0x002C */
  43. uint32 REQMASKSET0; /* 0x0030 */
  44. uint32 REQMASKSET1; /* 0x0034 */
  45. uint32 REQMASKSET2; /* 0x0038 */
  46. uint32 REQMASKSET3; /* 0x003C */
  47. uint32 REQMASKCLR0; /* 0x0040 */
  48. uint32 REQMASKCLR1; /* 0x0044 */
  49. uint32 REQMASKCLR2; /* 0x0048 */
  50. uint32 REQMASKCLR3; /* 0x004C */
  51. uint32 WAKEMASKSET0; /* 0x0050 */
  52. uint32 WAKEMASKSET1; /* 0x0054 */
  53. uint32 WAKEMASKSET2; /* 0x0058 */
  54. uint32 WAKEMASKSET3; /* 0x005C */
  55. uint32 WAKEMASKCLR0; /* 0x0060 */
  56. uint32 WAKEMASKCLR1; /* 0x0064 */
  57. uint32 WAKEMASKCLR2; /* 0x0068 */
  58. uint32 WAKEMASKCLR3; /* 0x006C */
  59. uint32 IRQVECREG; /* 0x0070 */
  60. uint32 FIQVECREG; /* 0x0074 */
  61. uint32 CAPEVT; /* 0x0078 */
  62. uint32 rsvd3; /* 0x007C */
  63. uint32 CHANCTRL[24U]; /* 0x0080-0x017C */
  64. } vimBASE_t;
  65. #define vimREG ((vimBASE_t *)0xFFFFFE00U)
  66. /* USER CODE BEGIN (1) */
  67. /* USER CODE END */
  68. #endif