Choosing Between Interrupts and Polling for Critical Applications Like Airbags in Static Real-Time S
Hi..
critical applications like airbag it's better to use interrupt or polling with it in static real-time system
2 Replies
i think it's a good idea to connect it directly with the non-maskable interrupt that don't need to connect with the interrupt controller but what if the non-maskable interrupt is not an option ?
I would prefer using Interrupt over polling. The use of NMI (non-maskable interrupt) depends on the architecture of the MCU & interrupt intended to be used in the application. But in case, if non-maskable interrupt is not an option then consider using regular interrupt with high-priority