Quantcast
Viewing all articles
Browse latest Browse all 123737

Forum Post: RE: C6678 interrupt problem: restoring variables after Interrupt service routine

Carmine,

When you call a C function, the compiler puts additional code to save registers to the stack for you. The same can be done for C interrupt routines. A description of what the TI C6x C compiler does for interrupt service routine (ISR) and how to set it up is described section 7.6 of the C6000 C Compiler User's Guide SPRU187u at http://www.ti.com/lit/ug/spru187u/spru187u.pdf

As shown in section 7.6.3 skeleton example, writing an interrupt service routine in TI C6x C is simply using the "interrupt" keyword.

Please click on "Verify Answer" if this answers your question...


Viewing all articles
Browse latest Browse all 123737

Trending Articles



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