INTERRUPT ERRORS
hi
is possible interrupt appears when c statement needs several low level opcodes
cause losing data registers involved in multi opcodes?
thanks
elico
is possible interrupt appears when c statement needs several low level opcodes
cause losing data registers involved in multi opcodes?
thanks
elico
no, not when using normal arduino code.
i remember there special way have short interrupt doesn't save registers on stack. have not used such low level programming myself. possible, bad programming.
did use 'volatile' keyword global variables can changed in interrupt ? microcontroller has many registers store variables, without 'volatile' keyword go wrong.
i remember there special way have short interrupt doesn't save registers on stack. have not used such low level programming myself. possible, bad programming.
did use 'volatile' keyword global variables can changed in interrupt ? microcontroller has many registers store variables, without 'volatile' keyword go wrong.
Arduino Forum > Using Arduino > Programming Questions > INTERRUPT ERRORS
arduino
Comments
Post a Comment