When you press the button, it mechanically closes two different circuits.
The first one triggers a pin on the CPU and then the CPU can run some code to sleep or wake or whatever it wants to do.
But what if the CPU has totally crashed? And you need to do a hard reset? Then there will be a complete separate analog circuit that runs a simple timer, and once the timer hits it’s set value, it will open and close a switch to physically turn the CPU off and back on again.
Latest Answers