发明名称 Successive approximation resistor detection
摘要 An apparatus comprises a connector configured to receive an electrical contact of an accessory device that is electrically coupled to a resistor of the accessory device, a current source configured to apply a specified current to the resistor to generate a resulting voltage, a comparator configured to receive and compare the resulting voltage to a reference voltage, and a controller configured to store an outcome of the comparison as a bit in a register, to adjust the applied current using the outcome of the comparison, and to determine a resistance value for the resistor using the bit stored in the register.
申请公布号 US9229833(B2) 申请公布日期 2016.01.05
申请号 US201213359006 申请日期 2012.01.26
申请人 FAIRCHILD SEMICONDUCTOR CORPORATION 发明人 Wetzel Randall;Snowdon Kenneth P.;O'Brien Kenneth
分类号 G01R27/08;G06F11/30 主分类号 G01R27/08
代理机构 Schwegman Lundberg & Woessner, P.A. 代理人 Schwegman Lundberg & Woessner, P.A.
主权项 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.
地址 San Jose CA US