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.
