First page Back Continue Last page Graphics
Interrupt Routine Trade-off
Although interrupt routines should be short they shouldn't be too short.
- Interrupt routines usually cause a call to some RTOS routines to pass messages or activate semaphores.
- RTOS routines are generally costly to execute.
- Exceedingly small interrupt routines can therefor consume too much computational power by causing too many RTOS calls.
Try for the balance of this trade-off