Part Number: TMS320F2800157
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Hi,
I'm using the C2000Ware headers as part of both version 5.04 and 26.0. When I include the header path, I get:
"C:\ti\C2000\C2000Ware_26_00_00_00\device_support\f280015x\headers\include\f280015x_lin.h", line 236: error #41: expected an identifier
The compiler is barking at IDLE below. I made the mistake of editing my copy of this file on 5.4 to change IDLE to IDLE1. Now that I've upgraded to 25.0 I'm seeing it again. Is there a fix rather than me manually editing this?
I don't think I need this file and found that it's included from f280015x_device.h. I saw that defining __TMS320C28XX_CLA__ would bypass the include of f280015x_lin.h, but couldn't define it without getting an error.
Any suggestions would be greatly appreciated.
struct SCIFLR_BITS { // bits description
bp_16 BRKDT:1; // 0 Break-detect Flag (SCI compatible mode)
bp_16 WAKEUP:1; // 1 Wake-up Flag
bp_16 IDLE:1; // 2 SCI receiver in idle state (SCI compatible mode)
bp_16 BUSY:1; // 3 Busy Flag
bp_16 TIMEOUT:1; // 4 LIN Bus IDLE timeout Flag (LIN only)
bp_16 rsvd1:1; // 5 Reserved
bp_16 TOAWUS:1; // 6 Timeout After Wakeup Signal Flag (LIN only)
bp_16 TOA3WUS:1; // 7 Timeout After 3 Wakeup Signals Flag (LIN only)
bp_16 TXRDY:1; // 8 Transmitter Buffer Ready Flag
bp_16 RXRDY:1; // 9 Receiver Buffer Ready Flag
bp_16 TXWAKE:1; // 10 SCI Transmitter Wakeup Method Select
bp_16 TXEMPTY:1; // 11 Transmitter Empty Flag
bp_16 RXWAKE:1; // 12 Receiver Wakeup Detect Flag
bp_16 IDTXFLAG:1; // 13 Identifier On Transmit Flag (LIN only)
bp_16 IDRXFLAG:1; // 14 Identifier on Receive Flag
bp_16 rsvd2:1; // 15 Reserved
bp_32 rsvd3:8; // 23:16 Reserved
bp_32 PE:1; // 24 Parity Error Flag
bp_32 OE:1; // 25 Overrun Error Flag
bp_32 FE:1; // 26 Framing Error Flag
bp_32 NRE:1; // 27 No-Response Error Flag (LIN only)
bp_32 ISFE:1; // 28 Inconsistent Sync Field Error Flag (LIN only)
bp_32 CE:1; // 29 Checksum Error Flag (LIN only)
bp_32 PBE:1; // 30 Physical Bus Error Flag (LIN only)
bp_32 BE:1; // 31 Bit Error Flag (LIN only)
};
