|
RTEMS
5.1
|
39 #ifndef LIBBSP_ARM_TMS570_STC 40 #define LIBBSP_ARM_TMS570_STC 52 uint32_t CPU1_CURMISR3;
53 uint32_t CPU1_CURMISR2;
54 uint32_t CPU1_CURMISR1;
55 uint32_t CPU1_CURMISR0;
56 uint32_t CPU2_CURMISR3;
57 uint32_t CPU2_CURMISR2;
58 uint32_t CPU2_CURMISR1;
59 uint32_t CPU2_CURMISR0;
66 #define TMS570_STC_STCGCR0_INTCOUNT(val) BSP_FLD32(val,16, 31) 67 #define TMS570_STC_STCGCR0_INTCOUNT_GET(reg) BSP_FLD32GET(reg,16, 31) 68 #define TMS570_STC_STCGCR0_INTCOUNT_SET(reg,val) BSP_FLD32SET(reg, val,16, 31) 71 #define TMS570_STC_STCGCR0_RS_CNT BSP_BIT32(0) 76 #define TMS570_STC_STCGCR1_STC_ENA(val) BSP_FLD32(val,0, 3) 77 #define TMS570_STC_STCGCR1_STC_ENA_GET(reg) BSP_FLD32GET(reg,0, 3) 78 #define TMS570_STC_STCGCR1_STC_ENA_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 91 #define TMS570_STC_STCCICR_N(val) BSP_FLD32(val,0, 15) 92 #define TMS570_STC_STCCICR_N_GET(reg) BSP_FLD32GET(reg,0, 15) 93 #define TMS570_STC_STCCICR_N_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 98 #define TMS570_STC_STCGSTAT_TEST_FAIL BSP_BIT32(1) 101 #define TMS570_STC_STCGSTAT_TEST_DONE BSP_BIT32(0) 106 #define TMS570_STC_STCFSTAT_TO_ERR BSP_BIT32(2) 109 #define TMS570_STC_STCFSTAT_CPU2_FAIL BSP_BIT32(1) 112 #define TMS570_STC_STCFSTAT_CPU1_FAIL BSP_BIT32(0) 149 #define TMS570_STC_STCSCSCR_FAULT_INS BSP_BIT32(4) 152 #define TMS570_STC_STCSCSCR_SELF_CHECK_KEY(val) BSP_FLD32(val,0, 3) 153 #define TMS570_STC_STCSCSCR_SELF_CHECK_KEY_GET(reg) BSP_FLD32GET(reg,0, 3) 154 #define TMS570_STC_STCSCSCR_SELF_CHECK_KEY_SET(reg,val) BSP_FLD32SET(reg, val,0, 3)