49#ifndef LIBBSP_ARM_TMS570_FLEX_RAY
50#define LIBBSP_ARM_TMS570_FLEX_RAY
57 uint8_t reserved1 [8];
68 uint8_t reserved2 [8];
78 uint8_t reserved3 [12];
136#define TMS570_FLEX_RAY_GSN0_Data_A(val) BSP_FLD32(val,16, 31)
137#define TMS570_FLEX_RAY_GSN0_Data_A_GET(reg) BSP_FLD32GET(reg,16, 31)
138#define TMS570_FLEX_RAY_GSN0_Data_A_SET(reg,val) BSP_FLD32SET(reg, val,16, 31)
141#define TMS570_FLEX_RAY_GSN0_Data_B(val) BSP_FLD32(val,0, 15)
142#define TMS570_FLEX_RAY_GSN0_Data_B_GET(reg) BSP_FLD32GET(reg,0, 15)
143#define TMS570_FLEX_RAY_GSN0_Data_B_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
148#define TMS570_FLEX_RAY_GSN1_Data_C(val) BSP_FLD32(val,16, 31)
149#define TMS570_FLEX_RAY_GSN1_Data_C_GET(reg) BSP_FLD32GET(reg,16, 31)
150#define TMS570_FLEX_RAY_GSN1_Data_C_SET(reg,val) BSP_FLD32SET(reg, val,16, 31)
153#define TMS570_FLEX_RAY_GSN1_Data_D(val) BSP_FLD32(val,0, 15)
154#define TMS570_FLEX_RAY_GSN1_Data_D_GET(reg) BSP_FLD32GET(reg,0, 15)
155#define TMS570_FLEX_RAY_GSN1_Data_D_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
160#define TMS570_FLEX_RAY_GCS_ENDVBM BSP_BIT32(31)
163#define TMS570_FLEX_RAY_GCS_ENDVBS BSP_BIT32(30)
166#define TMS570_FLEX_RAY_GCS_ENDRx(val) BSP_FLD32(val,28, 29)
167#define TMS570_FLEX_RAY_GCS_ENDRx_GET(reg) BSP_FLD32GET(reg,28, 29)
168#define TMS570_FLEX_RAY_GCS_ENDRx_SET(reg,val) BSP_FLD32SET(reg, val,28, 29)
171#define TMS570_FLEX_RAY_GCS_ENDHx(val) BSP_FLD32(val,26, 27)
172#define TMS570_FLEX_RAY_GCS_ENDHx_GET(reg) BSP_FLD32GET(reg,26, 27)
173#define TMS570_FLEX_RAY_GCS_ENDHx_SET(reg,val) BSP_FLD32SET(reg, val,26, 27)
176#define TMS570_FLEX_RAY_GCS_ENDPx(val) BSP_FLD32(val,24, 25)
177#define TMS570_FLEX_RAY_GCS_ENDPx_GET(reg) BSP_FLD32GET(reg,24, 25)
178#define TMS570_FLEX_RAY_GCS_ENDPx_SET(reg,val) BSP_FLD32SET(reg, val,24, 25)
181#define TMS570_FLEX_RAY_GCS_PRIO BSP_BIT32(21)
184#define TMS570_FLEX_RAY_GCS_PEFT BSP_BIT32(20)
187#define TMS570_FLEX_RAY_GCS_PELx(val) BSP_FLD32(val,16, 19)
188#define TMS570_FLEX_RAY_GCS_PELx_GET(reg) BSP_FLD32GET(reg,16, 19)
189#define TMS570_FLEX_RAY_GCS_PELx_SET(reg,val) BSP_FLD32SET(reg, val,16, 19)
192#define TMS570_FLEX_RAY_GCS_CETESM BSP_BIT32(14)
195#define TMS570_FLEX_RAY_GCS_CTTCC BSP_BIT32(13)
198#define TMS570_FLEX_RAY_GCS_CTTSM BSP_BIT32(12)
201#define TMS570_FLEX_RAY_GCS_ETSM BSP_BIT32(8)
204#define TMS570_FLEX_RAY_GCS_SILE BSP_BIT32(5)
207#define TMS570_FLEX_RAY_GCS_EILE BSP_BIT32(4)
210#define TMS570_FLEX_RAY_GCS_TUH BSP_BIT32(1)
213#define TMS570_FLEX_RAY_GCS_TUE BSP_BIT32(0)
218#define TMS570_FLEX_RAY_GCR_ENDVBM BSP_BIT32(31)
221#define TMS570_FLEX_RAY_GCR_ENDVBS BSP_BIT32(30)
224#define TMS570_FLEX_RAY_GCR_ENDRx(val) BSP_FLD32(val,28, 29)
225#define TMS570_FLEX_RAY_GCR_ENDRx_GET(reg) BSP_FLD32GET(reg,28, 29)
226#define TMS570_FLEX_RAY_GCR_ENDRx_SET(reg,val) BSP_FLD32SET(reg, val,28, 29)
229#define TMS570_FLEX_RAY_GCR_ENDHx(val) BSP_FLD32(val,26, 27)
230#define TMS570_FLEX_RAY_GCR_ENDHx_GET(reg) BSP_FLD32GET(reg,26, 27)
231#define TMS570_FLEX_RAY_GCR_ENDHx_SET(reg,val) BSP_FLD32SET(reg, val,26, 27)
234#define TMS570_FLEX_RAY_GCR_ENDPx(val) BSP_FLD32(val,24, 25)
235#define TMS570_FLEX_RAY_GCR_ENDPx_GET(reg) BSP_FLD32GET(reg,24, 25)
236#define TMS570_FLEX_RAY_GCR_ENDPx_SET(reg,val) BSP_FLD32SET(reg, val,24, 25)
239#define TMS570_FLEX_RAY_GCR_PRIO BSP_BIT32(21)
242#define TMS570_FLEX_RAY_GCR_PEFT BSP_BIT32(20)
245#define TMS570_FLEX_RAY_GCR_PELx(val) BSP_FLD32(val,16, 19)
246#define TMS570_FLEX_RAY_GCR_PELx_GET(reg) BSP_FLD32GET(reg,16, 19)
247#define TMS570_FLEX_RAY_GCR_PELx_SET(reg,val) BSP_FLD32SET(reg, val,16, 19)
250#define TMS570_FLEX_RAY_GCR_CETESM BSP_BIT32(14)
253#define TMS570_FLEX_RAY_GCR_CTTCC BSP_BIT32(13)
256#define TMS570_FLEX_RAY_GCR_CTTSM BSP_BIT32(12)
259#define TMS570_FLEX_RAY_GCR_ETSM BSP_BIT32(8)
262#define TMS570_FLEX_RAY_GCR_SILE BSP_BIT32(5)
265#define TMS570_FLEX_RAY_GCR_EILE BSP_BIT32(4)
268#define TMS570_FLEX_RAY_GCR_TUH BSP_BIT32(1)
271#define TMS570_FLEX_RAY_GCR_TUE BSP_BIT32(0)
276#define TMS570_FLEX_RAY_TSCB_TSMS(val) BSP_FLD32(val,16, 20)
277#define TMS570_FLEX_RAY_TSCB_TSMS_GET(reg) BSP_FLD32GET(reg,16, 20)
278#define TMS570_FLEX_RAY_TSCB_TSMS_SET(reg,val) BSP_FLD32SET(reg, val,16, 20)
281#define TMS570_FLEX_RAY_TSCB_STUH BSP_BIT32(12)
284#define TMS570_FLEX_RAY_TSCB_IDLE BSP_BIT32(8)
287#define TMS570_FLEX_RAY_TSCB_BN(val) BSP_FLD32(val,0, 6)
288#define TMS570_FLEX_RAY_TSCB_BN_GET(reg) BSP_FLD32GET(reg,0, 6)
289#define TMS570_FLEX_RAY_TSCB_BN_SET(reg,val) BSP_FLD32SET(reg, val,0, 6)
294#define TMS570_FLEX_RAY_LTBCC_BN(val) BSP_FLD32(val,0, 6)
295#define TMS570_FLEX_RAY_LTBCC_BN_GET(reg) BSP_FLD32GET(reg,0, 6)
296#define TMS570_FLEX_RAY_LTBCC_BN_SET(reg,val) BSP_FLD32SET(reg, val,0, 6)
301#define TMS570_FLEX_RAY_LTBSM_BN(val) BSP_FLD32(val,0, 6)
302#define TMS570_FLEX_RAY_LTBSM_BN_GET(reg) BSP_FLD32GET(reg,0, 6)
303#define TMS570_FLEX_RAY_LTBSM_BN_SET(reg,val) BSP_FLD32SET(reg, val,0, 6)
360#define TMS570_FLEX_RAY_TOOFF_TDIR BSP_BIT32(8)
363#define TMS570_FLEX_RAY_TOOFF_OFF(val) BSP_FLD32(val,0, 7)
364#define TMS570_FLEX_RAY_TOOFF_OFF_GET(reg) BSP_FLD32GET(reg,0, 7)
365#define TMS570_FLEX_RAY_TOOFF_OFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
370#define TMS570_FLEX_RAY_PEADR_ADR(val) BSP_FLD32(val,0, 8)
371#define TMS570_FLEX_RAY_PEADR_ADR_GET(reg) BSP_FLD32GET(reg,0, 8)
372#define TMS570_FLEX_RAY_PEADR_ADR_SET(reg,val) BSP_FLD32SET(reg, val,0, 8)
377#define TMS570_FLEX_RAY_TEIF_MPV BSP_BIT32(17)
380#define TMS570_FLEX_RAY_TEIF_PE BSP_BIT32(16)
383#define TMS570_FLEX_RAY_TEIF_RSTAT(val) BSP_FLD32(val,8, 10)
384#define TMS570_FLEX_RAY_TEIF_RSTAT_GET(reg) BSP_FLD32GET(reg,8, 10)
385#define TMS570_FLEX_RAY_TEIF_RSTAT_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
388#define TMS570_FLEX_RAY_TEIF_WSTAT(val) BSP_FLD32(val,4, 6)
389#define TMS570_FLEX_RAY_TEIF_WSTAT_GET(reg) BSP_FLD32GET(reg,4, 6)
390#define TMS570_FLEX_RAY_TEIF_WSTAT_SET(reg,val) BSP_FLD32SET(reg, val,4, 6)
393#define TMS570_FLEX_RAY_TEIF_TNR BSP_BIT32(1)
396#define TMS570_FLEX_RAY_TEIF_FAC BSP_BIT32(0)
401#define TMS570_FLEX_RAY_TEIRES_RSTATE(val) BSP_FLD32(val,8, 10)
402#define TMS570_FLEX_RAY_TEIRES_RSTATE_GET(reg) BSP_FLD32GET(reg,8, 10)
403#define TMS570_FLEX_RAY_TEIRES_RSTATE_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
406#define TMS570_FLEX_RAY_TEIRES_WSTATE(val) BSP_FLD32(val,4, 6)
407#define TMS570_FLEX_RAY_TEIRES_WSTATE_GET(reg) BSP_FLD32GET(reg,4, 6)
408#define TMS570_FLEX_RAY_TEIRES_WSTATE_SET(reg,val) BSP_FLD32SET(reg, val,4, 6)
411#define TMS570_FLEX_RAY_TEIRES_TNRE BSP_BIT32(1)
414#define TMS570_FLEX_RAY_TEIRES_FACE BSP_BIT32(0)
419#define TMS570_FLEX_RAY_TEIRER_RSTATE(val) BSP_FLD32(val,8, 10)
420#define TMS570_FLEX_RAY_TEIRER_RSTATE_GET(reg) BSP_FLD32GET(reg,8, 10)
421#define TMS570_FLEX_RAY_TEIRER_RSTATE_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
424#define TMS570_FLEX_RAY_TEIRER_WSTATE(val) BSP_FLD32(val,4, 6)
425#define TMS570_FLEX_RAY_TEIRER_WSTATE_GET(reg) BSP_FLD32GET(reg,4, 6)
426#define TMS570_FLEX_RAY_TEIRER_WSTATE_SET(reg,val) BSP_FLD32SET(reg, val,4, 6)
429#define TMS570_FLEX_RAY_TEIRER_TNRE BSP_BIT32(1)
432#define TMS570_FLEX_RAY_TEIRER_FACE BSP_BIT32(0)
This header file provides utility macros for BSPs.
Definition: reg_flex_ray.h:54