主权项 |
1. A light emitting diode (LED) driver, comprising:
a first switch to receive an input voltage from an input voltage source and coupled to an output voltage node, said switch configured to switch on and off so as to regulate a voltage level at the output voltage node, wherein the voltage level at the output voltage node is to power a plurality of LEDs; a second switch coupled to the plurality of LEDs, and configured to switch on and off so as to vary a brightness of the plurality of LEDs; and a control logic coupled to the first and second switches, and, based on an external signal, configured to control first and second control signals to switch on and off the first and second switches, respectively; wherein, based on an active time portion of the external signal, the control logic concurrently determines an active time portion of the second control signal and a number of switching cycles of the first control signal to switch on and off the first switch. |