Patent ID: 9326079
Filing Date: 2016-04-26
CPC Classification: H01R,H04R

Claim Text:
1. A detection circuit, configured to detect an earphone plug, comprising: a first pin and a second pin, configured to connect to at least one of signal transduction areas of the plug; a voltage-detection circuit, configured to generate a first division voltage and a second division voltage according to the signal transduction area(s) connected by the first pin and the second pin; a processing unit, determining the signal transduction area(s) connected by the first pin and the second pin according to the first division voltage and the second division voltage and generating a switch-control signal accordingly; a microphone switch, controlled by the switch-control signal, wherein the microphone switch connects the first pin and the second pin respectively to a microphone output node and a ground when the processing unit determines that the first pin and the second pin are respectively connected to a microphone area and a ground area of the plug, and the microphone switch connects the first pin and the second pin to the ground and the microphone output node, respectively, when the processing unit determines that the first pin and the second pin are respectively connected to the ground area and the microphone area of the plug; and a codec, coupled to the microphone output node.