39#ifndef LIBBSP_ARM_TMS570_NHET
40#define LIBBSP_ARM_TMS570_NHET
57 uint8_t reserved1 [4];
63 uint8_t reserved2 [4];
72 uint8_t reserved3 [8];
78 uint8_t reserved4 [4];
87#define TMS570_NHET_GCR_HET_PIN_ENA BSP_BIT32(24)
90#define TMS570_NHET_GCR_MP(val) BSP_FLD32(val,21, 22)
91#define TMS570_NHET_GCR_MP_GET(reg) BSP_FLD32GET(reg,21, 22)
92#define TMS570_NHET_GCR_MP_SET(reg,val) BSP_FLD32SET(reg, val,21, 22)
95#define TMS570_NHET_GCR_PPF BSP_BIT32(18)
98#define TMS570_NHET_GCR_IS BSP_BIT32(17)
101#define TMS570_NHET_GCR_CMS BSP_BIT32(16)
106#define TMS570_NHET_PFR_LRPFC(val) BSP_FLD32(val,8, 10)
107#define TMS570_NHET_PFR_LRPFC_GET(reg) BSP_FLD32GET(reg,8, 10)
108#define TMS570_NHET_PFR_LRPFC_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
111#define TMS570_NHET_PFR_HRPFC(val) BSP_FLD32(val,0, 5)
112#define TMS570_NHET_PFR_HRPFC_GET(reg) BSP_FLD32GET(reg,0, 5)
113#define TMS570_NHET_PFR_HRPFC_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
118#define TMS570_NHET_ADDR_HETADDR(val) BSP_FLD32(val,0, 8)
119#define TMS570_NHET_ADDR_HETADDR_GET(reg) BSP_FLD32GET(reg,0, 8)
120#define TMS570_NHET_ADDR_HETADDR_SET(reg,val) BSP_FLD32SET(reg, val,0, 8)
125#define TMS570_NHET_OFF1_OFFSET1(val) BSP_FLD32(val,0, 5)
126#define TMS570_NHET_OFF1_OFFSET1_GET(reg) BSP_FLD32GET(reg,0, 5)
127#define TMS570_NHET_OFF1_OFFSET1_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
132#define TMS570_NHET_OFF2_OFFSET2(val) BSP_FLD32(val,0, 5)
133#define TMS570_NHET_OFF2_OFFSET2_GET(reg) BSP_FLD32GET(reg,0, 5)
134#define TMS570_NHET_OFF2_OFFSET2_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
147#define TMS570_NHET_EXC1_APCNT_OVRFL_ENA BSP_BIT32(24)
150#define TMS570_NHET_EXC1_APCNT_UNRFL_ENA BSP_BIT32(16)
153#define TMS570_NHET_EXC1_PRGM_OVRFL_ENA BSP_BIT32(8)
156#define TMS570_NHET_EXC1_APCNT_OVRFL_PRY BSP_BIT32(2)
159#define TMS570_NHET_EXC1_APCNT_UNRFL_PRY BSP_BIT32(1)
162#define TMS570_NHET_EXC1_PRGM_OVRFL_PRY BSP_BIT32(0)
167#define TMS570_NHET_EXC2_DEBUG_STATUS_FLAG BSP_BIT32(8)
170#define TMS570_NHET_EXC2_APCNT_OVRFL_FLAG BSP_BIT32(2)
173#define TMS570_NHET_EXC2_APCNT_UNDFL_FLAG BSP_BIT32(1)
176#define TMS570_NHET_EXC2_PRGM_OVERFL_FLAG BSP_BIT32(0)
189#define TMS570_NHET_AND_AND_SHARE(val) BSP_FLD32(val,0, 15)
190#define TMS570_NHET_AND_AND_SHARE_GET(reg) BSP_FLD32GET(reg,0, 15)
191#define TMS570_NHET_AND_AND_SHARE_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
196#define TMS570_NHET_HRSH_HR_SHARE(val) BSP_FLD32(val,0, 15)
197#define TMS570_NHET_HRSH_HR_SHARE_GET(reg) BSP_FLD32GET(reg,0, 15)
198#define TMS570_NHET_HRSH_HR_SHARE_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
203#define TMS570_NHET_XOR_XOR_SHARE(val) BSP_FLD32(val,0, 15)
204#define TMS570_NHET_XOR_XOR_SHARE_GET(reg) BSP_FLD32GET(reg,0, 15)
205#define TMS570_NHET_XOR_XOR_SHARE_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
210#define TMS570_NHET_REQENS_REQ_ENA_n(val) BSP_FLD32(val,0, 7)
211#define TMS570_NHET_REQENS_REQ_ENA_n_GET(reg) BSP_FLD32GET(reg,0, 7)
212#define TMS570_NHET_REQENS_REQ_ENA_n_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
217#define TMS570_NHET_REQENC_REQ_DIS_n(val) BSP_FLD32(val,0, 7)
218#define TMS570_NHET_REQENC_REQ_DIS_n_GET(reg) BSP_FLD32GET(reg,0, 7)
219#define TMS570_NHET_REQENC_REQ_DIS_n_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
224#define TMS570_NHET_REQDS_TDBS_n(val) BSP_FLD32(val,16, 23)
225#define TMS570_NHET_REQDS_TDBS_n_GET(reg) BSP_FLD32GET(reg,16, 23)
226#define TMS570_NHET_REQDS_TDBS_n_SET(reg,val) BSP_FLD32SET(reg, val,16, 23)
229#define TMS570_NHET_REQDS_TDS_n(val) BSP_FLD32(val,0, 7)
230#define TMS570_NHET_REQDS_TDS_n_GET(reg) BSP_FLD32GET(reg,0, 7)
231#define TMS570_NHET_REQDS_TDS_n_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
268#define TMS570_NHET_PCR_TEST BSP_BIT32(8)
271#define TMS570_NHET_PCR_PARITY_ENA(val) BSP_FLD32(val,0, 3)
272#define TMS570_NHET_PCR_PARITY_ENA_GET(reg) BSP_FLD32GET(reg,0, 3)
273#define TMS570_NHET_PCR_PARITY_ENA_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
278#define TMS570_NHET_PAR_PAOFF(val) BSP_FLD32(val,2, 12)
279#define TMS570_NHET_PAR_PAOFF_GET(reg) BSP_FLD32GET(reg,2, 12)
280#define TMS570_NHET_PAR_PAOFF_SET(reg,val) BSP_FLD32SET(reg, val,2, 12)
289#define TMS570_NHET_SFPRLD_CCDIV(val) BSP_FLD32(val,16, 17)
290#define TMS570_NHET_SFPRLD_CCDIV_GET(reg) BSP_FLD32GET(reg,16, 17)
291#define TMS570_NHET_SFPRLD_CCDIV_SET(reg,val) BSP_FLD32SET(reg, val,16, 17)
294#define TMS570_NHET_SFPRLD_CPRLD(val) BSP_FLD32(val,0, 9)
295#define TMS570_NHET_SFPRLD_CPRLD_GET(reg) BSP_FLD32GET(reg,0, 9)
296#define TMS570_NHET_SFPRLD_CPRLD_SET(reg,val) BSP_FLD32SET(reg, val,0, 9)
305#define TMS570_NHET_LBPSEL_LBPTYPE(val) BSP_FLD32(val,16, 31)
306#define TMS570_NHET_LBPSEL_LBPTYPE_GET(reg) BSP_FLD32GET(reg,16, 31)
307#define TMS570_NHET_LBPSEL_LBPTYPE_SET(reg,val) BSP_FLD32SET(reg, val,16, 31)
310#define TMS570_NHET_LBPSEL_LBPSEL(val) BSP_FLD32(val,0, 15)
311#define TMS570_NHET_LBPSEL_LBPSEL_GET(reg) BSP_FLD32GET(reg,0, 15)
312#define TMS570_NHET_LBPSEL_LBPSEL_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
317#define TMS570_NHET_LBPDIR_LBPTSTENA(val) BSP_FLD32(val,16, 19)
318#define TMS570_NHET_LBPDIR_LBPTSTENA_GET(reg) BSP_FLD32GET(reg,16, 19)
319#define TMS570_NHET_LBPDIR_LBPTSTENA_SET(reg,val) BSP_FLD32SET(reg, val,16, 19)
322#define TMS570_NHET_LBPDIR_LBPDIR(val) BSP_FLD32(val,0, 15)
323#define TMS570_NHET_LBPDIR_LBPDIR_GET(reg) BSP_FLD32GET(reg,0, 15)
324#define TMS570_NHET_LBPDIR_LBPDIR_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
This header file provides utility macros for BSPs.
Definition: reg_n2het.h:44