39#ifndef LIBBSP_ARM_TMS570_FLEX_RAY
40#define LIBBSP_ARM_TMS570_FLEX_RAY
47 uint8_t reserved1 [8];
58 uint8_t reserved2 [8];
68 uint8_t reserved3 [12];
126#define TMS570_FLEX_RAY_GSN0_Data_A(val) BSP_FLD32(val,16, 31)
127#define TMS570_FLEX_RAY_GSN0_Data_A_GET(reg) BSP_FLD32GET(reg,16, 31)
128#define TMS570_FLEX_RAY_GSN0_Data_A_SET(reg,val) BSP_FLD32SET(reg, val,16, 31)
131#define TMS570_FLEX_RAY_GSN0_Data_B(val) BSP_FLD32(val,0, 15)
132#define TMS570_FLEX_RAY_GSN0_Data_B_GET(reg) BSP_FLD32GET(reg,0, 15)
133#define TMS570_FLEX_RAY_GSN0_Data_B_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
138#define TMS570_FLEX_RAY_GSN1_Data_C(val) BSP_FLD32(val,16, 31)
139#define TMS570_FLEX_RAY_GSN1_Data_C_GET(reg) BSP_FLD32GET(reg,16, 31)
140#define TMS570_FLEX_RAY_GSN1_Data_C_SET(reg,val) BSP_FLD32SET(reg, val,16, 31)
143#define TMS570_FLEX_RAY_GSN1_Data_D(val) BSP_FLD32(val,0, 15)
144#define TMS570_FLEX_RAY_GSN1_Data_D_GET(reg) BSP_FLD32GET(reg,0, 15)
145#define TMS570_FLEX_RAY_GSN1_Data_D_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)
150#define TMS570_FLEX_RAY_GCS_ENDVBM BSP_BIT32(31)
153#define TMS570_FLEX_RAY_GCS_ENDVBS BSP_BIT32(30)
156#define TMS570_FLEX_RAY_GCS_ENDRx(val) BSP_FLD32(val,28, 29)
157#define TMS570_FLEX_RAY_GCS_ENDRx_GET(reg) BSP_FLD32GET(reg,28, 29)
158#define TMS570_FLEX_RAY_GCS_ENDRx_SET(reg,val) BSP_FLD32SET(reg, val,28, 29)
161#define TMS570_FLEX_RAY_GCS_ENDHx(val) BSP_FLD32(val,26, 27)
162#define TMS570_FLEX_RAY_GCS_ENDHx_GET(reg) BSP_FLD32GET(reg,26, 27)
163#define TMS570_FLEX_RAY_GCS_ENDHx_SET(reg,val) BSP_FLD32SET(reg, val,26, 27)
166#define TMS570_FLEX_RAY_GCS_ENDPx(val) BSP_FLD32(val,24, 25)
167#define TMS570_FLEX_RAY_GCS_ENDPx_GET(reg) BSP_FLD32GET(reg,24, 25)
168#define TMS570_FLEX_RAY_GCS_ENDPx_SET(reg,val) BSP_FLD32SET(reg, val,24, 25)
171#define TMS570_FLEX_RAY_GCS_PRIO BSP_BIT32(21)
174#define TMS570_FLEX_RAY_GCS_PEFT BSP_BIT32(20)
177#define TMS570_FLEX_RAY_GCS_PELx(val) BSP_FLD32(val,16, 19)
178#define TMS570_FLEX_RAY_GCS_PELx_GET(reg) BSP_FLD32GET(reg,16, 19)
179#define TMS570_FLEX_RAY_GCS_PELx_SET(reg,val) BSP_FLD32SET(reg, val,16, 19)
182#define TMS570_FLEX_RAY_GCS_CETESM BSP_BIT32(14)
185#define TMS570_FLEX_RAY_GCS_CTTCC BSP_BIT32(13)
188#define TMS570_FLEX_RAY_GCS_CTTSM BSP_BIT32(12)
191#define TMS570_FLEX_RAY_GCS_ETSM BSP_BIT32(8)
194#define TMS570_FLEX_RAY_GCS_SILE BSP_BIT32(5)
197#define TMS570_FLEX_RAY_GCS_EILE BSP_BIT32(4)
200#define TMS570_FLEX_RAY_GCS_TUH BSP_BIT32(1)
203#define TMS570_FLEX_RAY_GCS_TUE BSP_BIT32(0)
208#define TMS570_FLEX_RAY_GCR_ENDVBM BSP_BIT32(31)
211#define TMS570_FLEX_RAY_GCR_ENDVBS BSP_BIT32(30)
214#define TMS570_FLEX_RAY_GCR_ENDRx(val) BSP_FLD32(val,28, 29)
215#define TMS570_FLEX_RAY_GCR_ENDRx_GET(reg) BSP_FLD32GET(reg,28, 29)
216#define TMS570_FLEX_RAY_GCR_ENDRx_SET(reg,val) BSP_FLD32SET(reg, val,28, 29)
219#define TMS570_FLEX_RAY_GCR_ENDHx(val) BSP_FLD32(val,26, 27)
220#define TMS570_FLEX_RAY_GCR_ENDHx_GET(reg) BSP_FLD32GET(reg,26, 27)
221#define TMS570_FLEX_RAY_GCR_ENDHx_SET(reg,val) BSP_FLD32SET(reg, val,26, 27)
224#define TMS570_FLEX_RAY_GCR_ENDPx(val) BSP_FLD32(val,24, 25)
225#define TMS570_FLEX_RAY_GCR_ENDPx_GET(reg) BSP_FLD32GET(reg,24, 25)
226#define TMS570_FLEX_RAY_GCR_ENDPx_SET(reg,val) BSP_FLD32SET(reg, val,24, 25)
229#define TMS570_FLEX_RAY_GCR_PRIO BSP_BIT32(21)
232#define TMS570_FLEX_RAY_GCR_PEFT BSP_BIT32(20)
235#define TMS570_FLEX_RAY_GCR_PELx(val) BSP_FLD32(val,16, 19)
236#define TMS570_FLEX_RAY_GCR_PELx_GET(reg) BSP_FLD32GET(reg,16, 19)
237#define TMS570_FLEX_RAY_GCR_PELx_SET(reg,val) BSP_FLD32SET(reg, val,16, 19)
240#define TMS570_FLEX_RAY_GCR_CETESM BSP_BIT32(14)
243#define TMS570_FLEX_RAY_GCR_CTTCC BSP_BIT32(13)
246#define TMS570_FLEX_RAY_GCR_CTTSM BSP_BIT32(12)
249#define TMS570_FLEX_RAY_GCR_ETSM BSP_BIT32(8)
252#define TMS570_FLEX_RAY_GCR_SILE BSP_BIT32(5)
255#define TMS570_FLEX_RAY_GCR_EILE BSP_BIT32(4)
258#define TMS570_FLEX_RAY_GCR_TUH BSP_BIT32(1)
261#define TMS570_FLEX_RAY_GCR_TUE BSP_BIT32(0)
266#define TMS570_FLEX_RAY_TSCB_TSMS(val) BSP_FLD32(val,16, 20)
267#define TMS570_FLEX_RAY_TSCB_TSMS_GET(reg) BSP_FLD32GET(reg,16, 20)
268#define TMS570_FLEX_RAY_TSCB_TSMS_SET(reg,val) BSP_FLD32SET(reg, val,16, 20)
271#define TMS570_FLEX_RAY_TSCB_STUH BSP_BIT32(12)
274#define TMS570_FLEX_RAY_TSCB_IDLE BSP_BIT32(8)
277#define TMS570_FLEX_RAY_TSCB_BN(val) BSP_FLD32(val,0, 6)
278#define TMS570_FLEX_RAY_TSCB_BN_GET(reg) BSP_FLD32GET(reg,0, 6)
279#define TMS570_FLEX_RAY_TSCB_BN_SET(reg,val) BSP_FLD32SET(reg, val,0, 6)
284#define TMS570_FLEX_RAY_LTBCC_BN(val) BSP_FLD32(val,0, 6)
285#define TMS570_FLEX_RAY_LTBCC_BN_GET(reg) BSP_FLD32GET(reg,0, 6)
286#define TMS570_FLEX_RAY_LTBCC_BN_SET(reg,val) BSP_FLD32SET(reg, val,0, 6)
291#define TMS570_FLEX_RAY_LTBSM_BN(val) BSP_FLD32(val,0, 6)
292#define TMS570_FLEX_RAY_LTBSM_BN_GET(reg) BSP_FLD32GET(reg,0, 6)
293#define TMS570_FLEX_RAY_LTBSM_BN_SET(reg,val) BSP_FLD32SET(reg, val,0, 6)
350#define TMS570_FLEX_RAY_TOOFF_TDIR BSP_BIT32(8)
353#define TMS570_FLEX_RAY_TOOFF_OFF(val) BSP_FLD32(val,0, 7)
354#define TMS570_FLEX_RAY_TOOFF_OFF_GET(reg) BSP_FLD32GET(reg,0, 7)
355#define TMS570_FLEX_RAY_TOOFF_OFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 7)
360#define TMS570_FLEX_RAY_PEADR_ADR(val) BSP_FLD32(val,0, 8)
361#define TMS570_FLEX_RAY_PEADR_ADR_GET(reg) BSP_FLD32GET(reg,0, 8)
362#define TMS570_FLEX_RAY_PEADR_ADR_SET(reg,val) BSP_FLD32SET(reg, val,0, 8)
367#define TMS570_FLEX_RAY_TEIF_MPV BSP_BIT32(17)
370#define TMS570_FLEX_RAY_TEIF_PE BSP_BIT32(16)
373#define TMS570_FLEX_RAY_TEIF_RSTAT(val) BSP_FLD32(val,8, 10)
374#define TMS570_FLEX_RAY_TEIF_RSTAT_GET(reg) BSP_FLD32GET(reg,8, 10)
375#define TMS570_FLEX_RAY_TEIF_RSTAT_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
378#define TMS570_FLEX_RAY_TEIF_WSTAT(val) BSP_FLD32(val,4, 6)
379#define TMS570_FLEX_RAY_TEIF_WSTAT_GET(reg) BSP_FLD32GET(reg,4, 6)
380#define TMS570_FLEX_RAY_TEIF_WSTAT_SET(reg,val) BSP_FLD32SET(reg, val,4, 6)
383#define TMS570_FLEX_RAY_TEIF_TNR BSP_BIT32(1)
386#define TMS570_FLEX_RAY_TEIF_FAC BSP_BIT32(0)
391#define TMS570_FLEX_RAY_TEIRES_RSTATE(val) BSP_FLD32(val,8, 10)
392#define TMS570_FLEX_RAY_TEIRES_RSTATE_GET(reg) BSP_FLD32GET(reg,8, 10)
393#define TMS570_FLEX_RAY_TEIRES_RSTATE_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
396#define TMS570_FLEX_RAY_TEIRES_WSTATE(val) BSP_FLD32(val,4, 6)
397#define TMS570_FLEX_RAY_TEIRES_WSTATE_GET(reg) BSP_FLD32GET(reg,4, 6)
398#define TMS570_FLEX_RAY_TEIRES_WSTATE_SET(reg,val) BSP_FLD32SET(reg, val,4, 6)
401#define TMS570_FLEX_RAY_TEIRES_TNRE BSP_BIT32(1)
404#define TMS570_FLEX_RAY_TEIRES_FACE BSP_BIT32(0)
409#define TMS570_FLEX_RAY_TEIRER_RSTATE(val) BSP_FLD32(val,8, 10)
410#define TMS570_FLEX_RAY_TEIRER_RSTATE_GET(reg) BSP_FLD32GET(reg,8, 10)
411#define TMS570_FLEX_RAY_TEIRER_RSTATE_SET(reg,val) BSP_FLD32SET(reg, val,8, 10)
414#define TMS570_FLEX_RAY_TEIRER_WSTATE(val) BSP_FLD32(val,4, 6)
415#define TMS570_FLEX_RAY_TEIRER_WSTATE_GET(reg) BSP_FLD32GET(reg,4, 6)
416#define TMS570_FLEX_RAY_TEIRER_WSTATE_SET(reg,val) BSP_FLD32SET(reg, val,4, 6)
419#define TMS570_FLEX_RAY_TEIRER_TNRE BSP_BIT32(1)
422#define TMS570_FLEX_RAY_TEIRER_FACE BSP_BIT32(0)
This header file provides utility macros for BSPs.
Definition: reg_flex_ray.h:44