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.

Compiler/TMS320F28335: Terminate program execution.

Part Number: TMS320F28335


Tool/software: TI C/C++ Compiler

Hi to all,

We have a while(1) within our main and we want to terminate program execution when an interrupt arises.

We could set a flag, check it within the while(1) and execute a break;. But we would like to know if there is a way or an instruction to terminate program execution that we could use within the ISR.

Thank you very much.

Paloma