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.

CCS5 / MSP430 - how to declare an "atomic" function?



Hi,

how can i mimic IARs way to declare an atomic function (IAR "__monitor"), that is a function with interrupts disabled automatically once the function is called?

Regard

Ulf