A linear voltage regulator provides a selectable output voltage to a load.
The linear voltage regulator includes: a regulating circuit including an
input terminal for receiving an input voltage, an output terminal for
providing an output voltage to a load, and an adjusting terminal; a first
resistor and a second resistor connected between the output terminal and
ground for receiving the output voltage; and a voltage sampling control
circuit electrically connected to a node between the first resistor and
the second resistor for receiving logic signals from a controlling chip,
and generating a reference current to the adjusting terminal of the
regulating circuit to provide the selectable output voltage.