This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: LAUNCHXL-F28377S
Tool/software: Code Composer Studio
Hello,
I am using this Instruction __asm(" RPT #100 || NOP"). I want to declare 100 as variable. I am doing in this way __asm(" RPT #t1 || NOP") and before void main(void) i wrote this
volatile Uint32 t1 = 100. but its not working.
How would i do this.
raheel alam said:I am using this Instruction __asm(" RPT #100 || NOP"). I want to declare 100 as variable. I am doing in this way __asm(" RPT #t1 || NOP")
You cannot interact with asm() statements like that. Instead, use the DELAY_US macro supplied by controlSUITE. Unfortunately, I am not familiar with controlSUITE, so I cannot give you any further detail.
Thanks and regards,
-George