|
RTEMS
5.1
|
39 #ifndef LIBBSP_ARM_TMS570_RTI 40 #define LIBBSP_ARM_TMS570_RTI 53 uint8_t reserved1 [4];
68 uint8_t reserved2 [8];
72 uint8_t reserved3 [4];
80 uint32_t INTCLRENABLE;
122 #define TMS570_RTI_GCTRL_NTUSEL(val) BSP_FLD32(val,16, 19) 123 #define TMS570_RTI_GCTRL_NTUSEL_GET(reg) BSP_FLD32GET(reg,16, 19) 124 #define TMS570_RTI_GCTRL_NTUSEL_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 127 #define TMS570_RTI_GCTRL_COS BSP_BIT32(15) 130 #define TMS570_RTI_GCTRL_CNT1EN BSP_BIT32(1) 133 #define TMS570_RTI_GCTRL_CNT0EN BSP_BIT32(0) 138 #define TMS570_RTI_TBCTRL_INC BSP_BIT32(1) 141 #define TMS570_RTI_TBCTRL_TBEXT BSP_BIT32(0) 146 #define TMS570_RTI_CAPCTRL_CAPCNTR1 BSP_BIT32(1) 149 #define TMS570_RTI_CAPCTRL_CAPCNTR0 BSP_BIT32(0) 154 #define TMS570_RTI_COMPCTRL_COMPSEL3 BSP_BIT32(12) 157 #define TMS570_RTI_COMPCTRL_COMPSEL2 BSP_BIT32(8) 160 #define TMS570_RTI_COMPCTRL_COMPSEL1 BSP_BIT32(4) 163 #define TMS570_RTI_COMPCTRL_COMPSEL0 BSP_BIT32(0) 176 #define TMS570_RTI_SETINTENA_SETOVL1INT BSP_BIT32(18) 179 #define TMS570_RTI_SETINTENA_SETOVL0INT BSP_BIT32(17) 182 #define TMS570_RTI_SETINTENA_SETTBINT BSP_BIT32(16) 185 #define TMS570_RTI_SETINTENA_SETDMA3 BSP_BIT32(11) 188 #define TMS570_RTI_SETINTENA_SETDMA2 BSP_BIT32(10) 191 #define TMS570_RTI_SETINTENA_SETDMA1 BSP_BIT32(9) 194 #define TMS570_RTI_SETINTENA_SETDMA0 BSP_BIT32(8) 197 #define TMS570_RTI_SETINTENA_SETINT3 BSP_BIT32(3) 200 #define TMS570_RTI_SETINTENA_SETINT2 BSP_BIT32(2) 203 #define TMS570_RTI_SETINTENA_SETINT1 BSP_BIT32(1) 206 #define TMS570_RTI_SETINTENA_SETINT0 BSP_BIT32(0) 211 #define TMS570_RTI_CLEARINTENA_CLEAROVL1INT BSP_BIT32(18) 214 #define TMS570_RTI_CLEARINTENA_CLEAROVL0INT BSP_BIT32(17) 217 #define TMS570_RTI_CLEARINTENA_CLEARTBINT BSP_BIT32(16) 220 #define TMS570_RTI_CLEARINTENA_CLEARDMA3 BSP_BIT32(11) 223 #define TMS570_RTI_CLEARINTENA_CLEARDMA2 BSP_BIT32(10) 226 #define TMS570_RTI_CLEARINTENA_CLEARDMA1 BSP_BIT32(9) 229 #define TMS570_RTI_CLEARINTENA_CLEARDMA0 BSP_BIT32(8) 232 #define TMS570_RTI_CLEARINTENA_CLEARINT3 BSP_BIT32(3) 235 #define TMS570_RTI_CLEARINTENA_CLEARINT2 BSP_BIT32(2) 238 #define TMS570_RTI_CLEARINTENA_CLEARINT1 BSP_BIT32(1) 241 #define TMS570_RTI_CLEARINTENA_CLEARINT0 BSP_BIT32(0) 246 #define TMS570_RTI_INTFLAG_OVL1INT BSP_BIT32(18) 249 #define TMS570_RTI_INTFLAG_OVL0INT BSP_BIT32(17) 252 #define TMS570_RTI_INTFLAG_TBINT BSP_BIT32(16) 255 #define TMS570_RTI_INTFLAG_INT3 BSP_BIT32(3) 258 #define TMS570_RTI_INTFLAG_INT2 BSP_BIT32(2) 261 #define TMS570_RTI_INTFLAG_INT1 BSP_BIT32(1) 264 #define TMS570_RTI_INTFLAG_INT0 BSP_BIT32(0) 273 #define TMS570_RTI_DWDPRLD_DWDPRLD(val) BSP_FLD32(val,0, 15) 274 #define TMS570_RTI_DWDPRLD_DWDPRLD_GET(reg) BSP_FLD32GET(reg,0, 15) 275 #define TMS570_RTI_DWDPRLD_DWDPRLD_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 280 #define TMS570_RTI_WDSTATUS_DWWD_ST BSP_BIT32(5) 283 #define TMS570_RTI_WDSTATUS_END_TIME_VIOL BSP_BIT32(4) 286 #define TMS570_RTI_WDSTATUS_START_TIME_VIOL BSP_BIT32(3) 289 #define TMS570_RTI_WDSTATUS_KEY_ST BSP_BIT32(2) 292 #define TMS570_RTI_WDSTATUS_DWD_ST BSP_BIT32(1) 297 #define TMS570_RTI_WDKEY_WDKEY(val) BSP_FLD32(val,0, 15) 298 #define TMS570_RTI_WDKEY_WDKEY_GET(reg) BSP_FLD32GET(reg,0, 15) 299 #define TMS570_RTI_WDKEY_WDKEY_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 304 #define TMS570_RTI_DWDCNTR_DWDCNTR(val) BSP_FLD32(val,0, 24) 305 #define TMS570_RTI_DWDCNTR_DWDCNTR_GET(reg) BSP_FLD32GET(reg,0, 24) 306 #define TMS570_RTI_DWDCNTR_DWDCNTR_SET(reg,val) BSP_FLD32SET(reg, val,0, 24) 311 #define TMS570_RTI_WWDRXNCTRL_WWDRXN(val) BSP_FLD32(val,0, 3) 312 #define TMS570_RTI_WWDRXNCTRL_WWDRXN_GET(reg) BSP_FLD32GET(reg,0, 3) 313 #define TMS570_RTI_WWDRXNCTRL_WWDRXN_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 322 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE3(val) BSP_FLD32(val,24, 27) 323 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE3_GET(reg) BSP_FLD32GET(reg,24, 27) 324 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE3_SET(reg,val) BSP_FLD32SET(reg, val,24, 27) 327 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE2(val) BSP_FLD32(val,16, 19) 328 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE2_GET(reg) BSP_FLD32GET(reg,16, 19) 329 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE2_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 332 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE1(val) BSP_FLD32(val,8, 11) 333 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE1_GET(reg) BSP_FLD32GET(reg,8, 11) 334 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE1_SET(reg,val) BSP_FLD32SET(reg, val,8, 11) 337 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE0(val) BSP_FLD32(val,0, 3) 338 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE0_GET(reg) BSP_FLD32GET(reg,0, 3) 339 #define TMS570_RTI_INTCLRENABLE_INTCLRENABLE0_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)