39#ifndef LIBBSP_ARM_TMS570_POM
40#define LIBBSP_ARM_TMS570_POM
56 uint8_t reserved1 [496];
58 uint8_t reserved2 [2816];
60 uint8_t reserved3 [156];
63 uint8_t reserved4 [8];
67 uint8_t reserved5 [12];
70 uint32_t PERIPHERALID4;
71 uint32_t PERIPHERALID5;
72 uint32_t PERIPHERALID6;
73 uint32_t PERIPHERALID7;
74 uint32_t PERIPHERALID0;
75 uint32_t PERIPHERALID1;
76 uint32_t PERIPHERALID2;
77 uint32_t PERIPHERALID3;
78 uint32_t COMPONENTID0;
79 uint32_t COMPONENTID1;
80 uint32_t COMPONENTID2;
81 uint32_t COMPONENTID3;
87#define TMS570_POM_PROGSTART_STARTADDRESS(val) BSP_FLD32(val,0, 22)
88#define TMS570_POM_PROGSTART_STARTADDRESS_GET(reg) BSP_FLD32GET(reg,0, 22)
89#define TMS570_POM_PROGSTART_STARTADDRESS_SET(reg,val) BSP_FLD32SET(reg, val,0, 22)
94#define TMS570_POM_OVLSTART_STARTADDRESS(val) BSP_FLD32(val,0, 22)
95#define TMS570_POM_OVLSTART_STARTADDRESS_GET(reg) BSP_FLD32GET(reg,0, 22)
96#define TMS570_POM_OVLSTART_STARTADDRESS_SET(reg,val) BSP_FLD32SET(reg, val,0, 22)
101#define TMS570_POM_REGSIZE_SIZE(val) BSP_FLD32(val,0, 3)
102#define TMS570_POM_REGSIZE_SIZE_GET(reg) BSP_FLD32GET(reg,0, 3)
103#define TMS570_POM_REGSIZE_SIZE_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
108#define TMS570_POM_GLBCTRL_OTADDR(val) BSP_FLD32(val,23, 31)
109#define TMS570_POM_GLBCTRL_OTADDR_GET(reg) BSP_FLD32GET(reg,23, 31)
110#define TMS570_POM_GLBCTRL_OTADDR_SET(reg,val) BSP_FLD32SET(reg, val,23, 31)
113#define TMS570_POM_GLBCTRL_ETO(val) BSP_FLD32(val,8, 11)
114#define TMS570_POM_GLBCTRL_ETO_GET(reg) BSP_FLD32GET(reg,8, 11)
115#define TMS570_POM_GLBCTRL_ETO_SET(reg,val) BSP_FLD32SET(reg, val,8, 11)
118#define TMS570_POM_GLBCTRL_ON_OFF(val) BSP_FLD32(val,0, 3)
119#define TMS570_POM_GLBCTRL_ON_OFF_GET(reg) BSP_FLD32GET(reg,0, 3)
120#define TMS570_POM_GLBCTRL_ON_OFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
125#define TMS570_POM_REV_SCHEME(val) BSP_FLD32(val,30, 31)
126#define TMS570_POM_REV_SCHEME_GET(reg) BSP_FLD32GET(reg,30, 31)
127#define TMS570_POM_REV_SCHEME_SET(reg,val) BSP_FLD32SET(reg, val,30, 31)
130#define TMS570_POM_REV_FUNC(val) BSP_FLD32(val,16, 27)
131#define TMS570_POM_REV_FUNC_GET(reg) BSP_FLD32GET(reg,16, 27)
132#define TMS570_POM_REV_FUNC_SET(reg,val) BSP_FLD32SET(reg, val,16, 27)
135#define TMS570_POM_REV_RTL(val) BSP_FLD32(val,11, 15)
136#define TMS570_POM_REV_RTL_GET(reg) BSP_FLD32GET(reg,11, 15)
137#define TMS570_POM_REV_RTL_SET(reg,val) BSP_FLD32SET(reg, val,11, 15)
140#define TMS570_POM_REV_MAJOR(val) BSP_FLD32(val,8, 10)
141#define TMS570_POM_REV_MAJOR_GET(reg) BSP_FLD32GET(reg,8, 10)
142#define TMS570_POM_REV_MAJOR_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
145#define TMS570_POM_REV_CUSTOM(val) BSP_FLD32(val,6, 7)
146#define TMS570_POM_REV_CUSTOM_GET(reg) BSP_FLD32GET(reg,6, 7)
147#define TMS570_POM_REV_CUSTOM_SET(reg,val) BSP_FLD32SET(reg, val,6, 7)
150#define TMS570_POM_REV_5_0(val) BSP_FLD32(val,0, 5)
151#define TMS570_POM_REV_5_0_GET(reg) BSP_FLD32GET(reg,0, 5)
152#define TMS570_POM_REV_5_0_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
157#define TMS570_POM_CLKCTRL_CLK_GATE_OFF BSP_BIT32(0)
162#define TMS570_POM_FLG_TO BSP_BIT32(0)
171#define TMS570_POM_CLAIMSET_SET1 BSP_BIT32(1)
174#define TMS570_POM_CLAIMSET_SET0 BSP_BIT32(0)
179#define TMS570_POM_CLAIMCLR_CLR1 BSP_BIT32(1)
182#define TMS570_POM_CLAIMCLR_CLR0 BSP_BIT32(0)
203#define TMS570_POM_DEVTYPE_Sub_Type(val) BSP_FLD32(val,4, 7)
204#define TMS570_POM_DEVTYPE_Sub_Type_GET(reg) BSP_FLD32GET(reg,4, 7)
205#define TMS570_POM_DEVTYPE_Sub_Type_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
208#define TMS570_POM_DEVTYPE_Major_Type(val) BSP_FLD32(val,0, 3)
209#define TMS570_POM_DEVTYPE_Major_Type_GET(reg) BSP_FLD32GET(reg,0, 3)
210#define TMS570_POM_DEVTYPE_Major_Type_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
215#define TMS570_POM_PERIPHERALID4_4KB_Count(val) BSP_FLD32(val,4, 7)
216#define TMS570_POM_PERIPHERALID4_4KB_Count_GET(reg) BSP_FLD32GET(reg,4, 7)
217#define TMS570_POM_PERIPHERALID4_4KB_Count_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
220#define TMS570_POM_PERIPHERALID4_JEP_Continuation(val) BSP_FLD32(val,0, 3)
221#define TMS570_POM_PERIPHERALID4_JEP_Continuation_GET(reg) BSP_FLD32GET(reg,0, 3)
222#define TMS570_POM_PERIPHERALID4_JEP_Continuation_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
239#define TMS570_POM_PERIPHERALID0_Part_Number(val) BSP_FLD32(val,0, 7)
240#define TMS570_POM_PERIPHERALID0_Part_Number_GET(reg) BSP_FLD32GET(reg,0, 7)
241#define TMS570_POM_PERIPHERALID0_Part_Number_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
246#define TMS570_POM_PERIPHERALID1_JEP106_Identity(val) BSP_FLD32(val,4, 7)
247#define TMS570_POM_PERIPHERALID1_JEP106_Identity_GET(reg) BSP_FLD32GET(reg,4, 7)
248#define TMS570_POM_PERIPHERALID1_JEP106_Identity_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
251#define TMS570_POM_PERIPHERALID1_Part_Number(val) BSP_FLD32(val,0, 3)
252#define TMS570_POM_PERIPHERALID1_Part_Number_GET(reg) BSP_FLD32GET(reg,0, 3)
253#define TMS570_POM_PERIPHERALID1_Part_Number_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
258#define TMS570_POM_PERIPHERALID2_Revision(val) BSP_FLD32(val,4, 7)
259#define TMS570_POM_PERIPHERALID2_Revision_GET(reg) BSP_FLD32GET(reg,4, 7)
260#define TMS570_POM_PERIPHERALID2_Revision_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
263#define TMS570_POM_PERIPHERALID2_JEDEC BSP_BIT32(3)
266#define TMS570_POM_PERIPHERALID2_JEP106_Identity(val) BSP_FLD32(val,0, 2)
267#define TMS570_POM_PERIPHERALID2_JEP106_Identity_GET(reg) BSP_FLD32GET(reg,0, 2)
268#define TMS570_POM_PERIPHERALID2_JEP106_Identity_SET(reg,val) BSP_FLD32SET(reg, val,0, 2)
277#define TMS570_POM_COMPONENTID0_Preamble(val) BSP_FLD32(val,0, 7)
278#define TMS570_POM_COMPONENTID0_Preamble_GET(reg) BSP_FLD32GET(reg,0, 7)
279#define TMS570_POM_COMPONENTID0_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
284#define TMS570_POM_COMPONENTID1_Component_Class(val) BSP_FLD32(val,4, 7)
285#define TMS570_POM_COMPONENTID1_Component_Class_GET(reg) BSP_FLD32GET(reg,4, 7)
286#define TMS570_POM_COMPONENTID1_Component_Class_SET(reg,val) BSP_FLD32SET(reg, val,4, 7)
289#define TMS570_POM_COMPONENTID1_Preamble(val) BSP_FLD32(val,0, 3)
290#define TMS570_POM_COMPONENTID1_Preamble_GET(reg) BSP_FLD32GET(reg,0, 3)
291#define TMS570_POM_COMPONENTID1_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
296#define TMS570_POM_COMPONENTID2_Preamble(val) BSP_FLD32(val,0, 7)
297#define TMS570_POM_COMPONENTID2_Preamble_GET(reg) BSP_FLD32GET(reg,0, 7)
298#define TMS570_POM_COMPONENTID2_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
303#define TMS570_POM_COMPONENTID3_Preamble(val) BSP_FLD32(val,0, 7)
304#define TMS570_POM_COMPONENTID3_Preamble_GET(reg) BSP_FLD32GET(reg,0, 7)
305#define TMS570_POM_COMPONENTID3_Preamble_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
This header file provides utility macros for BSPs.