SLVSFG1A January 2021 – May 2021 TPS2116
In the case where VIN1 takes priority over VIN2, a resistor divider can be used to set the switchover voltage threshold. When VIN1 is first applied, PR1 is brought high and VOUT is powered by that input. As VIN1 begins to drop, the voltage on PR1 is lowered until it crosses the VREF threshold. At this point, the device switches over to VIN2.