From c2077184408fd8717e93e4d00e63b06177b264f5 Mon Sep 17 00:00:00 2001 From: Avi Weiss Date: Fri, 5 Jun 2026 19:02:51 +0200 Subject: [PATCH] bsps/arm/tms570: Add missing DCAN TIOC 'in' bit macro The 'in' field (bit 0) is missing from the DCAN TIOC macros. It looks like the auto-gen did not pick it up as it's broken onto the next page in both the 3137 and 4357 TRMS. --- bsps/arm/tms570/include/bsp/ti_herc/reg_dcan.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsps/arm/tms570/include/bsp/ti_herc/reg_dcan.h b/bsps/arm/tms570/include/bsp/ti_herc/reg_dcan.h index 5da8355928..a01911eb57 100644 --- a/bsps/arm/tms570/include/bsp/ti_herc/reg_dcan.h +++ b/bsps/arm/tms570/include/bsp/ti_herc/reg_dcan.h @@ -923,6 +923,9 @@ typedef struct{ /* field: Out - CAN_TX data out write. */ #define TMS570_DCAN_TIOC_Out BSP_BIT32(1) +/* field: In - CAN_TX data in. */ +#define TMS570_DCAN_TIOC_In BSP_BIT32(0) + /*----------------------TMS570_DCAN_RIOC----------------------*/ /* field: PU - CAN_RX Pullup/Pulldown select. This bit is only active when CAN_RX is configured to be an input. */