A low dropout (LDO) regulator operates in wide input range. The LDO
includes an N-type pass transistor and a P-type pass transistor for
supplying power to the output terminal. The P-type pass transistor is
connected with N-type pass transistor in parallel. Two error amplifiers
control the gate terminals of the N-type pass transistor and P-type pass
transistor to generate a first output voltage and a second output
voltage. Thus, the first output voltage is generated when the input
voltage is higher than a threshold voltage, and the second output voltage
is generated when the input voltage is lower than the threshold voltage.