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.

MSP430FR5994: Intrinsic atomic functions

Part Number: MSP430FR5994

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

**Attention** This is a public forum