This might be a straight forward question: An AVR gets its power from a regulator which can be turned off with a digital low level input. However on a spike (digital high followed by digital low) the regulator will re-enable itself.
If I use a GPIO of the AVR to control this regulator enable input, the regulator will be turned off, hence the AVR powers off too. Kind of a suicide thing, I know but I need it.
What can I expect from the AVR ports after cutting down the power from it?
What shall I do to kill the spikes on the ports? I must be sure that on the AVR's port remains on GND after the specific suicide instruction.
Is there any hardware requirements which applies to this situation?