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