tags:

views:

195

answers:

0

Assume there is a interrupt based callback,The isr disable the interrupt and goes for a callback,then we start a timer.The timer disables all the interrupt in the system and then when it is stopped it enables them back.The question what is a need of disabling and enabling all the interrupts inside the timer functions?? also incase we use the same timer functions in a normal scenario[ i mean without interrupt context] what will be the effect for the same in real time system. I have read that all interrupt should be enabled while we start a timer,to what extent this rule is applicable??

I am a beginner in timer stuffs so please help.