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