Why R2024b C2000 ePWM Block generates useless "tbprdValue?Outputs" variable?
Show older comments
As described in the title, after upgrading to R2024b, I found that each ePWM block will automatically generate a sentence like this:
uint16_T tbprdValue?Outputs = EPwm?Regs.TBPRD;
where ? represents the ePWM number. However, I found that this variable is not used in any file of the project.
Though it doesn't influce the functionality of the software, I wonder what's the purpose of adding this sentence to the code-gen result.
Thanks and best regards to anyone who found this post!
Accepted Answer
More 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!