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.
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