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

This header file provides CRC interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_crc_t
 

Macros

#define TMS570_CRC_CTRL0_CH2_PSA_SWREST   BSP_BIT32(8)
 
#define TMS570_CRC_CTRL0_CH1_PSA_SWREST   BSP_BIT32(0)
 
#define TMS570_CRC_CTRL1_PWDN   BSP_BIT32(0)
 
#define TMS570_CRC_CTRL2_CH2_MODE(val)   BSP_FLD32(val,8, 9)
 
#define TMS570_CRC_CTRL2_CH2_MODE_GET(reg)   BSP_FLD32GET(reg,8, 9)
 
#define TMS570_CRC_CTRL2_CH2_MODE_SET(reg, val)   BSP_FLD32SET(reg, val,8, 9)
 
#define TMS570_CRC_CTRL2_CH1_TRACEEN   BSP_BIT32(4)
 
#define TMS570_CRC_CTRL2_CH1_MODE(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_CRC_CTRL2_CH1_MODE_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_CRC_CTRL2_CH1_MODE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_CRC_INTS_CH2_TIMEOUTENS   BSP_BIT32(12)
 
#define TMS570_CRC_INTS_CH2_UNDERENS   BSP_BIT32(11)
 
#define TMS570_CRC_INTS_CH2_OVERENS   BSP_BIT32(10)
 
#define TMS570_CRC_INTS_CH2_CRCFAILENS   BSP_BIT32(9)
 
#define TMS570_CRC_INTS_CH2_CCITENS   BSP_BIT32(8)
 
#define TMS570_CRC_INTS_CH1_TIMEOUTENS   BSP_BIT32(4)
 
#define TMS570_CRC_INTS_CH1_UNDERENS   BSP_BIT32(3)
 
#define TMS570_CRC_INTS_CH1_OVERENS   BSP_BIT32(2)
 
#define TMS570_CRC_INTS_CH1_CRCFAILENS   BSP_BIT32(1)
 
#define TMS570_CRC_INTS_CH1_CCITENS   BSP_BIT32(0)
 
#define TMS570_CRC_INTR_CH2_TIMEOUTENR   BSP_BIT32(12)
 
#define TMS570_CRC_INTR_CH2_UNDERENR   BSP_BIT32(11)
 
#define TMS570_CRC_INTR_CH2_OVERENR   BSP_BIT32(10)
 
#define TMS570_CRC_INTR_CH2_CRCFAILENR   BSP_BIT32(9)
 
#define TMS570_CRC_INTR_CH2_CCITENR   BSP_BIT32(8)
 
#define TMS570_CRC_INTR_CH1_TIMEOUTENR   BSP_BIT32(4)
 
#define TMS570_CRC_INTR_CH1_UNDERENR   BSP_BIT32(3)
 
#define TMS570_CRC_INTR_CH1_OVERENR   BSP_BIT32(2)
 
#define TMS570_CRC_INTR_CH1_CRCFAILENR   BSP_BIT32(1)
 
#define TMS570_CRC_INTR_CH1_CCITENR   BSP_BIT32(0)
 
#define TMS570_CRC_STATUS_CH2_TIMEOUT   BSP_BIT32(12)
 
#define TMS570_CRC_STATUS_CH2_UNDER   BSP_BIT32(11)
 
#define TMS570_CRC_STATUS_CH2_OVER   BSP_BIT32(10)
 
#define TMS570_CRC_STATUS_CH2_CRCFAIL   BSP_BIT32(9)
 
#define TMS570_CRC_STATUS_CH2_CCIT   BSP_BIT32(8)
 
#define TMS570_CRC_STATUS_CH1_TIMEOUT   BSP_BIT32(4)
 
#define TMS570_CRC_STATUS_CH1_UNDER   BSP_BIT32(3)
 
#define TMS570_CRC_STATUS_CH1_OVER   BSP_BIT32(2)
 
#define TMS570_CRC_STATUS_CH1_CRCFAIL   BSP_BIT32(1)
 
#define TMS570_CRC_STATUS_CH1_CCIT   BSP_BIT32(0)
 
#define TMS570_CRC_INT_OFFS_REG_OFSTREG(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_CRC_INT_OFFS_REG_OFSTREG_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_CRC_INT_OFFS_REG_OFSTREG_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_CRC_BUSY_CH2_BUSY   BSP_BIT32(8)
 
#define TMS570_CRC_BUSY_CH1_BUSY   BSP_BIT32(0)
 
#define TMS570_CRC_PCOUNT_REG1_CRC_PAT_COUNT1(val)   BSP_FLD32(val,0, 19)
 
#define TMS570_CRC_PCOUNT_REG1_CRC_PAT_COUNT1_GET(reg)   BSP_FLD32GET(reg,0, 19)
 
#define TMS570_CRC_PCOUNT_REG1_CRC_PAT_COUNT1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 19)
 
#define TMS570_CRC_SCOUNT_REG1_CRC_SEC_COUNT1(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_CRC_SCOUNT_REG1_CRC_SEC_COUNT1_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_CRC_SCOUNT_REG1_CRC_SEC_COUNT1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_CRC_CURSEC_REG1_CRC_CURSEC1(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_CRC_CURSEC_REG1_CRC_CURSEC1_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_CRC_CURSEC_REG1_CRC_CURSEC1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_CRC_WDTOPLD1_CRC_WDTOPLD1(val)   BSP_FLD32(val,0, 23)
 
#define TMS570_CRC_WDTOPLD1_CRC_WDTOPLD1_GET(reg)   BSP_FLD32GET(reg,0, 23)
 
#define TMS570_CRC_WDTOPLD1_CRC_WDTOPLD1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 23)
 
#define TMS570_CRC_BCTOPLD1_CRC_BCTOPLD1(val)   BSP_FLD32(val,0, 23)
 
#define TMS570_CRC_BCTOPLD1_CRC_BCTOPLD1_GET(reg)   BSP_FLD32GET(reg,0, 23)
 
#define TMS570_CRC_BCTOPLD1_CRC_BCTOPLD1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 23)
 
#define TMS570_CRC_PCOUNT_REG2_CRC_PAT_COUNT2(val)   BSP_FLD32(val,0, 19)
 
#define TMS570_CRC_PCOUNT_REG2_CRC_PAT_COUNT2_GET(reg)   BSP_FLD32GET(reg,0, 19)
 
#define TMS570_CRC_PCOUNT_REG2_CRC_PAT_COUNT2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 19)
 
#define TMS570_CRC_SCOUNT_REG2_CRC_SEC_COUNT2(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_CRC_SCOUNT_REG2_CRC_SEC_COUNT2_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_CRC_SCOUNT_REG2_CRC_SEC_COUNT2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_CRC_CURSEC_REG2_CRC_CURSEC2(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_CRC_CURSEC_REG2_CRC_CURSEC2_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_CRC_CURSEC_REG2_CRC_CURSEC2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_CRC_WDTOPLD2_CRC_WDTOPLD2(val)   BSP_FLD32(val,0, 23)
 
#define TMS570_CRC_WDTOPLD2_CRC_WDTOPLD2_GET(reg)   BSP_FLD32GET(reg,0, 23)
 
#define TMS570_CRC_WDTOPLD2_CRC_WDTOPLD2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 23)
 
#define TMS570_CRC_BCTOPLD2_CRC_BCTOPLD2(val)   BSP_FLD32(val,0, 23)
 
#define TMS570_CRC_BCTOPLD2_CRC_BCTOPLD2_GET(reg)   BSP_FLD32GET(reg,0, 23)
 
#define TMS570_CRC_BCTOPLD2_CRC_BCTOPLD2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 23)
 
#define TMS570_CRC_BUS_SEL_MEn   BSP_BIT32(2)
 
#define TMS570_CRC_BUS_SEL_DTCMEn   BSP_BIT32(1)
 
#define TMS570_CRC_BUS_SEL_ITCMEn   BSP_BIT32(0)
 

Detailed Description

This header file provides CRC interfaces.