Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TMS320F28335: Will assignment statements be interrupted by interruptions?

$
0
0

Part Number:TMS320F28335

Dear team:

Like the picture above, "driver_par.frq_pwm" is a 16-bit data, It only needs one assembly assignment instruction. (I wonder if this is atomic operation?)

But "driver_par.kpwm = driver_par.u_n", This instruction is the assignment of the flout variable, which requires two assembly instructions. Including “driver_par.iuvw_coff = 0.001395089286”.

My question is, if interruption occurs between these two assembly instructions for assignment, will the assignment operation be interrupted, resulting in assignment problems?

Best regards


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>