Patent ID: 7414427

Claim:
An integrated multi-function analog circuit including: at least one MOSFET gate-drive circuit having a gate-drive output coupled to a first I/O pad and a control input; at least one voltage-sensing circuit having an input coupled to a second I/O pad and having an output; at least one current-sensing circuit having an input coupled to the second I/O pad and a third I/O pad and having an output; at least one temperature-sensing circuit having an input coupled to a fourth I/O pad and having an output; an analog sensor multiplexer having a first input coupled to the output of the voltage-sensing circuit, a second input coupled to the output of the current-sensing circuit, and a third input coupled to the output of the temperature sensing circuit, and a set of select inputs; an analog-to-digital converter having an analog input coupled to the output of the analog sensor multiplexer and a set of digital outputs; a programmable digital circuit block having a first set of inputs coupled to the set of digital outputs of the analog-to-digital converter, a second set of inputs coupled to a plurality of digital I/O pads, and at least one output coupled to the control input of the MOSFET gate-drive circuit; and a programming control circuit coupled to a programming control I/O pad, the programming control circuit having outputs coupled to the programmable circuit block, the at least one MOSFET gate-drive circuit, the at least one voltage-sensing circuit, the at least one current-sensing circuit, the at least one temperature sensing circuit, the analog sensor multiplexer, and the analog-to-digital converter.