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

This header file provides RTI interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_rti_compare_t
 
struct  tms570_rti_counter_t
 
struct  tms570_rti_t
 

Macros

#define TMS570_RTI_GCTRL_NTUSEL(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_RTI_GCTRL_NTUSEL_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_RTI_GCTRL_NTUSEL_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_RTI_GCTRL_COS   BSP_BIT32(15)
 
#define TMS570_RTI_GCTRL_CNT1EN   BSP_BIT32(1)
 
#define TMS570_RTI_GCTRL_CNT0EN   BSP_BIT32(0)
 
#define TMS570_RTI_TBCTRL_INC   BSP_BIT32(1)
 
#define TMS570_RTI_TBCTRL_TBEXT   BSP_BIT32(0)
 
#define TMS570_RTI_CAPCTRL_CAPCNTR1   BSP_BIT32(1)
 
#define TMS570_RTI_CAPCTRL_CAPCNTR0   BSP_BIT32(0)
 
#define TMS570_RTI_COMPCTRL_COMPSEL3   BSP_BIT32(12)
 
#define TMS570_RTI_COMPCTRL_COMPSEL2   BSP_BIT32(8)
 
#define TMS570_RTI_COMPCTRL_COMPSEL1   BSP_BIT32(4)
 
#define TMS570_RTI_COMPCTRL_COMPSEL0   BSP_BIT32(0)
 
#define TMS570_RTI_SETINTENA_SETOVL1INT   BSP_BIT32(18)
 
#define TMS570_RTI_SETINTENA_SETOVL0INT   BSP_BIT32(17)
 
#define TMS570_RTI_SETINTENA_SETTBINT   BSP_BIT32(16)
 
#define TMS570_RTI_SETINTENA_SETDMA3   BSP_BIT32(11)
 
#define TMS570_RTI_SETINTENA_SETDMA2   BSP_BIT32(10)
 
#define TMS570_RTI_SETINTENA_SETDMA1   BSP_BIT32(9)
 
#define TMS570_RTI_SETINTENA_SETDMA0   BSP_BIT32(8)
 
#define TMS570_RTI_SETINTENA_SETINT3   BSP_BIT32(3)
 
#define TMS570_RTI_SETINTENA_SETINT2   BSP_BIT32(2)
 
#define TMS570_RTI_SETINTENA_SETINT1   BSP_BIT32(1)
 
#define TMS570_RTI_SETINTENA_SETINT0   BSP_BIT32(0)
 
#define TMS570_RTI_CLEARINTENA_CLEAROVL1INT   BSP_BIT32(18)
 
#define TMS570_RTI_CLEARINTENA_CLEAROVL0INT   BSP_BIT32(17)
 
#define TMS570_RTI_CLEARINTENA_CLEARTBINT   BSP_BIT32(16)
 
#define TMS570_RTI_CLEARINTENA_CLEARDMA3   BSP_BIT32(11)
 
#define TMS570_RTI_CLEARINTENA_CLEARDMA2   BSP_BIT32(10)
 
#define TMS570_RTI_CLEARINTENA_CLEARDMA1   BSP_BIT32(9)
 
#define TMS570_RTI_CLEARINTENA_CLEARDMA0   BSP_BIT32(8)
 
#define TMS570_RTI_CLEARINTENA_CLEARINT3   BSP_BIT32(3)
 
#define TMS570_RTI_CLEARINTENA_CLEARINT2   BSP_BIT32(2)
 
#define TMS570_RTI_CLEARINTENA_CLEARINT1   BSP_BIT32(1)
 
#define TMS570_RTI_CLEARINTENA_CLEARINT0   BSP_BIT32(0)
 
#define TMS570_RTI_INTFLAG_OVL1INT   BSP_BIT32(18)
 
#define TMS570_RTI_INTFLAG_OVL0INT   BSP_BIT32(17)
 
#define TMS570_RTI_INTFLAG_TBINT   BSP_BIT32(16)
 
#define TMS570_RTI_INTFLAG_INT3   BSP_BIT32(3)
 
#define TMS570_RTI_INTFLAG_INT2   BSP_BIT32(2)
 
#define TMS570_RTI_INTFLAG_INT1   BSP_BIT32(1)
 
#define TMS570_RTI_INTFLAG_INT0   BSP_BIT32(0)
 
#define TMS570_RTI_DWDPRLD_DWDPRLD(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_RTI_DWDPRLD_DWDPRLD_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_RTI_DWDPRLD_DWDPRLD_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_RTI_WDSTATUS_DWWD_ST   BSP_BIT32(5)
 
#define TMS570_RTI_WDSTATUS_END_TIME_VIOL   BSP_BIT32(4)
 
#define TMS570_RTI_WDSTATUS_START_TIME_VIOL   BSP_BIT32(3)
 
#define TMS570_RTI_WDSTATUS_KEY_ST   BSP_BIT32(2)
 
#define TMS570_RTI_WDSTATUS_DWD_ST   BSP_BIT32(1)
 
#define TMS570_RTI_WDKEY_WDKEY(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_RTI_WDKEY_WDKEY_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_RTI_WDKEY_WDKEY_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_RTI_DWDCNTR_DWDCNTR(val)   BSP_FLD32(val,0, 24)
 
#define TMS570_RTI_DWDCNTR_DWDCNTR_GET(reg)   BSP_FLD32GET(reg,0, 24)
 
#define TMS570_RTI_DWDCNTR_DWDCNTR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 24)
 
#define TMS570_RTI_WWDRXNCTRL_WWDRXN(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_RTI_WWDRXNCTRL_WWDRXN_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_RTI_WWDRXNCTRL_WWDRXN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE3(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE3_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE2(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE2_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE1(val)   BSP_FLD32(val,8, 11)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE1_GET(reg)   BSP_FLD32GET(reg,8, 11)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 11)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE0(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE0_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_RTI_INTCLRENABLE_INTCLRENABLE0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 

Detailed Description

This header file provides RTI interfaces.