C-code for your CAN Matrix!
Here you can get auto generated C-code for your CAN Matrix described by .DBC file. It is simple and clean code that fits to every embedded project.
It uses utility classes for typography and spacing to space content out within the larger container.
Try it!
Message created as a struct. Signals as a fields of the struct.
*_CovS define is used for the packing float-based signal into CAN matrix value.
Unpacking performs true offset calculation (for CC_Speed on the pic).
But it does not make Factor conversation.
To get float-base value you should multiply signal and _CovFactor of that signal.