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.

TMS320F28377S: Problem with using enum elements under condition

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Hi all, 

Need help with using enum elements under conditions (see below). Project building in Code Composer Studio Version: 11.1.0.00011, compiler version - ti-cgt-c2000_21.6.0.LTS. This part of code looks meaningless because used just for reference and better understanding of the problem.

Expecting to get the result shown below.

Thanks for the solutions.