49#ifndef LIBBSP_ARM_TMS570_NHET
50#define LIBBSP_ARM_TMS570_NHET
67 uint8_t reserved1 [4];
73 uint8_t reserved2 [4];
82 uint8_t reserved3 [8];
88 uint8_t reserved4 [4];
97#define TMS570_NHET_GCR_HET_PIN_ENA BSP_BIT32(24)
100#define TMS570_NHET_GCR_MP(val) BSP_FLD32(val,21, 22)
101#define TMS570_NHET_GCR_MP_GET(reg) BSP_FLD32GET(reg,21, 22)
102#define TMS570_NHET_GCR_MP_SET(reg,val) BSP_FLD32SET(reg, val,21, 22)
105#define TMS570_NHET_GCR_PPF BSP_BIT32(18)
108#define TMS570_NHET_GCR_IS BSP_BIT32(17)
111#define TMS570_NHET_GCR_CMS BSP_BIT32(16)
116#define TMS570_NHET_PFR_LRPFC(val) BSP_FLD32(val,8, 10)
117#define TMS570_NHET_PFR_LRPFC_GET(reg) BSP_FLD32GET(reg,8, 10)
118#define TMS570_NHET_PFR_LRPFC_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
121#define TMS570_NHET_PFR_HRPFC(val) BSP_FLD32(val,0, 5)
122#define TMS570_NHET_PFR_HRPFC_GET(reg) BSP_FLD32GET(reg,0, 5)
123#define TMS570_NHET_PFR_HRPFC_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
128#define TMS570_NHET_ADDR_HETADDR(val) BSP_FLD32(val,0, 8)
129#define TMS570_NHET_ADDR_HETADDR_GET(reg) BSP_FLD32GET(reg,0, 8)
130#define TMS570_NHET_ADDR_HETADDR_SET(reg,val) BSP_FLD32SET(reg, val,0, 8)
135#define TMS570_NHET_OFF1_OFFSET1(val) BSP_FLD32(val,0, 5)
136#define TMS570_NHET_OFF1_OFFSET1_GET(reg) BSP_FLD32GET(reg,0, 5)
137#define TMS570_NHET_OFF1_OFFSET1_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
142#define TMS570_NHET_OFF2_OFFSET2(val) BSP_FLD32(val,0, 5)
143#define TMS570_NHET_OFF2_OFFSET2_GET(reg) BSP_FLD32GET(reg,0, 5)
144#define TMS570_NHET_OFF2_OFFSET2_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
157#define TMS570_NHET_EXC1_APCNT_OVRFL_ENA BSP_BIT32(24)
160#define TMS570_NHET_EXC1_APCNT_UNRFL_ENA BSP_BIT32(16)
163#define TMS570_NHET_EXC1_PRGM_OVRFL_ENA BSP_BIT32(8)
166#define TMS570_NHET_EXC1_APCNT_OVRFL_PRY BSP_BIT32(2)
169#define TMS570_NHET_EXC1_APCNT_UNRFL_PRY BSP_BIT32(1)
172#define TMS570_NHET_EXC1_PRGM_OVRFL_PRY BSP_BIT32(0)
177#define TMS570_NHET_EXC2_DEBUG_STATUS_FLAG BSP_BIT32(8)
180#define TMS570_NHET_EXC2_APCNT_OVRFL_FLAG BSP_BIT32(2)
183#define TMS570_NHET_EXC2_APCNT_UNDFL_FLAG BSP_BIT32(1)
186#define TMS570_NHET_EXC2_PRGM_OVERFL_FLAG BSP_BIT32(0)
199#define TMS570_NHET_AND_AND_SHARE(val) BSP_FLD32(val,0, 15)
200#define TMS570_NHET_AND_AND_SHARE_GET(reg) BSP_FLD32GET(reg,0, 15)
201#define TMS570_NHET_AND_AND_SHARE_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
206#define TMS570_NHET_HRSH_HR_SHARE(val) BSP_FLD32(val,0, 15)
207#define TMS570_NHET_HRSH_HR_SHARE_GET(reg) BSP_FLD32GET(reg,0, 15)
208#define TMS570_NHET_HRSH_HR_SHARE_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
213#define TMS570_NHET_XOR_XOR_SHARE(val) BSP_FLD32(val,0, 15)
214#define TMS570_NHET_XOR_XOR_SHARE_GET(reg) BSP_FLD32GET(reg,0, 15)
215#define TMS570_NHET_XOR_XOR_SHARE_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
220#define TMS570_NHET_REQENS_REQ_ENA_n(val) BSP_FLD32(val,0, 7)
221#define TMS570_NHET_REQENS_REQ_ENA_n_GET(reg) BSP_FLD32GET(reg,0, 7)
222#define TMS570_NHET_REQENS_REQ_ENA_n_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
227#define TMS570_NHET_REQENC_REQ_DIS_n(val) BSP_FLD32(val,0, 7)
228#define TMS570_NHET_REQENC_REQ_DIS_n_GET(reg) BSP_FLD32GET(reg,0, 7)
229#define TMS570_NHET_REQENC_REQ_DIS_n_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
234#define TMS570_NHET_REQDS_TDBS_n(val) BSP_FLD32(val,16, 23)
235#define TMS570_NHET_REQDS_TDBS_n_GET(reg) BSP_FLD32GET(reg,16, 23)
236#define TMS570_NHET_REQDS_TDBS_n_SET(reg,val) BSP_FLD32SET(reg, val,16, 23)
239#define TMS570_NHET_REQDS_TDS_n(val) BSP_FLD32(val,0, 7)
240#define TMS570_NHET_REQDS_TDS_n_GET(reg) BSP_FLD32GET(reg,0, 7)
241#define TMS570_NHET_REQDS_TDS_n_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
278#define TMS570_NHET_PCR_TEST BSP_BIT32(8)
281#define TMS570_NHET_PCR_PARITY_ENA(val) BSP_FLD32(val,0, 3)
282#define TMS570_NHET_PCR_PARITY_ENA_GET(reg) BSP_FLD32GET(reg,0, 3)
283#define TMS570_NHET_PCR_PARITY_ENA_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)
288#define TMS570_NHET_PAR_PAOFF(val) BSP_FLD32(val,2, 12)
289#define TMS570_NHET_PAR_PAOFF_GET(reg) BSP_FLD32GET(reg,2, 12)
290#define TMS570_NHET_PAR_PAOFF_SET(reg,val) BSP_FLD32SET(reg, val,2, 12)
299#define TMS570_NHET_SFPRLD_CCDIV(val) BSP_FLD32(val,16, 17)
300#define TMS570_NHET_SFPRLD_CCDIV_GET(reg) BSP_FLD32GET(reg,16, 17)
301#define TMS570_NHET_SFPRLD_CCDIV_SET(reg,val) BSP_FLD32SET(reg, val,16, 17)
304#define TMS570_NHET_SFPRLD_CPRLD(val) BSP_FLD32(val,0, 9)
305#define TMS570_NHET_SFPRLD_CPRLD_GET(reg) BSP_FLD32GET(reg,0, 9)
306#define TMS570_NHET_SFPRLD_CPRLD_SET(reg,val) BSP_FLD32SET(reg, val,0, 9)
315#define TMS570_NHET_LBPSEL_LBPTYPE(val) BSP_FLD32(val,16, 31)
316#define TMS570_NHET_LBPSEL_LBPTYPE_GET(reg) BSP_FLD32GET(reg,16, 31)
317#define TMS570_NHET_LBPSEL_LBPTYPE_SET(reg,val) BSP_FLD32SET(reg, val,16, 31)
320#define TMS570_NHET_LBPSEL_LBPSEL(val) BSP_FLD32(val,0, 15)
321#define TMS570_NHET_LBPSEL_LBPSEL_GET(reg) BSP_FLD32GET(reg,0, 15)
322#define TMS570_NHET_LBPSEL_LBPSEL_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
327#define TMS570_NHET_LBPDIR_LBPTSTENA(val) BSP_FLD32(val,16, 19)
328#define TMS570_NHET_LBPDIR_LBPTSTENA_GET(reg) BSP_FLD32GET(reg,16, 19)
329#define TMS570_NHET_LBPDIR_LBPTSTENA_SET(reg,val) BSP_FLD32SET(reg, val,16, 19)
332#define TMS570_NHET_LBPDIR_LBPDIR(val) BSP_FLD32(val,0, 15)
333#define TMS570_NHET_LBPDIR_LBPDIR_GET(reg) BSP_FLD32GET(reg,0, 15)
334#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:54