| CPC G01R 31/31727 (2013.01) | 20 Claims |

|
1. A circuit, comprising:
a resistor having a first resistor terminal and a second resistor terminal, the first resistor terminal coupled to a ground terminal;
a first transistor coupled between a supply voltage terminal and the second resistor terminal and having a first control terminal;
a second transistor coupled between the supply voltage terminal and the second resistor terminal and having a second control terminal;
a ramp generator circuit having first and second outputs coupled to the first and second control terminals, respectively, and first and second inputs configured to receive first and second signals, respectively, the ramp generator circuit being configured to provide at the first output a first ramp signal based on the first signal and to provide at the second output a second ramp signal based on the second signal; and
a comparator having a comparator input and a comparator output, the comparator input coupled to the second resistor terminal.
|