RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Macros
reg_dmm.h File Reference

This header file provides DMM interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_dmm_t
 

Macros

#define TMS570_DMM_GLBCTRL_BUSY   BSP_BIT32(24)
 
#define TMS570_DMM_GLBCTRL_CONTCLK   BSP_BIT32(18)
 
#define TMS570_DMM_GLBCTRL_COS   BSP_BIT32(17)
 
#define TMS570_DMM_GLBCTRL_RESET   BSP_BIT32(16)
 
#define TMS570_DMM_GLBCTRL_DDM_WIDTH(val)   BSP_FLD32(val,9, 10)
 
#define TMS570_DMM_GLBCTRL_DDM_WIDTH_GET(reg)   BSP_FLD32GET(reg,9, 10)
 
#define TMS570_DMM_GLBCTRL_DDM_WIDTH_SET(reg, val)   BSP_FLD32SET(reg, val,9, 10)
 
#define TMS570_DMM_GLBCTRL_TM_DMM   BSP_BIT32(8)
 
#define TMS570_DMM_GLBCTRL_ON_OFF(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DMM_GLBCTRL_ON_OFF_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DMM_GLBCTRL_ON_OFF_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DMM_INTSET_PROG_BUFF   BSP_BIT32(17)
 
#define TMS570_DMM_INTSET_EO_BUFF   BSP_BIT32(16)
 
#define TMS570_DMM_INTSET_DEST3REG2   BSP_BIT32(15)
 
#define TMS570_DMM_INTSET_DEST3REG1   BSP_BIT32(14)
 
#define TMS570_DMM_INTSET_DEST2REG2   BSP_BIT32(13)
 
#define TMS570_DMM_INTSET_DEST2REG1   BSP_BIT32(12)
 
#define TMS570_DMM_INTSET_DEST1REG2   BSP_BIT32(11)
 
#define TMS570_DMM_INTSET_DEST1REG1   BSP_BIT32(10)
 
#define TMS570_DMM_INTSET_DEST0REG2   BSP_BIT32(9)
 
#define TMS570_DMM_INTSET_DEST0REG1   BSP_BIT32(8)
 
#define TMS570_DMM_INTSET_BUSERROR   BSP_BIT32(7)
 
#define TMS570_DMM_INTSET_BUFF_OVF   BSP_BIT32(6)
 
#define TMS570_DMM_INTSET_SRC_OVF   BSP_BIT32(5)
 
#define TMS570_DMM_INTSET_DEST3_ERR   BSP_BIT32(4)
 
#define TMS570_DMM_INTSET_DEST2_ERR   BSP_BIT32(3)
 
#define TMS570_DMM_INTSET_DEST1_ERR   BSP_BIT32(2)
 
#define TMS570_DMM_INTSET_DEST0_ERR   BSP_BIT32(1)
 
#define TMS570_DMM_INTSET_PACKET_ERR_INT   BSP_BIT32(0)
 
#define TMS570_DMM_INTCLR_PROG_BUFF   BSP_BIT32(17)
 
#define TMS570_DMM_INTCLR_EO_BUFF   BSP_BIT32(16)
 
#define TMS570_DMM_INTCLR_DEST3REG2   BSP_BIT32(15)
 
#define TMS570_DMM_INTCLR_DEST3REG1   BSP_BIT32(14)
 
#define TMS570_DMM_INTCLR_DEST2REG2   BSP_BIT32(13)
 
#define TMS570_DMM_INTCLR_DEST2REG1   BSP_BIT32(12)
 
#define TMS570_DMM_INTCLR_DEST1REG2   BSP_BIT32(11)
 
#define TMS570_DMM_INTCLR_DEST1REG1   BSP_BIT32(10)
 
#define TMS570_DMM_INTCLR_DEST0REG2   BSP_BIT32(9)
 
#define TMS570_DMM_INTCLR_DEST0REG1   BSP_BIT32(8)
 
#define TMS570_DMM_INTCLR_BUSERROR   BSP_BIT32(7)
 
#define TMS570_DMM_INTCLR_BUFF_OVF   BSP_BIT32(6)
 
#define TMS570_DMM_INTCLR_SRC_OVF   BSP_BIT32(5)
 
#define TMS570_DMM_INTCLR_DEST3_ERR   BSP_BIT32(4)
 
#define TMS570_DMM_INTCLR_DEST2_ERR   BSP_BIT32(3)
 
#define TMS570_DMM_INTCLR_DEST1_ERR   BSP_BIT32(2)
 
#define TMS570_DMM_INTCLR_DEST0_ERR   BSP_BIT32(1)
 
#define TMS570_DMM_INTCLR_PACKET_ERR_INT   BSP_BIT32(0)
 
#define TMS570_DMM_INTLVL_PROG_BUFF   BSP_BIT32(17)
 
#define TMS570_DMM_INTLVL_EO_BUFF   BSP_BIT32(16)
 
#define TMS570_DMM_INTLVL_DEST3REG2   BSP_BIT32(15)
 
#define TMS570_DMM_INTLVL_DEST3REG1   BSP_BIT32(14)
 
#define TMS570_DMM_INTLVL_DEST2REG2   BSP_BIT32(13)
 
#define TMS570_DMM_INTLVL_DEST2REG1   BSP_BIT32(12)
 
#define TMS570_DMM_INTLVL_DEST1REG2   BSP_BIT32(11)
 
#define TMS570_DMM_INTLVL_DEST1REG1   BSP_BIT32(10)
 
#define TMS570_DMM_INTLVL_DEST0REG2   BSP_BIT32(9)
 
#define TMS570_DMM_INTLVL_DEST0REG1   BSP_BIT32(8)
 
#define TMS570_DMM_INTLVL_BUSERROR   BSP_BIT32(7)
 
#define TMS570_DMM_INTLVL_BUFF_OVF   BSP_BIT32(6)
 
#define TMS570_DMM_INTLVL_SRC_OVF   BSP_BIT32(5)
 
#define TMS570_DMM_INTLVL_DEST3_ERR   BSP_BIT32(4)
 
#define TMS570_DMM_INTLVL_DEST2_ERR   BSP_BIT32(3)
 
#define TMS570_DMM_INTLVL_DEST1_ERR   BSP_BIT32(2)
 
#define TMS570_DMM_INTLVL_DEST0_ERR   BSP_BIT32(1)
 
#define TMS570_DMM_INTLVL_PACKET_ERR_INT   BSP_BIT32(0)
 
#define TMS570_DMM_INTFLG_PROG_BUFF   BSP_BIT32(17)
 
#define TMS570_DMM_INTFLG_EO_BUFF   BSP_BIT32(16)
 
#define TMS570_DMM_INTFLG_DEST3REG2   BSP_BIT32(15)
 
#define TMS570_DMM_INTFLG_DEST3REG1   BSP_BIT32(14)
 
#define TMS570_DMM_INTFLG_DEST2REG2   BSP_BIT32(13)
 
#define TMS570_DMM_INTFLG_DEST2REG1   BSP_BIT32(12)
 
#define TMS570_DMM_INTFLG_DEST1REG2   BSP_BIT32(11)
 
#define TMS570_DMM_INTFLG_DEST1REG1   BSP_BIT32(10)
 
#define TMS570_DMM_INTFLG_DEST0REG2   BSP_BIT32(9)
 
#define TMS570_DMM_INTFLG_DEST0REG1   BSP_BIT32(8)
 
#define TMS570_DMM_INTFLG_BUSERROR   BSP_BIT32(7)
 
#define TMS570_DMM_INTFLG_BUFF_OVF   BSP_BIT32(6)
 
#define TMS570_DMM_INTFLG_SRC_OVF   BSP_BIT32(5)
 
#define TMS570_DMM_INTFLG_DEST3_ERR   BSP_BIT32(4)
 
#define TMS570_DMM_INTFLG_DEST2_ERR   BSP_BIT32(3)
 
#define TMS570_DMM_INTFLG_DEST1_ERR   BSP_BIT32(2)
 
#define TMS570_DMM_INTFLG_DEST0_ERR   BSP_BIT32(1)
 
#define TMS570_DMM_INTFLG_PACKET_ERR_INT   BSP_BIT32(0)
 
#define TMS570_DMM_OFF1_OFFSET(val)   BSP_FLD32(val,0, 4)
 
#define TMS570_DMM_OFF1_OFFSET_GET(reg)   BSP_FLD32GET(reg,0, 4)
 
#define TMS570_DMM_OFF1_OFFSET_SET(reg, val)   BSP_FLD32SET(reg, val,0, 4)
 
#define TMS570_DMM_OFF2_OFFSET(val)   BSP_FLD32(val,0, 4)
 
#define TMS570_DMM_OFF2_OFFSET_GET(reg)   BSP_FLD32GET(reg,0, 4)
 
#define TMS570_DMM_OFF2_OFFSET_SET(reg, val)   BSP_FLD32SET(reg, val,0, 4)
 
#define TMS570_DMM_DDMBL_BLOCKSIZE(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DMM_DDMBL_BLOCKSIZE_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DMM_DDMBL_BLOCKSIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DMM_DDMPT_POINTER(val)   BSP_FLD32(val,0, 14)
 
#define TMS570_DMM_DDMPT_POINTER_GET(reg)   BSP_FLD32GET(reg,0, 14)
 
#define TMS570_DMM_DDMPT_POINTER_SET(reg, val)   BSP_FLD32SET(reg, val,0, 14)
 
#define TMS570_DMM_INTPT_INTPT(val)   BSP_FLD32(val,0, 14)
 
#define TMS570_DMM_INTPT_INTPT_GET(reg)   BSP_FLD32GET(reg,0, 14)
 
#define TMS570_DMM_INTPT_INTPT_SET(reg, val)   BSP_FLD32SET(reg, val,0, 14)
 
#define TMS570_DMM_DESTxREG1_BASEADDR(val)   BSP_FLD32(val,18, 31)
 
#define TMS570_DMM_DESTxREG1_BASEADDR_GET(reg)   BSP_FLD32GET(reg,18, 31)
 
#define TMS570_DMM_DESTxREG1_BASEADDR_SET(reg, val)   BSP_FLD32SET(reg, val,18, 31)
 
#define TMS570_DMM_DESTxREG1_BLOCKADDR(val)   BSP_FLD32(val,0, 17)
 
#define TMS570_DMM_DESTxREG1_BLOCKADDR_GET(reg)   BSP_FLD32GET(reg,0, 17)
 
#define TMS570_DMM_DESTxREG1_BLOCKADDR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 17)
 
#define TMS570_DMM_DESTxBL1_BLOCKSIZE(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DMM_DESTxBL1_BLOCKSIZE_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DMM_DESTxBL1_BLOCKSIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DMM_DESTxREG2_BASEADDR(val)   BSP_FLD32(val,18, 31)
 
#define TMS570_DMM_DESTxREG2_BASEADDR_GET(reg)   BSP_FLD32GET(reg,18, 31)
 
#define TMS570_DMM_DESTxREG2_BASEADDR_SET(reg, val)   BSP_FLD32SET(reg, val,18, 31)
 
#define TMS570_DMM_DESTxREG2_BLOCKADDR(val)   BSP_FLD32(val,0, 17)
 
#define TMS570_DMM_DESTxREG2_BLOCKADDR_GET(reg)   BSP_FLD32GET(reg,0, 17)
 
#define TMS570_DMM_DESTxREG2_BLOCKADDR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 17)
 
#define TMS570_DMM_DESTxBL2_BLOCKSIZE(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DMM_DESTxBL2_BLOCKSIZE_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DMM_DESTxBL2_BLOCKSIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DMM_PC0_ENAFUNC   BSP_BIT32(18)
 
#define TMS570_DMM_PC0_DATAxFUNC(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC0_DATAxFUNC_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC0_DATAxFUNC_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC0_CLKFUNC   BSP_BIT32(1)
 
#define TMS570_DMM_PC0_SYNCFUNC   BSP_BIT32(0)
 
#define TMS570_DMM_PC1_ENADIR   BSP_BIT32(18)
 
#define TMS570_DMM_PC1_DATAxDIR(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC1_DATAxDIR_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC1_DATAxDIR_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC1_CLKDIR   BSP_BIT32(1)
 
#define TMS570_DMM_PC1_SYNCDIR   BSP_BIT32(0)
 
#define TMS570_DMM_PC2_ENAIN   BSP_BIT32(18)
 
#define TMS570_DMM_PC2_DATAxIN(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC2_DATAxIN_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC2_DATAxIN_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC2_CLKIN   BSP_BIT32(1)
 
#define TMS570_DMM_PC2_SYNCIN   BSP_BIT32(0)
 
#define TMS570_DMM_PC3_ENAOUT   BSP_BIT32(18)
 
#define TMS570_DMM_PC3_DATAxOUT(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC3_DATAxOUT_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC3_DATAxOUT_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC3_CLKOUT   BSP_BIT32(1)
 
#define TMS570_DMM_PC3_SYNCOUT   BSP_BIT32(0)
 
#define TMS570_DMM_PC4_ENASET   BSP_BIT32(18)
 
#define TMS570_DMM_PC4_DATAxSET(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC4_DATAxSET_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC4_DATAxSET_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC4_CLKSET   BSP_BIT32(1)
 
#define TMS570_DMM_PC4_SYNCSET   BSP_BIT32(0)
 
#define TMS570_DMM_PC5_ENACLR   BSP_BIT32(18)
 
#define TMS570_DMM_PC5_DATAxCLR(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC5_DATAxCLR_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC5_DATAxCLR_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC5_CLKCLR   BSP_BIT32(1)
 
#define TMS570_DMM_PC5_SYNCCLR   BSP_BIT32(0)
 
#define TMS570_DMM_PC6_ENAPDR   BSP_BIT32(18)
 
#define TMS570_DMM_PC6_DATAxPDR(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC6_DATAxPDR_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC6_DATAxPDR_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC6_CLKPDR   BSP_BIT32(1)
 
#define TMS570_DMM_PC6_SYNCPDR   BSP_BIT32(0)
 
#define TMS570_DMM_PC7_ENAPDIS   BSP_BIT32(18)
 
#define TMS570_DMM_PC7_DATAxPDIS(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC7_DATAxPDIS_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC7_DATAxPDIS_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC7_CLKPDIS   BSP_BIT32(1)
 
#define TMS570_DMM_PC7_SYNCPDIS   BSP_BIT32(0)
 
#define TMS570_DMM_PC8_ENAPSEL   BSP_BIT32(18)
 
#define TMS570_DMM_PC8_DATAxPSEL(val)   BSP_FLD32(val,2, 17)
 
#define TMS570_DMM_PC8_DATAxPSEL_GET(reg)   BSP_FLD32GET(reg,2, 17)
 
#define TMS570_DMM_PC8_DATAxPSEL_SET(reg, val)   BSP_FLD32SET(reg, val,2, 17)
 
#define TMS570_DMM_PC8_CLKPSEL   BSP_BIT32(1)
 
#define TMS570_DMM_PC8_SYNCPSEL   BSP_BIT32(0)
 

Detailed Description

This header file provides DMM interfaces.