Im working on a way to do an emergency shutdown in the event of power
fail. My hardware is designed to assert an interrupt when input power
what’s the best way of doing a shutdown when the interrupt is set?
has anyone out there tried this trick or something close to it?