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

This header file provides DCC interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_dcc_t
 

Macros

#define TMS570_DCC_GCTRL_DONE_INT_ENA(val)   BSP_FLD32(val,12, 15)
 
#define TMS570_DCC_GCTRL_DONE_INT_ENA_GET(reg)   BSP_FLD32GET(reg,12, 15)
 
#define TMS570_DCC_GCTRL_DONE_INT_ENA_SET(reg, val)   BSP_FLD32SET(reg, val,12, 15)
 
#define TMS570_DCC_GCTRL_SINGLE_SHOT(val)   BSP_FLD32(val,8, 11)
 
#define TMS570_DCC_GCTRL_SINGLE_SHOT_GET(reg)   BSP_FLD32GET(reg,8, 11)
 
#define TMS570_DCC_GCTRL_SINGLE_SHOT_SET(reg, val)   BSP_FLD32SET(reg, val,8, 11)
 
#define TMS570_DCC_GCTRL_ERR_ENA(val)   BSP_FLD32(val,4, 7)
 
#define TMS570_DCC_GCTRL_ERR_ENA_GET(reg)   BSP_FLD32GET(reg,4, 7)
 
#define TMS570_DCC_GCTRL_ERR_ENA_SET(reg, val)   BSP_FLD32SET(reg, val,4, 7)
 
#define TMS570_DCC_GCTRL_DCC_ENA(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DCC_GCTRL_DCC_ENA_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DCC_GCTRL_DCC_ENA_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DCC_REV_SCHEME(val)   BSP_FLD32(val,30, 31)
 
#define TMS570_DCC_REV_SCHEME_GET(reg)   BSP_FLD32GET(reg,30, 31)
 
#define TMS570_DCC_REV_SCHEME_SET(reg, val)   BSP_FLD32SET(reg, val,30, 31)
 
#define TMS570_DCC_REV_FUNC(val)   BSP_FLD32(val,16, 27)
 
#define TMS570_DCC_REV_FUNC_GET(reg)   BSP_FLD32GET(reg,16, 27)
 
#define TMS570_DCC_REV_FUNC_SET(reg, val)   BSP_FLD32SET(reg, val,16, 27)
 
#define TMS570_DCC_REV_RTL(val)   BSP_FLD32(val,11, 15)
 
#define TMS570_DCC_REV_RTL_GET(reg)   BSP_FLD32GET(reg,11, 15)
 
#define TMS570_DCC_REV_RTL_SET(reg, val)   BSP_FLD32SET(reg, val,11, 15)
 
#define TMS570_DCC_REV_MAJOR(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_DCC_REV_MAJOR_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_DCC_REV_MAJOR_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_DCC_REV_CUSTOM(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_DCC_REV_CUSTOM_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_DCC_REV_CUSTOM_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_DCC_REV_MINOR(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_DCC_REV_MINOR_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_DCC_REV_MINOR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_DCC_CNT0SEED_COUNT0_SEED(val)   BSP_FLD32(val,0, 19)
 
#define TMS570_DCC_CNT0SEED_COUNT0_SEED_GET(reg)   BSP_FLD32GET(reg,0, 19)
 
#define TMS570_DCC_CNT0SEED_COUNT0_SEED_SET(reg, val)   BSP_FLD32SET(reg, val,0, 19)
 
#define TMS570_DCC_VALID0SEED_VALID0_SEED(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_DCC_VALID0SEED_VALID0_SEED_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_DCC_VALID0SEED_VALID0_SEED_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_DCC_CNT1SEED_COUNT1_SEED(val)   BSP_FLD32(val,0, 19)
 
#define TMS570_DCC_CNT1SEED_COUNT1_SEED_GET(reg)   BSP_FLD32GET(reg,0, 19)
 
#define TMS570_DCC_CNT1SEED_COUNT1_SEED_SET(reg, val)   BSP_FLD32SET(reg, val,0, 19)
 
#define TMS570_DCC_STAT_DONE_FLG   BSP_BIT32(1)
 
#define TMS570_DCC_STAT_ERR_FLG   BSP_BIT32(0)
 
#define TMS570_DCC_CNT0_COUNT0(val)   BSP_FLD32(val,0, 19)
 
#define TMS570_DCC_CNT0_COUNT0_GET(reg)   BSP_FLD32GET(reg,0, 19)
 
#define TMS570_DCC_CNT0_COUNT0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 19)
 
#define TMS570_DCC_VALID0_VALID0(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_DCC_VALID0_VALID0_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_DCC_VALID0_VALID0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_DCC_CNT1_COUNT1(val)   BSP_FLD32(val,0, 19)
 
#define TMS570_DCC_CNT1_COUNT1_GET(reg)   BSP_FLD32GET(reg,0, 19)
 
#define TMS570_DCC_CNT1_COUNT1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 19)
 
#define TMS570_DCC_CNT1CLKSRC_KEY(val)   BSP_FLD32(val,12, 15)
 
#define TMS570_DCC_CNT1CLKSRC_KEY_GET(reg)   BSP_FLD32GET(reg,12, 15)
 
#define TMS570_DCC_CNT1CLKSRC_KEY_SET(reg, val)   BSP_FLD32SET(reg, val,12, 15)
 
#define TMS570_DCC_CNT1CLKSRC_CNT1_CLKSRC(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DCC_CNT1CLKSRC_CNT1_CLKSRC_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DCC_CNT1CLKSRC_CNT1_CLKSRC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DCC_CNT0CLKSRC_CNT0_CLKSRC(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DCC_CNT0CLKSRC_CNT0_CLKSRC_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DCC_CNT0CLKSRC_CNT0_CLKSRC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 

Enumerations

enum  tms570_dcc1_cnt0_clksrc { DCC1_CNT0_HF_LPO = 0x5U , DCC1_CNT0_TCK = 0xAU , DCC1_CNT0_OSCIN = 0xFU }
 

Detailed Description

This header file provides DCC interfaces.

Enumeration Type Documentation

◆ tms570_dcc1_cnt0_clksrc

Enumerator
DCC1_CNT0_HF_LPO 

Alias for DCC1 CNT 0 CLOCK SOURCE 0

DCC1_CNT0_TCK 

Alias for DCC1 CNT 0 CLOCK SOURCE 1

DCC1_CNT0_OSCIN 

Alias for DCC1 CNT 0 CLOCK SOURCE 2