|
RTEMS
5.1
|
39 #ifndef LIBBSP_ARM_TMS570_RTP 40 #define LIBBSP_ARM_TMS570_RTP 52 uint8_t reserved1 [8];
56 uint8_t reserved2 [4];
71 #define TMS570_RTP_GLBCTRL_TEST BSP_BIT32(24) 74 #define TMS570_RTP_GLBCTRL_PRESCALER(val) BSP_FLD32(val,16, 18) 75 #define TMS570_RTP_GLBCTRL_PRESCALER_GET(reg) BSP_FLD32GET(reg,16, 18) 76 #define TMS570_RTP_GLBCTRL_PRESCALER_SET(reg,val) BSP_FLD32SET(reg, val,16, 18) 79 #define TMS570_RTP_GLBCTRL_DDM_WIDTH(val) BSP_FLD32(val,12, 13) 80 #define TMS570_RTP_GLBCTRL_DDM_WIDTH_GET(reg) BSP_FLD32GET(reg,12, 13) 81 #define TMS570_RTP_GLBCTRL_DDM_WIDTH_SET(reg,val) BSP_FLD32SET(reg, val,12, 13) 84 #define TMS570_RTP_GLBCTRL_DDM_RW BSP_BIT32(11) 87 #define TMS570_RTP_GLBCTRL_TM_DDM BSP_BIT32(10) 90 #define TMS570_RTP_GLBCTRL_PW(val) BSP_FLD32(val,8, 9) 91 #define TMS570_RTP_GLBCTRL_PW_GET(reg) BSP_FLD32GET(reg,8, 9) 92 #define TMS570_RTP_GLBCTRL_PW_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 95 #define TMS570_RTP_GLBCTRL_RESET BSP_BIT32(7) 98 #define TMS570_RTP_GLBCTRL_CONTCLK BSP_BIT32(6) 101 #define TMS570_RTP_GLBCTRL_HOVF BSP_BIT32(5) 104 #define TMS570_RTP_GLBCTRL_INV_RGN BSP_BIT32(4) 107 #define TMS570_RTP_GLBCTRL_ON_OFF(val) BSP_FLD32(val,0, 3) 108 #define TMS570_RTP_GLBCTRL_ON_OFF_GET(reg) BSP_FLD32GET(reg,0, 3) 109 #define TMS570_RTP_GLBCTRL_ON_OFF_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 114 #define TMS570_RTP_TRENA_ENA4 BSP_BIT32(24) 117 #define TMS570_RTP_TRENA_ENA2 BSP_BIT32(8) 120 #define TMS570_RTP_TRENA_ENA1 BSP_BIT32(0) 125 #define TMS570_RTP_GSR_EMPTYSER BSP_BIT32(12) 128 #define TMS570_RTP_GSR_EMPTYPER BSP_BIT32(11) 131 #define TMS570_RTP_GSR_EMPTY2 BSP_BIT32(9) 134 #define TMS570_RTP_GSR_EMPTY1 BSP_BIT32(8) 137 #define TMS570_RTP_GSR_OVFPER BSP_BIT32(3) 140 #define TMS570_RTP_GSR_OVF2 BSP_BIT32(1) 143 #define TMS570_RTP_GSR_OVF1 BSP_BIT32(0) 148 #define TMS570_RTP_RAM1REGx_CPU_DMA(val) BSP_FLD32(val,29, 30) 149 #define TMS570_RTP_RAM1REGx_CPU_DMA_GET(reg) BSP_FLD32GET(reg,29, 30) 150 #define TMS570_RTP_RAM1REGx_CPU_DMA_SET(reg,val) BSP_FLD32SET(reg, val,29, 30) 153 #define TMS570_RTP_RAM1REGx_RW BSP_BIT32(28) 156 #define TMS570_RTP_RAM1REGx_BLOCKSIZE(val) BSP_FLD32(val,24, 27) 157 #define TMS570_RTP_RAM1REGx_BLOCKSIZE_GET(reg) BSP_FLD32GET(reg,24, 27) 158 #define TMS570_RTP_RAM1REGx_BLOCKSIZE_SET(reg,val) BSP_FLD32SET(reg, val,24, 27) 161 #define TMS570_RTP_RAM1REGx_STARTADDR(val) BSP_FLD32(val,0, 17) 162 #define TMS570_RTP_RAM1REGx_STARTADDR_GET(reg) BSP_FLD32GET(reg,0, 17) 163 #define TMS570_RTP_RAM1REGx_STARTADDR_SET(reg,val) BSP_FLD32SET(reg, val,0, 17) 168 #define TMS570_RTP_RAM2REGx_CPU_DMA(val) BSP_FLD32(val,29, 30) 169 #define TMS570_RTP_RAM2REGx_CPU_DMA_GET(reg) BSP_FLD32GET(reg,29, 30) 170 #define TMS570_RTP_RAM2REGx_CPU_DMA_SET(reg,val) BSP_FLD32SET(reg, val,29, 30) 173 #define TMS570_RTP_RAM2REGx_RW BSP_BIT32(28) 176 #define TMS570_RTP_RAM2REGx_BLOCKSIZE(val) BSP_FLD32(val,24, 27) 177 #define TMS570_RTP_RAM2REGx_BLOCKSIZE_GET(reg) BSP_FLD32GET(reg,24, 27) 178 #define TMS570_RTP_RAM2REGx_BLOCKSIZE_SET(reg,val) BSP_FLD32SET(reg, val,24, 27) 181 #define TMS570_RTP_RAM2REGx_STARTADDR(val) BSP_FLD32(val,0, 23) 182 #define TMS570_RTP_RAM2REGx_STARTADDR_GET(reg) BSP_FLD32GET(reg,0, 23) 183 #define TMS570_RTP_RAM2REGx_STARTADDR_SET(reg,val) BSP_FLD32SET(reg, val,0, 23) 188 #define TMS570_RTP_PERREGx_CPU_DMA(val) BSP_FLD32(val,29, 30) 189 #define TMS570_RTP_PERREGx_CPU_DMA_GET(reg) BSP_FLD32GET(reg,29, 30) 190 #define TMS570_RTP_PERREGx_CPU_DMA_SET(reg,val) BSP_FLD32SET(reg, val,29, 30) 193 #define TMS570_RTP_PERREGx_RW BSP_BIT32(28) 196 #define TMS570_RTP_PERREGx_BLOCKSIZE(val) BSP_FLD32(val,24, 27) 197 #define TMS570_RTP_PERREGx_BLOCKSIZE_GET(reg) BSP_FLD32GET(reg,24, 27) 198 #define TMS570_RTP_PERREGx_BLOCKSIZE_SET(reg,val) BSP_FLD32SET(reg, val,24, 27) 201 #define TMS570_RTP_PERREGx_STARTADDR(val) BSP_FLD32(val,0, 23) 202 #define TMS570_RTP_PERREGx_STARTADDR_GET(reg) BSP_FLD32GET(reg,0, 23) 203 #define TMS570_RTP_PERREGx_STARTADDR_SET(reg,val) BSP_FLD32SET(reg, val,0, 23) 212 #define TMS570_RTP_PCx_ENAFUNC BSP_BIT32(18) 215 #define TMS570_RTP_PCx_CLKFUNC BSP_BIT32(17) 218 #define TMS570_RTP_PCx_SYNCFUNC BSP_BIT32(16) 221 #define TMS570_RTP_PCx_DATAFUNC(val) BSP_FLD32(val,0, 15) 222 #define TMS570_RTP_PCx_DATAFUNC_GET(reg) BSP_FLD32GET(reg,0, 15) 223 #define TMS570_RTP_PCx_DATAFUNC_SET(reg,val) BSP_FLD32SET(reg, val,0, 15)