summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_tcr.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_tcr.h')
-rw-r--r--c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_tcr.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_tcr.h b/c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_tcr.h
index e71dd52117..5304504afc 100644
--- a/c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_tcr.h
+++ b/c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_tcr.h
@@ -36,8 +36,8 @@
* of the authors and should not be interpreted as representing official policies,
* either expressed or implied, of the FreeBSD Project.
*/
-#ifndef LIBBSP_ARM_tms570_TCR
-#define LIBBSP_ARM_tms570_TCR
+#ifndef LIBBSP_ARM_TMS570_TCR
+#define LIBBSP_ARM_TMS570_TCR
#include <bsp/utility.h>
@@ -47,21 +47,21 @@ typedef struct{
} tms570_tcr_t;
-/*-----------------------TMS570_TCRTCR-----------------------*/
+/*-----------------------TMS570_TCR_TCR-----------------------*/
/* field: STXR - Set Transmit Request. */
-#define TMS570_TCR_TCR_STXR BSP_FLD32(18)
+#define TMS570_TCR_TCR_STXR BSP_BIT32(18)
/* field: THTSM - Transfer Header to System Memory. */
-#define TMS570_TCR_TCR_THTSM BSP_FLD32(17)
+#define TMS570_TCR_TCR_THTSM BSP_BIT32(17)
/* field: TPTSM - Transfer Payload to System Memory. */
-#define TMS570_TCR_TCR_TPTSM BSP_FLD32(16)
+#define TMS570_TCR_TCR_TPTSM BSP_BIT32(16)
/* field: THTCC - Transfer Header to Communication Controller. */
-#define TMS570_TCR_TCR_THTCC BSP_FLD32(15)
+#define TMS570_TCR_TCR_THTCC BSP_BIT32(15)
/* field: TPTCC - Transfer Payload to Communication Controller. */
-#define TMS570_TCR_TCR_TPTCC BSP_FLD32(14)
+#define TMS570_TCR_TCR_TPTCC BSP_BIT32(14)
/* field: TSO - Transfer Start Offset. */
#define TMS570_TCR_TCR_TSO(val) BSP_FLD32(val,0, 13)
@@ -69,16 +69,16 @@ typedef struct{
#define TMS570_TCR_TCR_TSO_SET(reg,val) BSP_FLD32SET(reg, val,0, 13)
-/*--------------------TMS570_TCRTCR_Parity--------------------*/
+/*-------------------TMS570_TCR_TCR_Parity-------------------*/
/* field: PAB2 - Parity Bit for TCRx Byte 2. Parity information for byte 2 of TCRx(18-16). */
-#define TMS570_TCR_TCR_Parity_PAB2 BSP_FLD32(16)
+#define TMS570_TCR_TCR_Parity_PAB2 BSP_BIT32(16)
/* field: PAB1 - Parity Bit for TCRx Byte 1. Parity information for byte 1 of TCRx(15:8). */
-#define TMS570_TCR_TCR_Parity_PAB1 BSP_FLD32(8)
+#define TMS570_TCR_TCR_Parity_PAB1 BSP_BIT32(8)
/* field: PAB0 - Parity Bit for Byte 0. */
-#define TMS570_TCR_TCR_Parity_PAB0 BSP_FLD32(0)
+#define TMS570_TCR_TCR_Parity_PAB0 BSP_BIT32(0)
-#endif /* LIBBSP_ARM_tms570_TCR */
+#endif /* LIBBSP_ARM_TMS570_TCR */