I have a XC6220B331MR-G 3.3 V LDO voltage regulator that supplies power to the MCU along with some other components on my board.
The regulator has an enable pin which I connected to VIN so that the regulator is always on. I wanted to add a push switch which I can press to cut the power momentarily, which will reset the MCU and everything connected to it.
This is what I have right now, and I'm not sure how to incorporate the switch in the design.