Patent ID: 7978107

Claim:
A digital-to-analog converter (DAC) for a power supply controller, the DAC comprising: a first node to be coupled to provide a first analog signal to a variable oscillator of the power supply controller; a second node to be coupled to provide a second analog signal to the variable oscillator of the power supply controller; a current source; and a switch coupled to the current source and configured to couple the current source to the first node to provide current to the first analog signal in response to a binary digit received by the DAC, wherein the switch is further configured to couple the current source to the second node to provide current to the second analog signal in response to a complement of the binary digit, wherein the first analog signal is representative of an on-time of a switching signal to be generated by the variable oscillator and the second analog signal is representative of a switching period of a switching signal to be generated by the variable oscillator.