How do I remove Timer0 from my built code?
이전 댓글 표시
Hello Everyone,
I'm using Simulink's Embedded Coder in a motor control application, and I'm trying to integrate ISR's into my model through the hardware interrupt and trigger model blocks. What I'd like to do is this: Create two hardware interrupts to control when I set some sample pins for my resolver (on ADC SOC), and when I actually take a position & velocity reading (on ADC EOC). I only need these two interrupts because they are going to be timed to when the PWM posts an interrupt when it completes, which initializes ADC SOC.
Now, although I only need two ISR's, Embedded Coder is automatically building an additional ISR into the model, Timer0 (at INT1.7 on the TI F28335), and integrating this into the final model. I'd like to delete Timer0, because it is now unnessessary. I'm not sure how to do this. Does anyone know how I can tell my Simulink/Embedded Coder model to not build Timer0 into my model anymore?
Thanks!
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Texas Instruments C2000 Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!