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

This header file provides HTU interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_htu_t
 

Macros

#define TMS570_HTU_GC_VBUSHOLD   BSP_BIT32(24)
 
#define TMS570_HTU_GC_HTUEN   BSP_BIT32(16)
 
#define TMS570_HTU_GC_DEBM   BSP_BIT32(8)
 
#define TMS570_HTU_GC_HTURES   BSP_BIT32(0)
 
#define TMS570_HTU_CPENA_CPENA(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_HTU_CPENA_CPENA_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_HTU_CPENA_CPENA_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_HTU_BUSY0_BUSY0A   BSP_BIT32(24)
 
#define TMS570_HTU_BUSY0_BUSY0B   BSP_BIT32(16)
 
#define TMS570_HTU_BUSY0_BUSY1A   BSP_BIT32(8)
 
#define TMS570_HTU_BUSY0_BUSY1B   BSP_BIT32(0)
 
#define TMS570_HTU_BUSY1_BUSY2A   BSP_BIT32(24)
 
#define TMS570_HTU_BUSY1_BUSY2B   BSP_BIT32(16)
 
#define TMS570_HTU_BUSY1_BUSY3A   BSP_BIT32(8)
 
#define TMS570_HTU_BUSY1_BUSY3B   BSP_BIT32(0)
 
#define TMS570_HTU_BUSY2_BUSY4A   BSP_BIT32(24)
 
#define TMS570_HTU_BUSY2_BUSY4B   BSP_BIT32(16)
 
#define TMS570_HTU_BUSY2_BUSY5A   BSP_BIT32(8)
 
#define TMS570_HTU_BUSY2_BUSY5B   BSP_BIT32(0)
 
#define TMS570_HTU_BUSY3_BUSY6A   BSP_BIT32(24)
 
#define TMS570_HTU_BUSY3_BUSY6B   BSP_BIT32(16)
 
#define TMS570_HTU_BUSY3_BUSY7A   BSP_BIT32(8)
 
#define TMS570_HTU_BUSY3_BUSY7B   BSP_BIT32(0)
 
#define TMS570_HTU_ACPE_ERRF   BSP_BIT32(31)
 
#define TMS570_HTU_RLBECTRL_BERINTENA   BSP_BIT32(16)
 
#define TMS570_HTU_RLBECTRL_CORL   BSP_BIT32(8)
 
#define TMS570_HTU_RLBECTRL_RLINTENA   BSP_BIT32(0)
 
#define TMS570_HTU_BFINTS_BFINTENA(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_HTU_BFINTS_BFINTENA_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_HTU_BFINTS_BFINTENA_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_HTU_BFINTC_BFINTDIS(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_HTU_BFINTC_BFINTDIS_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_HTU_BFINTC_BFINTDIS_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_HTU_INTOFF0_INTTYPE0(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_HTU_INTOFF0_INTTYPE0_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_HTU_INTOFF0_INTTYPE0_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_HTU_INTOFF0_CPOFF0(val)   BSP_FLD32(val,0, 4)
 
#define TMS570_HTU_INTOFF0_CPOFF0_GET(reg)   BSP_FLD32GET(reg,0, 4)
 
#define TMS570_HTU_INTOFF0_CPOFF0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 4)
 
#define TMS570_HTU_INTOFF1_INTTYPE1(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_HTU_INTOFF1_INTTYPE1_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_HTU_INTOFF1_INTTYPE1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_HTU_INTOFF1_CPOFF1(val)   BSP_FLD32(val,0, 4)
 
#define TMS570_HTU_INTOFF1_CPOFF1_GET(reg)   BSP_FLD32GET(reg,0, 4)
 
#define TMS570_HTU_INTOFF1_CPOFF1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 4)
 
#define TMS570_HTU_BIM_BIM(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_HTU_BIM_BIM_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_HTU_BIM_BIM_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_HTU_RLOSTFL_CPRLFL(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_HTU_RLOSTFL_CPRLFL_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_HTU_RLOSTFL_CPRLFL_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_HTU_BFINTFL_BFINTFL(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_HTU_BFINTFL_BFINTFL_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_HTU_BFINTFL_BFINTFL_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_HTU_BERINTFL_BERINTFL(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_HTU_BERINTFL_BERINTFL_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_HTU_BERINTFL_BERINTFL_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_HTU_DCTRL_CPNUM(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_HTU_DCTRL_CPNUM_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_HTU_DCTRL_CPNUM_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_HTU_DCTRL_HTUDBGS   BSP_BIT32(16)
 
#define TMS570_HTU_DCTRL_DBREN   BSP_BIT32(0)
 
#define TMS570_HTU_ID_CLASS(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_HTU_ID_CLASS_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_HTU_ID_CLASS_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_HTU_ID_TYPE(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_HTU_ID_TYPE_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_HTU_ID_TYPE_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_HTU_ID_REV(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_HTU_ID_REV_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_HTU_ID_REV_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_HTU_PCR_COPE   BSP_BIT32(16)
 
#define TMS570_HTU_PCR_TEST   BSP_BIT32(8)
 
#define TMS570_HTU_PCR_PARITY_ENA(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_HTU_PCR_PARITY_ENA_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_HTU_PCR_PARITY_ENA_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_HTU_PAR_PEFT   BSP_BIT32(16)
 
#define TMS570_HTU_PAR_PAOFF(val)   BSP_FLD32(val,0, 8)
 
#define TMS570_HTU_PAR_PAOFF_GET(reg)   BSP_FLD32GET(reg,0, 8)
 
#define TMS570_HTU_PAR_PAOFF_SET(reg, val)   BSP_FLD32SET(reg, val,0, 8)
 
#define TMS570_HTU_MPCS_CPNUM0(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_HTU_MPCS_CPNUM0_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_HTU_MPCS_CPNUM0_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_HTU_MPCS_MPEFT1   BSP_BIT32(17)
 
#define TMS570_HTU_MPCS_MPEFT0   BSP_BIT32(16)
 
#define TMS570_HTU_MPCS_CPNUM1(val)   BSP_FLD32(val,8, 11)
 
#define TMS570_HTU_MPCS_CPNUM1_GET(reg)   BSP_FLD32GET(reg,8, 11)
 
#define TMS570_HTU_MPCS_CPNUM1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 11)
 

Detailed Description

This header file provides HTU interfaces.