Hi,
are there any intrinsic / atomic functions available to msp430 developers (in CCS) to perform the following atomically:
- increment/decrement uint8_t by 1 (e.g. count++, count--)
- compare and increment variable (e.g. if(x<999){x++;}else{x=0;}
- swap pointers to char arrays (e.g. https://stackoverflow.com/questions/8403447/swapping-pointers-in-c-char-int