Struct in Data Store Memory (C2000 Embedded Coder Support Package)
Show older comments
Hi,
I am currently trying to generate some Code for the Control Law Accellerator of the TI F280049C Launchpad.
Currently, the generated code writes the data in the Data Store Memory as single variables in the Message Rams. (#pragma DATA_SECTION (Cla_out, "Cla1ToCpuMsgRAM"))
To fit in my project, I want the Embedded Coder to store the data from the C2000-Core to the Cla and from the Cla to the C2000-Core in specific structs.
Is there a way to advise the Embedded Coder to save the Data in a (specific) struct, instead of writing the single variables in the MsgRam?
Tanks,
Markus
1 Comment
Venkatesh Chilapur
on 21 Oct 2020
Hi Markus,
Try bus signal. Refer MathWorks Doc for more details.
Regards,
Venkatesh C
Answers (0)
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!