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

This header file provides N2HET interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_nhet_t
 

Macros

#define TMS570_NHET_GCR_HET_PIN_ENA   BSP_BIT32(24)
 
#define TMS570_NHET_GCR_MP(val)   BSP_FLD32(val,21, 22)
 
#define TMS570_NHET_GCR_MP_GET(reg)   BSP_FLD32GET(reg,21, 22)
 
#define TMS570_NHET_GCR_MP_SET(reg, val)   BSP_FLD32SET(reg, val,21, 22)
 
#define TMS570_NHET_GCR_PPF   BSP_BIT32(18)
 
#define TMS570_NHET_GCR_IS   BSP_BIT32(17)
 
#define TMS570_NHET_GCR_CMS   BSP_BIT32(16)
 
#define TMS570_NHET_PFR_LRPFC(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_NHET_PFR_LRPFC_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_NHET_PFR_LRPFC_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_NHET_PFR_HRPFC(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_NHET_PFR_HRPFC_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_NHET_PFR_HRPFC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_NHET_ADDR_HETADDR(val)   BSP_FLD32(val,0, 8)
 
#define TMS570_NHET_ADDR_HETADDR_GET(reg)   BSP_FLD32GET(reg,0, 8)
 
#define TMS570_NHET_ADDR_HETADDR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 8)
 
#define TMS570_NHET_OFF1_OFFSET1(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_NHET_OFF1_OFFSET1_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_NHET_OFF1_OFFSET1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_NHET_OFF2_OFFSET2(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_NHET_OFF2_OFFSET2_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_NHET_OFF2_OFFSET2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_NHET_EXC1_APCNT_OVRFL_ENA   BSP_BIT32(24)
 
#define TMS570_NHET_EXC1_APCNT_UNRFL_ENA   BSP_BIT32(16)
 
#define TMS570_NHET_EXC1_PRGM_OVRFL_ENA   BSP_BIT32(8)
 
#define TMS570_NHET_EXC1_APCNT_OVRFL_PRY   BSP_BIT32(2)
 
#define TMS570_NHET_EXC1_APCNT_UNRFL_PRY   BSP_BIT32(1)
 
#define TMS570_NHET_EXC1_PRGM_OVRFL_PRY   BSP_BIT32(0)
 
#define TMS570_NHET_EXC2_DEBUG_STATUS_FLAG   BSP_BIT32(8)
 
#define TMS570_NHET_EXC2_APCNT_OVRFL_FLAG   BSP_BIT32(2)
 
#define TMS570_NHET_EXC2_APCNT_UNDFL_FLAG   BSP_BIT32(1)
 
#define TMS570_NHET_EXC2_PRGM_OVERFL_FLAG   BSP_BIT32(0)
 
#define TMS570_NHET_AND_AND_SHARE(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_NHET_AND_AND_SHARE_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_NHET_AND_AND_SHARE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_NHET_HRSH_HR_SHARE(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_NHET_HRSH_HR_SHARE_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_NHET_HRSH_HR_SHARE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_NHET_XOR_XOR_SHARE(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_NHET_XOR_XOR_SHARE_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_NHET_XOR_XOR_SHARE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_NHET_REQENS_REQ_ENA_n(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_NHET_REQENS_REQ_ENA_n_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_NHET_REQENS_REQ_ENA_n_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_NHET_REQENC_REQ_DIS_n(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_NHET_REQENC_REQ_DIS_n_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_NHET_REQENC_REQ_DIS_n_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_NHET_REQDS_TDBS_n(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_NHET_REQDS_TDBS_n_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_NHET_REQDS_TDBS_n_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_NHET_REQDS_TDS_n(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_NHET_REQDS_TDS_n_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_NHET_REQDS_TDS_n_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_NHET_PCR_TEST   BSP_BIT32(8)
 
#define TMS570_NHET_PCR_PARITY_ENA(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_NHET_PCR_PARITY_ENA_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_NHET_PCR_PARITY_ENA_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_NHET_PAR_PAOFF(val)   BSP_FLD32(val,2, 12)
 
#define TMS570_NHET_PAR_PAOFF_GET(reg)   BSP_FLD32GET(reg,2, 12)
 
#define TMS570_NHET_PAR_PAOFF_SET(reg, val)   BSP_FLD32SET(reg, val,2, 12)
 
#define TMS570_NHET_SFPRLD_CCDIV(val)   BSP_FLD32(val,16, 17)
 
#define TMS570_NHET_SFPRLD_CCDIV_GET(reg)   BSP_FLD32GET(reg,16, 17)
 
#define TMS570_NHET_SFPRLD_CCDIV_SET(reg, val)   BSP_FLD32SET(reg, val,16, 17)
 
#define TMS570_NHET_SFPRLD_CPRLD(val)   BSP_FLD32(val,0, 9)
 
#define TMS570_NHET_SFPRLD_CPRLD_GET(reg)   BSP_FLD32GET(reg,0, 9)
 
#define TMS570_NHET_SFPRLD_CPRLD_SET(reg, val)   BSP_FLD32SET(reg, val,0, 9)
 
#define TMS570_NHET_LBPSEL_LBPTYPE(val)   BSP_FLD32(val,16, 31)
 
#define TMS570_NHET_LBPSEL_LBPTYPE_GET(reg)   BSP_FLD32GET(reg,16, 31)
 
#define TMS570_NHET_LBPSEL_LBPTYPE_SET(reg, val)   BSP_FLD32SET(reg, val,16, 31)
 
#define TMS570_NHET_LBPSEL_LBPSEL(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_NHET_LBPSEL_LBPSEL_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_NHET_LBPSEL_LBPSEL_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_NHET_LBPDIR_LBPTSTENA(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_NHET_LBPDIR_LBPTSTENA_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_NHET_LBPDIR_LBPTSTENA_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_NHET_LBPDIR_LBPDIR(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_NHET_LBPDIR_LBPDIR_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_NHET_LBPDIR_LBPDIR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 

Detailed Description

This header file provides N2HET interfaces.