Connecting a low-dropout regulator's enable pin directly to the unregulated voltage input forces the output voltage to track the input voltage during the regulator's turn-on and turn-off intervals
Figure 1. Connecting a low-dropout regulator's enable pin directly to the unregulated voltage input forces the output voltage to track the input voltage during the regulator's turn-on and turn-off intervals