Patent ID: 9229833
Filing Date: 2016-01-05
CPC Classification: G06F

Claim Text:
1. An apparatus, comprising: a current source configured to apply a specified value of current to a resistor of an accessory device to generate a resulting resistor voltage when an electrical connection to the accessory device is detected; a comparator configured to receive and compare the resulting resistor voltage to a reference voltage; and a controller configured to: repetitively set the value of current applied by the current source to the resistor of the accessory device according to bits stored in a register, initiate comparisons of resistor voltages resulting from the applied current to the reference voltage, update the bits of the register according to outcomes of the comparisons, and change the value of the current applied by the current source according to the updated bits of the register; and identify a function performable by the accessory device using the bits stored in the register.