Robert Seczkowski wrote:
Does anyone has idea in what cases use dint()....eint(). If I run the code with one oscilator, Do I need to use dint() when I write to common variable.
it has nothing to do with the clock source.if you modify a global var larger than a word, you have to use dint();nop() ... eint() because the write operation is not elementary and a interrupt could occour while accesing the data.
chris