Q:

Can we pass any parameter and return a value from the ISR?

0

Can we pass any parameter and return a value from the ISR?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

An ISR returns nothing and not allow to pass any parameter. An ISR is called when a hardware or software event occurs, it is not called by the code, so that’s the reason no parameters are passed into an ISR.

In the above line, we have already read that the ISR is not called by the code, so there is no calling code to read the returned values of the ISR. It is the reason that an ISR is not returned any value.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Embedded C interview questions and answers (2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is interrupt latency?... >>
<< What is ISR?...