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

This header file provides RTP interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_rtp_t
 

Macros

#define TMS570_RTP_GLBCTRL_TEST   BSP_BIT32(24)
 
#define TMS570_RTP_GLBCTRL_PRESCALER(val)   BSP_FLD32(val,16, 18)
 
#define TMS570_RTP_GLBCTRL_PRESCALER_GET(reg)   BSP_FLD32GET(reg,16, 18)
 
#define TMS570_RTP_GLBCTRL_PRESCALER_SET(reg, val)   BSP_FLD32SET(reg, val,16, 18)
 
#define TMS570_RTP_GLBCTRL_DDM_WIDTH(val)   BSP_FLD32(val,12, 13)
 
#define TMS570_RTP_GLBCTRL_DDM_WIDTH_GET(reg)   BSP_FLD32GET(reg,12, 13)
 
#define TMS570_RTP_GLBCTRL_DDM_WIDTH_SET(reg, val)   BSP_FLD32SET(reg, val,12, 13)
 
#define TMS570_RTP_GLBCTRL_DDM_RW   BSP_BIT32(11)
 
#define TMS570_RTP_GLBCTRL_TM_DDM   BSP_BIT32(10)
 
#define TMS570_RTP_GLBCTRL_PW(val)   BSP_FLD32(val,8, 9)
 
#define TMS570_RTP_GLBCTRL_PW_GET(reg)   BSP_FLD32GET(reg,8, 9)
 
#define TMS570_RTP_GLBCTRL_PW_SET(reg, val)   BSP_FLD32SET(reg, val,8, 9)
 
#define TMS570_RTP_GLBCTRL_RESET   BSP_BIT32(7)
 
#define TMS570_RTP_GLBCTRL_CONTCLK   BSP_BIT32(6)
 
#define TMS570_RTP_GLBCTRL_HOVF   BSP_BIT32(5)
 
#define TMS570_RTP_GLBCTRL_INV_RGN   BSP_BIT32(4)
 
#define TMS570_RTP_GLBCTRL_ON_OFF(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_RTP_GLBCTRL_ON_OFF_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_RTP_GLBCTRL_ON_OFF_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_RTP_TRENA_ENA4   BSP_BIT32(24)
 
#define TMS570_RTP_TRENA_ENA2   BSP_BIT32(8)
 
#define TMS570_RTP_TRENA_ENA1   BSP_BIT32(0)
 
#define TMS570_RTP_GSR_EMPTYSER   BSP_BIT32(12)
 
#define TMS570_RTP_GSR_EMPTYPER   BSP_BIT32(11)
 
#define TMS570_RTP_GSR_EMPTY2   BSP_BIT32(9)
 
#define TMS570_RTP_GSR_EMPTY1   BSP_BIT32(8)
 
#define TMS570_RTP_GSR_OVFPER   BSP_BIT32(3)
 
#define TMS570_RTP_GSR_OVF2   BSP_BIT32(1)
 
#define TMS570_RTP_GSR_OVF1   BSP_BIT32(0)
 
#define TMS570_RTP_RAM1REGx_CPU_DMA(val)   BSP_FLD32(val,29, 30)
 
#define TMS570_RTP_RAM1REGx_CPU_DMA_GET(reg)   BSP_FLD32GET(reg,29, 30)
 
#define TMS570_RTP_RAM1REGx_CPU_DMA_SET(reg, val)   BSP_FLD32SET(reg, val,29, 30)
 
#define TMS570_RTP_RAM1REGx_RW   BSP_BIT32(28)
 
#define TMS570_RTP_RAM1REGx_BLOCKSIZE(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_RTP_RAM1REGx_BLOCKSIZE_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_RTP_RAM1REGx_BLOCKSIZE_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_RTP_RAM1REGx_STARTADDR(val)   BSP_FLD32(val,0, 17)
 
#define TMS570_RTP_RAM1REGx_STARTADDR_GET(reg)   BSP_FLD32GET(reg,0, 17)
 
#define TMS570_RTP_RAM1REGx_STARTADDR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 17)
 
#define TMS570_RTP_RAM2REGx_CPU_DMA(val)   BSP_FLD32(val,29, 30)
 
#define TMS570_RTP_RAM2REGx_CPU_DMA_GET(reg)   BSP_FLD32GET(reg,29, 30)
 
#define TMS570_RTP_RAM2REGx_CPU_DMA_SET(reg, val)   BSP_FLD32SET(reg, val,29, 30)
 
#define TMS570_RTP_RAM2REGx_RW   BSP_BIT32(28)
 
#define TMS570_RTP_RAM2REGx_BLOCKSIZE(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_RTP_RAM2REGx_BLOCKSIZE_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_RTP_RAM2REGx_BLOCKSIZE_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_RTP_RAM2REGx_STARTADDR(val)   BSP_FLD32(val,0, 23)
 
#define TMS570_RTP_RAM2REGx_STARTADDR_GET(reg)   BSP_FLD32GET(reg,0, 23)
 
#define TMS570_RTP_RAM2REGx_STARTADDR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 23)
 
#define TMS570_RTP_PERREGx_CPU_DMA(val)   BSP_FLD32(val,29, 30)
 
#define TMS570_RTP_PERREGx_CPU_DMA_GET(reg)   BSP_FLD32GET(reg,29, 30)
 
#define TMS570_RTP_PERREGx_CPU_DMA_SET(reg, val)   BSP_FLD32SET(reg, val,29, 30)
 
#define TMS570_RTP_PERREGx_RW   BSP_BIT32(28)
 
#define TMS570_RTP_PERREGx_BLOCKSIZE(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_RTP_PERREGx_BLOCKSIZE_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_RTP_PERREGx_BLOCKSIZE_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_RTP_PERREGx_STARTADDR(val)   BSP_FLD32(val,0, 23)
 
#define TMS570_RTP_PERREGx_STARTADDR_GET(reg)   BSP_FLD32GET(reg,0, 23)
 
#define TMS570_RTP_PERREGx_STARTADDR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 23)
 
#define TMS570_RTP_PCx_ENAFUNC   BSP_BIT32(18)
 
#define TMS570_RTP_PCx_CLKFUNC   BSP_BIT32(17)
 
#define TMS570_RTP_PCx_SYNCFUNC   BSP_BIT32(16)
 
#define TMS570_RTP_PCx_DATAFUNC(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_RTP_PCx_DATAFUNC_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_RTP_PCx_DATAFUNC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 

Detailed Description

This header file provides RTP interfaces.