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 
14 /* (c) Texas Instruments 2009-2013, All rights reserved. */
15 
16 #ifndef __REG_POM_H__
17 #define __REG_POM_H__
18 
19 #include "sys_common.h"
20 
21 
22 
23 /* USER CODE BEGIN (0) */
24 /* USER CODE END */
25 
26 /* Pom Register Frame Definition */
27 /** @struct POMBase
28 *   @brief POM Register Frame Definition
29 *
30 *   This structure is used to access the POM module registers(POM Register Map).
31 */
32 typedef struct
33 {
34   uint32 POMGLBCTRL_UL;   /* 0x00      */
35   uint32 POMREV_UL;       /* 0x04      */
36   uint32 POMCLKCTRL_UL;   /* 0x08      */
37   uint32 POMFLG_UL;       /* 0x0C      */
38   struct
39   {
40     uint32   rsdv1;
41   }RESERVED_REG[124U];
42   struct                    /* 0x200 ...    */
43   {
44     uint32 POMPROGSTART_UL;
45     uint32 POMOVLSTART_UL;
46     uint32 POMREGSIZE_UL;
47     uint32   rsdv2;
48   }POMRGNCONF_ST[32U];
49 }pomBASE_t;
50 
51 
52 /** @struct POM_CORESIGHT_ST
53 *   @brief POM_CORESIGHT_ST Register Definition
54 *
55 *   This structure is used to access the POM module registers(POM CoreSight Registers ).
56 */
57 typedef struct
58 {
59     uint32 POMITCTRL_UL;                  /* 0xF00            */
60     struct                                  /* 0xF04 to 0xF9C   */
61     {
62         uint32 Reserved_Reg_UL;
63     }Reserved1_ST[39U];
64     uint32 POMCLAIMSET_UL;                /* 0xFA0      */
65     uint32 POMCLAIMCLR_UL;                /* 0xFA4      */
66     uint32   rsvd1[2U];                    /* 0xFA8      */
67     uint32 POMLOCKACCESS_UL;              /* 0xFB0      */
68     uint32 POMLOCKSTATUS_UL;              /* 0xFB4      */
69     uint32 POMAUTHSTATUS_UL;              /* 0xFB8      */
70     uint32   rsvd2[3U];                    /* 0xFBC      */
71     uint32 POMDEVID_UL;                   /* 0xFC8      */
72     uint32 POMDEVTYPE_UL;                 /* 0xFCC      */
73     uint32 POMPERIPHERALID4_UL;           /* 0xFD0      */
74     uint32 POMPERIPHERALID5_UL;           /* 0xFD4      */
75     uint32 POMPERIPHERALID6_UL;           /* 0xFD8      */
76     uint32 POMPERIPHERALID7_UL;           /* 0xFDC      */
77     uint32 POMPERIPHERALID0_UL;           /* 0xFE0      */
78     uint32 POMPERIPHERALID1_UL;           /* 0xFE4      */
79     uint32 POMPERIPHERALID2_UL;           /* 0xFE8      */
80     uint32 POMPERIPHERALID3_UL;           /* 0xFEC      */
81     uint32 POMCOMPONENTID0_UL;            /* 0xFF0      */
82     uint32 POMCOMPONENTID1_UL;            /* 0xFF4      */
83     uint32 POMCOMPONENTID2_UL;            /* 0xFF8      */
84     uint32 POMCOMPONENTID3_UL;            /* 0xFFC      */
85 }POM_CORESIGHT_ST;
86 
87 
88 #define pomREG ((pomBASE_t *)0xFFA04000U)
89 
90 /* USER CODE BEGIN (1) */
91 /* USER CODE END */
92 
93 
94 #endif
95