P
P
papkinv2015-03-18 12:45:56
Microcontrollers
papkinv, 2015-03-18 12:45:56

Is the interrupt handler in the Atmega Attiny13 interrupted by another interrupt?

Hello!
The program on the ATTINY13A microcontroller uses timer, comparator and pin changed interrupts (difficult to translate). When we are inside one interrupt handler, can other interrupts interrupt the process of its processing? Should I do CLI and then SEI or is it optional?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2015-03-18
@papkinv

How about at least looking through the datasheet or easyelectronics?
When entering the handler, all interrupts are blocked, so if you do not do sei in the handler (there are craftsmen), no one will interrupt it. When reti is called, interrupts are enabled in place.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question