Patent ID: 7616026

Claim:
An integrated circuit comprising: a plurality of inputs; a plurality of outputs; a programmable logic block; an analog circuit block coupled to at least one of said inputs, said analog circuit block comprising a first set of analog functions each comprising at least one analog circuit; an analog-to-digital converter programmably coupleable to individual analog circuits in said analog circuit block; an interconnect architecture programmably coupling selected ones of said plurality of inputs, said plurality of outputs, said programmable logic block, said analog circuit block, and said analog-to-digital converter; wherein at least one of said inputs may be programmably configured as one of a digital input programmably coupleable to elements in said programmable logic block or as an analog input to an analog circuit in said analog circuit block and wherein at least one of the first set of analog functions comprises: a multiplexer having a first input, a second input responsively coupled to an input to the analog function, a third input, a control responsively coupled to a plurality of control lines, and an output coupled to an input of an analog multiplexer; a prescaler circuit having a first input responsively coupled to the input to the analog function, a second input responsively connected to an analog/digital control line, and an output coupled to the first input of the multiplexer; a monitor circuit having a first input responsively coupled to the input to the analog function, a second input responsively connected to the analog/digital control line, and an output coupled to the third input of the multiplexer; and a digital input circuit having a first input responsively coupled to the input to the analog function, a second input responsively connected to the analog/digital control line, and an output coupled to programmable logic.