49#ifndef LIBBSP_ARM_TMS570_POM
50#define LIBBSP_ARM_TMS570_POM
66 uint8_t reserved1 [496];
68 uint8_t reserved2 [2816];
70 uint8_t reserved3 [156];
73 uint8_t reserved4 [8];
77 uint8_t reserved5 [12];
80 uint32_t PERIPHERALID4;
81 uint32_t PERIPHERALID5;
82 uint32_t PERIPHERALID6;
83 uint32_t PERIPHERALID7;
84 uint32_t PERIPHERALID0;
85 uint32_t PERIPHERALID1;
86 uint32_t PERIPHERALID2;
87 uint32_t PERIPHERALID3;
88 uint32_t COMPONENTID0;
89 uint32_t COMPONENTID1;
90 uint32_t COMPONENTID2;
91 uint32_t COMPONENTID3;
97#define TMS570_POM_PROGSTART_STARTADDRESS(val) BSP_FLD32(val,0, 22)
98#define TMS570_POM_PROGSTART_STARTADDRESS_GET(reg) BSP_FLD32GET(reg,0, 22)
99#define TMS570_POM_PROGSTART_STARTADDRESS_SET(reg,val) BSP_FLD32SET(reg, val,0, 22)
104#define TMS570_POM_OVLSTART_STARTADDRESS(val) BSP_FLD32(val,0, 22)
105#define TMS570_POM_OVLSTART_STARTADDRESS_GET(reg) BSP_FLD32GET(reg,0, 22)
106#define TMS570_POM_OVLSTART_STARTADDRESS_SET(reg,val) BSP_FLD32SET(reg, val,0, 22)
111#define TMS570_POM_REGSIZE_SIZE(val) BSP_FLD32(val,0, 3)
112#define TMS570_POM_REGSIZE_SIZE_GET(reg) BSP_FLD32GET(reg,0, 3)
113#define TMS570_POM_REGSIZE_SIZE_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
118#define TMS570_POM_GLBCTRL_OTADDR(val) BSP_FLD32(val,23, 31)
119#define TMS570_POM_GLBCTRL_OTADDR_GET(reg) BSP_FLD32GET(reg,23, 31)
120#define TMS570_POM_GLBCTRL_OTADDR_SET(reg,val) BSP_FLD32SET(reg, val,23, 31)
123#define TMS570_POM_GLBCTRL_ETO(val) BSP_FLD32(val,8, 11)
124#define TMS570_POM_GLBCTRL_ETO_GET(reg) BSP_FLD32GET(reg,8, 11)
125#define TMS570_POM_GLBCTRL_ETO_SET(reg,val) BSP_FLD32SET(reg, val,8, 11)
128#define TMS570_POM_GLBCTRL_ON_OFF(val) BSP_FLD32(val,0, 3)
129#define TMS570_POM_GLBCTRL_ON_OFF_GET(reg) BSP_FLD32GET(reg,0, 3)
130#define TMS570_POM_GLBCTRL_ON_OFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
135#define TMS570_POM_REV_SCHEME(val) BSP_FLD32(val,30, 31)
136#define TMS570_POM_REV_SCHEME_GET(reg) BSP_FLD32GET(reg,30, 31)
137#define TMS570_POM_REV_SCHEME_SET(reg,val) BSP_FLD32SET(reg, val,30, 31)
140#define TMS570_POM_REV_FUNC(val) BSP_FLD32(val,16, 27)
141#define TMS570_POM_REV_FUNC_GET(reg) BSP_FLD32GET(reg,16, 27)
142#define TMS570_POM_REV_FUNC_SET(reg,val) BSP_FLD32SET(reg, val,16, 27)
145#define TMS570_POM_REV_RTL(val) BSP_FLD32(val,11, 15)
146#define TMS570_POM_REV_RTL_GET(reg) BSP_FLD32GET(reg,11, 15)
147#define TMS570_POM_REV_RTL_SET(reg,val) BSP_FLD32SET(reg, val,11, 15)
150#define TMS570_POM_REV_MAJOR(val) BSP_FLD32(val,8, 10)
151#define TMS570_POM_REV_MAJOR_GET(reg) BSP_FLD32GET(reg,8, 10)
152#define TMS570_POM_REV_MAJOR_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
155#define TMS570_POM_REV_CUSTOM(val) BSP_FLD32(val,6, 7)
156#define TMS570_POM_REV_CUSTOM_GET(reg) BSP_FLD32GET(reg,6, 7)
157#define TMS570_POM_REV_CUSTOM_SET(reg,val) BSP_FLD32SET(reg, val,6, 7)
160#define TMS570_POM_REV_5_0(val) BSP_FLD32(val,0, 5)
161#define TMS570_POM_REV_5_0_GET(reg) BSP_FLD32GET(reg,0, 5)
162#define TMS570_POM_REV_5_0_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
167#define TMS570_POM_CLKCTRL_CLK_GATE_OFF BSP_BIT32(0)
172#define TMS570_POM_FLG_TO BSP_BIT32(0)
181#define TMS570_POM_CLAIMSET_SET1 BSP_BIT32(1)
184#define TMS570_POM_CLAIMSET_SET0 BSP_BIT32(0)
189#define TMS570_POM_CLAIMCLR_CLR1 BSP_BIT32(1)
192#define TMS570_POM_CLAIMCLR_CLR0 BSP_BIT32(0)
213#define TMS570_POM_DEVTYPE_Sub_Type(val) BSP_FLD32(val,4, 7)
214#define TMS570_POM_DEVTYPE_Sub_Type_GET(reg) BSP_FLD32GET(reg,4, 7)
215#define TMS570_POM_DEVTYPE_Sub_Type_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
218#define TMS570_POM_DEVTYPE_Major_Type(val) BSP_FLD32(val,0, 3)
219#define TMS570_POM_DEVTYPE_Major_Type_GET(reg) BSP_FLD32GET(reg,0, 3)
220#define TMS570_POM_DEVTYPE_Major_Type_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
225#define TMS570_POM_PERIPHERALID4_4KB_Count(val) BSP_FLD32(val,4, 7)
226#define TMS570_POM_PERIPHERALID4_4KB_Count_GET(reg) BSP_FLD32GET(reg,4, 7)
227#define TMS570_POM_PERIPHERALID4_4KB_Count_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
230#define TMS570_POM_PERIPHERALID4_JEP_Continuation(val) BSP_FLD32(val,0, 3)
231#define TMS570_POM_PERIPHERALID4_JEP_Continuation_GET(reg) BSP_FLD32GET(reg,0, 3)
232#define TMS570_POM_PERIPHERALID4_JEP_Continuation_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
249#define TMS570_POM_PERIPHERALID0_Part_Number(val) BSP_FLD32(val,0, 7)
250#define TMS570_POM_PERIPHERALID0_Part_Number_GET(reg) BSP_FLD32GET(reg,0, 7)
251#define TMS570_POM_PERIPHERALID0_Part_Number_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
256#define TMS570_POM_PERIPHERALID1_JEP106_Identity(val) BSP_FLD32(val,4, 7)
257#define TMS570_POM_PERIPHERALID1_JEP106_Identity_GET(reg) BSP_FLD32GET(reg,4, 7)
258#define TMS570_POM_PERIPHERALID1_JEP106_Identity_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
261#define TMS570_POM_PERIPHERALID1_Part_Number(val) BSP_FLD32(val,0, 3)
262#define TMS570_POM_PERIPHERALID1_Part_Number_GET(reg) BSP_FLD32GET(reg,0, 3)
263#define TMS570_POM_PERIPHERALID1_Part_Number_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
268#define TMS570_POM_PERIPHERALID2_Revision(val) BSP_FLD32(val,4, 7)
269#define TMS570_POM_PERIPHERALID2_Revision_GET(reg) BSP_FLD32GET(reg,4, 7)
270#define TMS570_POM_PERIPHERALID2_Revision_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
273#define TMS570_POM_PERIPHERALID2_JEDEC BSP_BIT32(3)
276#define TMS570_POM_PERIPHERALID2_JEP106_Identity(val) BSP_FLD32(val,0, 2)
277#define TMS570_POM_PERIPHERALID2_JEP106_Identity_GET(reg) BSP_FLD32GET(reg,0, 2)
278#define TMS570_POM_PERIPHERALID2_JEP106_Identity_SET(reg,val) BSP_FLD32SET(reg, val,0, 2)
287#define TMS570_POM_COMPONENTID0_Preamble(val) BSP_FLD32(val,0, 7)
288#define TMS570_POM_COMPONENTID0_Preamble_GET(reg) BSP_FLD32GET(reg,0, 7)
289#define TMS570_POM_COMPONENTID0_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
294#define TMS570_POM_COMPONENTID1_Component_Class(val) BSP_FLD32(val,4, 7)
295#define TMS570_POM_COMPONENTID1_Component_Class_GET(reg) BSP_FLD32GET(reg,4, 7)
296#define TMS570_POM_COMPONENTID1_Component_Class_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
299#define TMS570_POM_COMPONENTID1_Preamble(val) BSP_FLD32(val,0, 3)
300#define TMS570_POM_COMPONENTID1_Preamble_GET(reg) BSP_FLD32GET(reg,0, 3)
301#define TMS570_POM_COMPONENTID1_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
306#define TMS570_POM_COMPONENTID2_Preamble(val) BSP_FLD32(val,0, 7)
307#define TMS570_POM_COMPONENTID2_Preamble_GET(reg) BSP_FLD32GET(reg,0, 7)
308#define TMS570_POM_COMPONENTID2_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
313#define TMS570_POM_COMPONENTID3_Preamble(val) BSP_FLD32(val,0, 7)
314#define TMS570_POM_COMPONENTID3_Preamble_GET(reg) BSP_FLD32GET(reg,0, 7)
315#define TMS570_POM_COMPONENTID3_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
This header file provides utility macros for BSPs.