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

This header file provides TCRAM interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_tcram_t
 

Macros

#define TMS570_TCRAM_RAMCTRL_EMU_TRACE_DIS   BSP_BIT32(30)
 
#define TMS570_TCRAM_RAMCTRL_ADDR_PARITY_OVERRIDE(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_TCRAM_RAMCTRL_ADDR_PARITY_OVERRIDE_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_TCRAM_RAMCTRL_ADDR_PARITY_OVERRIDE_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_TCRAM_RAMCTRL_ADDR_PARITY_DISABLE(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_TCRAM_RAMCTRL_ADDR_PARITY_DISABLE_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_TCRAM_RAMCTRL_ADDR_PARITY_DISABLE_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_TCRAM_RAMCTRL_ECC_WR_EN   BSP_BIT32(8)
 
#define TMS570_TCRAM_RAMCTRL_ECC_DETECT_EN(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_TCRAM_RAMCTRL_ECC_DETECT_EN_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_TCRAM_RAMCTRL_ECC_DETECT_EN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_TCRAM_RAMTHRESHOLD_THRESHOLD(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_TCRAM_RAMTHRESHOLD_THRESHOLD_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_TCRAM_RAMTHRESHOLD_THRESHOLD_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_TCRAM_RAMOCCUR_SINGLE_ERROR(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_TCRAM_RAMOCCUR_SINGLE_ERROR_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_TCRAM_RAMOCCUR_SINGLE_ERROR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_TCRAM_RAMINTCTRL_SERR_EN   BSP_BIT32(0)
 
#define TMS570_TCRAM_RAMERRSTATUS_WADDR_PAR_FAIL   BSP_BIT32(9)
 
#define TMS570_TCRAM_RAMERRSTATUS_RADDR_PAR_FAIL   BSP_BIT32(8)
 
#define TMS570_TCRAM_RAMERRSTATUS_DERR   BSP_BIT32(5)
 
#define TMS570_TCRAM_RAMERRSTATUS_ADDR_COMP_LOGIC_FAIL   BSP_BIT32(4)
 
#define TMS570_TCRAM_RAMERRSTATUS_ADDR_DEC_FAIL   BSP_BIT32(2)
 
#define TMS570_TCRAM_RAMERRSTATUS_SERR   BSP_BIT32(0)
 
#define TMS570_TCRAM_RAMSERRADDR_SINGLE_ERROR_ADDRESS(val)   BSP_FLD32(val,3, 17)
 
#define TMS570_TCRAM_RAMSERRADDR_SINGLE_ERROR_ADDRESS_GET(reg)   BSP_FLD32GET(reg,3, 17)
 
#define TMS570_TCRAM_RAMSERRADDR_SINGLE_ERROR_ADDRESS_SET(reg, val)   BSP_FLD32SET(reg, val,3, 17)
 
#define TMS570_TCRAM_RAMUERRADDR_UNCORRECTABLE(val)   BSP_FLD32(val,3, 22)
 
#define TMS570_TCRAM_RAMUERRADDR_UNCORRECTABLE_GET(reg)   BSP_FLD32GET(reg,3, 22)
 
#define TMS570_TCRAM_RAMUERRADDR_UNCORRECTABLE_SET(reg, val)   BSP_FLD32SET(reg, val,3, 22)
 
#define TMS570_TCRAM_RAMTEST_TRIGGER   BSP_BIT32(8)
 
#define TMS570_TCRAM_RAMTEST_TEST_MODE(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_TCRAM_RAMTEST_TEST_MODE_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_TCRAM_RAMTEST_TEST_MODE_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_TCRAM_RAMTEST_TEST_ENABLE(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_TCRAM_RAMTEST_TEST_ENABLE_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_TCRAM_RAMTEST_TEST_ENABLE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_TCRAM_RAMADDRDECVECT_ECC_SELECT   BSP_BIT32(26)
 
#define TMS570_TCRAM_RAMADDRDECVECT_RAM_CHIP_SELECT(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_TCRAM_RAMADDRDECVECT_RAM_CHIP_SELECT_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_TCRAM_RAMADDRDECVECT_RAM_CHIP_SELECT_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_TCRAM_RAMPERADDR_ADDRESS_PARITY(val)   BSP_FLD32(val,3, 22)
 
#define TMS570_TCRAM_RAMPERADDR_ADDRESS_PARITY_GET(reg)   BSP_FLD32GET(reg,3, 22)
 
#define TMS570_TCRAM_RAMPERADDR_ADDRESS_PARITY_SET(reg, val)   BSP_FLD32SET(reg, val,3, 22)
 

Detailed Description

This header file provides TCRAM interfaces.