|
RTEMS
5.1
|
39 #ifndef LIBBSP_ARM_TMS570_DCC 40 #define LIBBSP_ARM_TMS570_DCC 61 #define TMS570_DCC_GCTRL_DONE_INT_ENA(val) BSP_FLD32(val,12, 15) 62 #define TMS570_DCC_GCTRL_DONE_INT_ENA_GET(reg) BSP_FLD32GET(reg,12, 15) 63 #define TMS570_DCC_GCTRL_DONE_INT_ENA_SET(reg,val) BSP_FLD32SET(reg, val,12, 15) 66 #define TMS570_DCC_GCTRL_SINGLE_SHOT(val) BSP_FLD32(val,8, 11) 67 #define TMS570_DCC_GCTRL_SINGLE_SHOT_GET(reg) BSP_FLD32GET(reg,8, 11) 68 #define TMS570_DCC_GCTRL_SINGLE_SHOT_SET(reg,val) BSP_FLD32SET(reg, val,8, 11) 71 #define TMS570_DCC_GCTRL_ERR_ENA(val) BSP_FLD32(val,4, 7) 72 #define TMS570_DCC_GCTRL_ERR_ENA_GET(reg) BSP_FLD32GET(reg,4, 7) 73 #define TMS570_DCC_GCTRL_ERR_ENA_SET(reg,val) BSP_FLD32SET(reg, val,4, 7) 76 #define TMS570_DCC_GCTRL_DCC_ENA(val) BSP_FLD32(val,0, 3) 77 #define TMS570_DCC_GCTRL_DCC_ENA_GET(reg) BSP_FLD32GET(reg,0, 3) 78 #define TMS570_DCC_GCTRL_DCC_ENA_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 83 #define TMS570_DCC_REV_SCHEME(val) BSP_FLD32(val,30, 31) 84 #define TMS570_DCC_REV_SCHEME_GET(reg) BSP_FLD32GET(reg,30, 31) 85 #define TMS570_DCC_REV_SCHEME_SET(reg,val) BSP_FLD32SET(reg, val,30, 31) 88 #define TMS570_DCC_REV_FUNC(val) BSP_FLD32(val,16, 27) 89 #define TMS570_DCC_REV_FUNC_GET(reg) BSP_FLD32GET(reg,16, 27) 90 #define TMS570_DCC_REV_FUNC_SET(reg,val) BSP_FLD32SET(reg, val,16, 27) 93 #define TMS570_DCC_REV_RTL(val) BSP_FLD32(val,11, 15) 94 #define TMS570_DCC_REV_RTL_GET(reg) BSP_FLD32GET(reg,11, 15) 95 #define TMS570_DCC_REV_RTL_SET(reg,val) BSP_FLD32SET(reg, val,11, 15) 98 #define TMS570_DCC_REV_MAJOR(val) BSP_FLD32(val,8, 10) 99 #define TMS570_DCC_REV_MAJOR_GET(reg) BSP_FLD32GET(reg,8, 10) 100 #define TMS570_DCC_REV_MAJOR_SET(reg,val) BSP_FLD32SET(reg, val,8, 10) 103 #define TMS570_DCC_REV_CUSTOM(val) BSP_FLD32(val,6, 7) 104 #define TMS570_DCC_REV_CUSTOM_GET(reg) BSP_FLD32GET(reg,6, 7) 105 #define TMS570_DCC_REV_CUSTOM_SET(reg,val) BSP_FLD32SET(reg, val,6, 7) 108 #define TMS570_DCC_REV_MINOR(val) BSP_FLD32(val,0, 5) 109 #define TMS570_DCC_REV_MINOR_GET(reg) BSP_FLD32GET(reg,0, 5) 110 #define TMS570_DCC_REV_MINOR_SET(reg,val) BSP_FLD32SET(reg, val,0, 5) 115 #define TMS570_DCC_CNT0SEED_COUNT0_SEED(val) BSP_FLD32(val,0, 19) 116 #define TMS570_DCC_CNT0SEED_COUNT0_SEED_GET(reg) BSP_FLD32GET(reg,0, 19) 117 #define TMS570_DCC_CNT0SEED_COUNT0_SEED_SET(reg,val) BSP_FLD32SET(reg, val,0, 19) 122 #define TMS570_DCC_VALID0SEED_VALID0_SEED(val) BSP_FLD32(val,0, 15) 123 #define TMS570_DCC_VALID0SEED_VALID0_SEED_GET(reg) BSP_FLD32GET(reg,0, 15) 124 #define TMS570_DCC_VALID0SEED_VALID0_SEED_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 129 #define TMS570_DCC_CNT1SEED_COUNT1_SEED(val) BSP_FLD32(val,0, 19) 130 #define TMS570_DCC_CNT1SEED_COUNT1_SEED_GET(reg) BSP_FLD32GET(reg,0, 19) 131 #define TMS570_DCC_CNT1SEED_COUNT1_SEED_SET(reg,val) BSP_FLD32SET(reg, val,0, 19) 136 #define TMS570_DCC_STAT_DONE_FLG BSP_BIT32(1) 139 #define TMS570_DCC_STAT_ERR_FLG BSP_BIT32(0) 144 #define TMS570_DCC_CNT0_COUNT0(val) BSP_FLD32(val,0, 19) 145 #define TMS570_DCC_CNT0_COUNT0_GET(reg) BSP_FLD32GET(reg,0, 19) 146 #define TMS570_DCC_CNT0_COUNT0_SET(reg,val) BSP_FLD32SET(reg, val,0, 19) 151 #define TMS570_DCC_VALID0_VALID0(val) BSP_FLD32(val,0, 15) 152 #define TMS570_DCC_VALID0_VALID0_GET(reg) BSP_FLD32GET(reg,0, 15) 153 #define TMS570_DCC_VALID0_VALID0_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 158 #define TMS570_DCC_CNT1_COUNT1(val) BSP_FLD32(val,0, 19) 159 #define TMS570_DCC_CNT1_COUNT1_GET(reg) BSP_FLD32GET(reg,0, 19) 160 #define TMS570_DCC_CNT1_COUNT1_SET(reg,val) BSP_FLD32SET(reg, val,0, 19) 165 #define TMS570_DCC_CNT1CLKSRC_KEY(val) BSP_FLD32(val,12, 15) 166 #define TMS570_DCC_CNT1CLKSRC_KEY_GET(reg) BSP_FLD32GET(reg,12, 15) 167 #define TMS570_DCC_CNT1CLKSRC_KEY_SET(reg,val) BSP_FLD32SET(reg, val,12, 15) 170 #define TMS570_DCC_CNT1CLKSRC_CNT1_CLKSRC(val) BSP_FLD32(val,0, 3) 171 #define TMS570_DCC_CNT1CLKSRC_CNT1_CLKSRC_GET(reg) BSP_FLD32GET(reg,0, 3) 172 #define TMS570_DCC_CNT1CLKSRC_CNT1_CLKSRC_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 177 #define TMS570_DCC_CNT0CLKSRC_CNT0_CLKSRC(val) BSP_FLD32(val,0, 3) 178 #define TMS570_DCC_CNT0CLKSRC_CNT0_CLKSRC_GET(reg) BSP_FLD32GET(reg,0, 3) 179 #define TMS570_DCC_CNT0CLKSRC_CNT0_CLKSRC_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)