I found the following circuit in a reference board where they use ADG839 as a load switch to a negative voltage.
The VIN varies from 0V to -3.3V referenced to GND.
GPIO_IN is a GPIO input from an FPGA which can give HIGH(2.5V) and LOW(0V).
Using the GPIO, they control whether VIN is passed to VOUT or not.
I couldn't understand the circuit eventhough I tried.
Please help me to understand how it works and design a similar circuit in which GPIO_IN is a GPIO input from an FPGA which can give HIGH(1.8V) and LOW(0V).
Also, VIN varies from 0V to -2.4V referenced to GND in my case.