hal_can.h should define CANRxFrame/CANTxFrame
hal_can.h should define CANRxFrame/CANTxFrame
hal_can.h should define the CANRxFrame/CANTxFrame structures. The structure definitions are currently entirely inside hal_can_lld.h . If there are any platform specific members needed (for example, FMI and TIME in STM32), those should be in macros defined in hal_can_lld.h, and included at the end of the CAN frame structures in hal_can.h .
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: hal_can.h should define CANRxFrame/CANTxFrame
I will eventually rework this after evaluating the changes required for CAN FD which uses different frames.
Giovanni
Giovanni