RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros
reg_flex_ray.h File Reference

This header file provides FlexRay interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_flex_ray_t
 

Macros

#define TMS570_FLEX_RAY_GSN0_Data_A(val)   BSP_FLD32(val,16, 31)
 
#define TMS570_FLEX_RAY_GSN0_Data_A_GET(reg)   BSP_FLD32GET(reg,16, 31)
 
#define TMS570_FLEX_RAY_GSN0_Data_A_SET(reg, val)   BSP_FLD32SET(reg, val,16, 31)
 
#define TMS570_FLEX_RAY_GSN0_Data_B(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_FLEX_RAY_GSN0_Data_B_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_FLEX_RAY_GSN0_Data_B_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_FLEX_RAY_GSN1_Data_C(val)   BSP_FLD32(val,16, 31)
 
#define TMS570_FLEX_RAY_GSN1_Data_C_GET(reg)   BSP_FLD32GET(reg,16, 31)
 
#define TMS570_FLEX_RAY_GSN1_Data_C_SET(reg, val)   BSP_FLD32SET(reg, val,16, 31)
 
#define TMS570_FLEX_RAY_GSN1_Data_D(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_FLEX_RAY_GSN1_Data_D_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_FLEX_RAY_GSN1_Data_D_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_FLEX_RAY_GCS_ENDVBM   BSP_BIT32(31)
 
#define TMS570_FLEX_RAY_GCS_ENDVBS   BSP_BIT32(30)
 
#define TMS570_FLEX_RAY_GCS_ENDRx(val)   BSP_FLD32(val,28, 29)
 
#define TMS570_FLEX_RAY_GCS_ENDRx_GET(reg)   BSP_FLD32GET(reg,28, 29)
 
#define TMS570_FLEX_RAY_GCS_ENDRx_SET(reg, val)   BSP_FLD32SET(reg, val,28, 29)
 
#define TMS570_FLEX_RAY_GCS_ENDHx(val)   BSP_FLD32(val,26, 27)
 
#define TMS570_FLEX_RAY_GCS_ENDHx_GET(reg)   BSP_FLD32GET(reg,26, 27)
 
#define TMS570_FLEX_RAY_GCS_ENDHx_SET(reg, val)   BSP_FLD32SET(reg, val,26, 27)
 
#define TMS570_FLEX_RAY_GCS_ENDPx(val)   BSP_FLD32(val,24, 25)
 
#define TMS570_FLEX_RAY_GCS_ENDPx_GET(reg)   BSP_FLD32GET(reg,24, 25)
 
#define TMS570_FLEX_RAY_GCS_ENDPx_SET(reg, val)   BSP_FLD32SET(reg, val,24, 25)
 
#define TMS570_FLEX_RAY_GCS_PRIO   BSP_BIT32(21)
 
#define TMS570_FLEX_RAY_GCS_PEFT   BSP_BIT32(20)
 
#define TMS570_FLEX_RAY_GCS_PELx(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_FLEX_RAY_GCS_PELx_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_FLEX_RAY_GCS_PELx_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_FLEX_RAY_GCS_CETESM   BSP_BIT32(14)
 
#define TMS570_FLEX_RAY_GCS_CTTCC   BSP_BIT32(13)
 
#define TMS570_FLEX_RAY_GCS_CTTSM   BSP_BIT32(12)
 
#define TMS570_FLEX_RAY_GCS_ETSM   BSP_BIT32(8)
 
#define TMS570_FLEX_RAY_GCS_SILE   BSP_BIT32(5)
 
#define TMS570_FLEX_RAY_GCS_EILE   BSP_BIT32(4)
 
#define TMS570_FLEX_RAY_GCS_TUH   BSP_BIT32(1)
 
#define TMS570_FLEX_RAY_GCS_TUE   BSP_BIT32(0)
 
#define TMS570_FLEX_RAY_GCR_ENDVBM   BSP_BIT32(31)
 
#define TMS570_FLEX_RAY_GCR_ENDVBS   BSP_BIT32(30)
 
#define TMS570_FLEX_RAY_GCR_ENDRx(val)   BSP_FLD32(val,28, 29)
 
#define TMS570_FLEX_RAY_GCR_ENDRx_GET(reg)   BSP_FLD32GET(reg,28, 29)
 
#define TMS570_FLEX_RAY_GCR_ENDRx_SET(reg, val)   BSP_FLD32SET(reg, val,28, 29)
 
#define TMS570_FLEX_RAY_GCR_ENDHx(val)   BSP_FLD32(val,26, 27)
 
#define TMS570_FLEX_RAY_GCR_ENDHx_GET(reg)   BSP_FLD32GET(reg,26, 27)
 
#define TMS570_FLEX_RAY_GCR_ENDHx_SET(reg, val)   BSP_FLD32SET(reg, val,26, 27)
 
#define TMS570_FLEX_RAY_GCR_ENDPx(val)   BSP_FLD32(val,24, 25)
 
#define TMS570_FLEX_RAY_GCR_ENDPx_GET(reg)   BSP_FLD32GET(reg,24, 25)
 
#define TMS570_FLEX_RAY_GCR_ENDPx_SET(reg, val)   BSP_FLD32SET(reg, val,24, 25)
 
#define TMS570_FLEX_RAY_GCR_PRIO   BSP_BIT32(21)
 
#define TMS570_FLEX_RAY_GCR_PEFT   BSP_BIT32(20)
 
#define TMS570_FLEX_RAY_GCR_PELx(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_FLEX_RAY_GCR_PELx_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_FLEX_RAY_GCR_PELx_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_FLEX_RAY_GCR_CETESM   BSP_BIT32(14)
 
#define TMS570_FLEX_RAY_GCR_CTTCC   BSP_BIT32(13)
 
#define TMS570_FLEX_RAY_GCR_CTTSM   BSP_BIT32(12)
 
#define TMS570_FLEX_RAY_GCR_ETSM   BSP_BIT32(8)
 
#define TMS570_FLEX_RAY_GCR_SILE   BSP_BIT32(5)
 
#define TMS570_FLEX_RAY_GCR_EILE   BSP_BIT32(4)
 
#define TMS570_FLEX_RAY_GCR_TUH   BSP_BIT32(1)
 
#define TMS570_FLEX_RAY_GCR_TUE   BSP_BIT32(0)
 
#define TMS570_FLEX_RAY_TSCB_TSMS(val)   BSP_FLD32(val,16, 20)
 
#define TMS570_FLEX_RAY_TSCB_TSMS_GET(reg)   BSP_FLD32GET(reg,16, 20)
 
#define TMS570_FLEX_RAY_TSCB_TSMS_SET(reg, val)   BSP_FLD32SET(reg, val,16, 20)
 
#define TMS570_FLEX_RAY_TSCB_STUH   BSP_BIT32(12)
 
#define TMS570_FLEX_RAY_TSCB_IDLE   BSP_BIT32(8)
 
#define TMS570_FLEX_RAY_TSCB_BN(val)   BSP_FLD32(val,0, 6)
 
#define TMS570_FLEX_RAY_TSCB_BN_GET(reg)   BSP_FLD32GET(reg,0, 6)
 
#define TMS570_FLEX_RAY_TSCB_BN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 6)
 
#define TMS570_FLEX_RAY_LTBCC_BN(val)   BSP_FLD32(val,0, 6)
 
#define TMS570_FLEX_RAY_LTBCC_BN_GET(reg)   BSP_FLD32GET(reg,0, 6)
 
#define TMS570_FLEX_RAY_LTBCC_BN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 6)
 
#define TMS570_FLEX_RAY_LTBSM_BN(val)   BSP_FLD32(val,0, 6)
 
#define TMS570_FLEX_RAY_LTBSM_BN_GET(reg)   BSP_FLD32GET(reg,0, 6)
 
#define TMS570_FLEX_RAY_LTBSM_BN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 6)
 
#define TMS570_FLEX_RAY_TOOFF_TDIR   BSP_BIT32(8)
 
#define TMS570_FLEX_RAY_TOOFF_OFF(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_FLEX_RAY_TOOFF_OFF_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_FLEX_RAY_TOOFF_OFF_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_FLEX_RAY_PEADR_ADR(val)   BSP_FLD32(val,0, 8)
 
#define TMS570_FLEX_RAY_PEADR_ADR_GET(reg)   BSP_FLD32GET(reg,0, 8)
 
#define TMS570_FLEX_RAY_PEADR_ADR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 8)
 
#define TMS570_FLEX_RAY_TEIF_MPV   BSP_BIT32(17)
 
#define TMS570_FLEX_RAY_TEIF_PE   BSP_BIT32(16)
 
#define TMS570_FLEX_RAY_TEIF_RSTAT(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_FLEX_RAY_TEIF_RSTAT_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_FLEX_RAY_TEIF_RSTAT_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_FLEX_RAY_TEIF_WSTAT(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_FLEX_RAY_TEIF_WSTAT_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_FLEX_RAY_TEIF_WSTAT_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_FLEX_RAY_TEIF_TNR   BSP_BIT32(1)
 
#define TMS570_FLEX_RAY_TEIF_FAC   BSP_BIT32(0)
 
#define TMS570_FLEX_RAY_TEIRES_RSTATE(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_FLEX_RAY_TEIRES_RSTATE_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_FLEX_RAY_TEIRES_RSTATE_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_FLEX_RAY_TEIRES_WSTATE(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_FLEX_RAY_TEIRES_WSTATE_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_FLEX_RAY_TEIRES_WSTATE_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_FLEX_RAY_TEIRES_TNRE   BSP_BIT32(1)
 
#define TMS570_FLEX_RAY_TEIRES_FACE   BSP_BIT32(0)
 
#define TMS570_FLEX_RAY_TEIRER_RSTATE(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_FLEX_RAY_TEIRER_RSTATE_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_FLEX_RAY_TEIRER_RSTATE_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_FLEX_RAY_TEIRER_WSTATE(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_FLEX_RAY_TEIRER_WSTATE_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_FLEX_RAY_TEIRER_WSTATE_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_FLEX_RAY_TEIRER_TNRE   BSP_BIT32(1)
 
#define TMS570_FLEX_RAY_TEIRER_FACE   BSP_BIT32(0)
 

Detailed Description

This header file provides FlexRay interfaces.