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

This header file provides STC interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_stc_t
 

Macros

#define TMS570_STC_STCGCR0_INTCOUNT(val)   BSP_FLD32(val,16, 31)
 
#define TMS570_STC_STCGCR0_INTCOUNT_GET(reg)   BSP_FLD32GET(reg,16, 31)
 
#define TMS570_STC_STCGCR0_INTCOUNT_SET(reg, val)   BSP_FLD32SET(reg, val,16, 31)
 
#define TMS570_STC_STCGCR0_RS_CNT   BSP_BIT32(0)
 
#define TMS570_STC_STCGCR1_STC_ENA(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_STC_STCGCR1_STC_ENA_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_STC_STCGCR1_STC_ENA_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_STC_STCCICR_N(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_STC_STCCICR_N_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_STC_STCCICR_N_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_STC_STCGSTAT_TEST_FAIL   BSP_BIT32(1)
 
#define TMS570_STC_STCGSTAT_TEST_DONE   BSP_BIT32(0)
 
#define TMS570_STC_STCFSTAT_TO_ERR   BSP_BIT32(2)
 
#define TMS570_STC_STCFSTAT_CPU2_FAIL   BSP_BIT32(1)
 
#define TMS570_STC_STCFSTAT_CPU1_FAIL   BSP_BIT32(0)
 
#define TMS570_STC_STCSCSCR_FAULT_INS   BSP_BIT32(4)
 
#define TMS570_STC_STCSCSCR_SELF_CHECK_KEY(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_STC_STCSCSCR_SELF_CHECK_KEY_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_STC_STCSCSCR_SELF_CHECK_KEY_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 

Detailed Description

This header file provides STC interfaces.