Go Down

Topic: Software v/s hardware interrupts (Read 725 times) previous topic - next topic

sreedevk

Which one has more precedence? Hardware or software interrupt? Does cli() and sei() act upon both kinds of interrupts??

nickgammon

There are no software interrupts, if that answers your question. :)

http://www.gammon.com.au/interrupts
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

sreedevk


sreedevk

SO does cli() and sei() affect both external and timer generated interrupts??

nickgammon

It affects all interrupts, except Reset which strictly speaking isn't an interrupt.
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

Go Up