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

This header file provides VIM interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_vim_t
 

Macros

#define TMS570_VIM_PARFLG_PARFLG   BSP_BIT32(0)
 
#define TMS570_VIM_PARCTL_TEST   BSP_BIT32(8)
 
#define TMS570_VIM_PARCTL_PARENA(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_VIM_PARCTL_PARENA_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_VIM_PARCTL_PARENA_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_VIM_ADDERR_Interrupt_Vector_Table(val)   BSP_FLD32(val,9, 31)
 
#define TMS570_VIM_ADDERR_Interrupt_Vector_Table_GET(reg)   BSP_FLD32GET(reg,9, 31)
 
#define TMS570_VIM_ADDERR_Interrupt_Vector_Table_SET(reg, val)   BSP_FLD32SET(reg, val,9, 31)
 
#define TMS570_VIM_ADDERR_ADDERR(val)   BSP_FLD32(val,2, 8)
 
#define TMS570_VIM_ADDERR_ADDERR_GET(reg)   BSP_FLD32GET(reg,2, 8)
 
#define TMS570_VIM_ADDERR_ADDERR_SET(reg, val)   BSP_FLD32SET(reg, val,2, 8)
 
#define TMS570_VIM_ADDERR_Word_offset(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_VIM_ADDERR_Word_offset_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_VIM_ADDERR_Word_offset_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_VIM_IRQINDEX_IRQINDEX(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_VIM_IRQINDEX_IRQINDEX_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_VIM_IRQINDEX_IRQINDEX_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_VIM_FIQINDEX_FIQINDEX(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_VIM_FIQINDEX_FIQINDEX_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_VIM_FIQINDEX_FIQINDEX_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_VIM_CAPEVT_CAPEVTSRC1(val)   BSP_FLD32(val,16, 22)
 
#define TMS570_VIM_CAPEVT_CAPEVTSRC1_GET(reg)   BSP_FLD32GET(reg,16, 22)
 
#define TMS570_VIM_CAPEVT_CAPEVTSRC1_SET(reg, val)   BSP_FLD32SET(reg, val,16, 22)
 
#define TMS570_VIM_CAPEVT_CAPEVTSRC0(val)   BSP_FLD32(val,0, 6)
 
#define TMS570_VIM_CAPEVT_CAPEVTSRC0_GET(reg)   BSP_FLD32GET(reg,0, 6)
 
#define TMS570_VIM_CAPEVT_CAPEVTSRC0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 6)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx0(val)   BSP_FLD32(val,24, 30)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx0_GET(reg)   BSP_FLD32GET(reg,24, 30)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx0_SET(reg, val)   BSP_FLD32SET(reg, val,24, 30)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx1(val)   BSP_FLD32(val,16, 22)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx1_GET(reg)   BSP_FLD32GET(reg,16, 22)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx1_SET(reg, val)   BSP_FLD32SET(reg, val,16, 22)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx2(val)   BSP_FLD32(val,8, 14)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx2_GET(reg)   BSP_FLD32GET(reg,8, 14)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx2_SET(reg, val)   BSP_FLD32SET(reg, val,8, 14)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx3(val)   BSP_FLD32(val,0, 6)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx3_GET(reg)   BSP_FLD32GET(reg,0, 6)
 
#define TMS570_VIM_CHANCTRL_CHANMAPx3_SET(reg, val)   BSP_FLD32SET(reg, val,0, 6)
 

Detailed Description

This header file provides VIM interfaces.