terrible psoc5 ! | Cypress Semiconductor
terrible psoc5 !
state_var is only available in main loop. Nowhere else this value is neither read nor written.
How it's possible, that in case statement case 7:
value on exit is negative?
in assemble there are 3 instructions related to increament state_var.
However it's not rtos but a simple single thread aplication, mainly for problem isolation.
Should I disable breakpoints during increment/decrement which do not play with this variable at all?