发明申请
摘要:
The present disclosure relates to an electronic technology and discloses a method and circuit for configuring pin states. The method for configuring pin states includes: establishing a connection between a pin and a variable resistor; loading a fixed voltage on the pin, and detecting intensity of currents generated by the variable resistor under different resistance; comparing the detected current intensity with at least two different reference values, and outputting corresponding pin states according to the comparison results; or loading a fixed current on the pin, and detecting voltages generated by the variable resistor under different resistance; comparing the detected voltages with at least two different reference values, and outputting corresponding pin states according to the comparison results. With the present disclosure, multiple pin states may be easily obtained.
信息查询
IPC分类: