Method and apparatus for configuring the operation of an integrated
circuit. An integrated circuit with external programming capabilities is
disclosed. A pin current source is provided for interfacing with at least
one pin on the integrated circuit to control current flow there through
to an external load interfaced to the at least one pin external to the
integrated circuit. The external load has at least two discrete values. A
voltage detector detects the voltage on the at least one pin and a state
detector then compares the voltage on the at least one pin to at least
two discrete voltage thresholds. Each of the discrete voltages is
associated with a separate value of a control word, and the state
detector is operable to determine the value of the control word
associated with the detected voltage. The state detector then outputs the
determined value of the control word.