Patent ID: 9197957
Filing Date: 2015-11-24
Classification: H04R

Abstract:
1. An electronic device capable of being powered through an earphone interface, the electronic device comprising: an earphone interface, comprising a left channel pin, a right channel pin, a ground pin, and a microphone pin; an audio codec chip, comprising a left output channel pin, a right output channel pin, and a microphone input pin, wherein the left output channel pin of the audio codec chip is electrically connected to the left channel pin of the earphone interface; a first switch, comprising a first normally open terminal, a first normally closed terminal, a first common terminal, and a first controlled terminal, wherein the first normally closed terminal of the first switch is grounded through a first resistance, the first normally open terminal is connected with the right channel output pin of the audio codec chip, and the first common terminal is connected with the right channel pin of the earphone interface; an adapter power input terminal; a second switch, comprising a second normally closed terminal, a second normally open terminal, a second common terminal, and a second controlled terminal, wherein the second normally closed terminal of the second switch is connected with the adapter power input terminal, the second normally open terminal is connected with the microphone input pin of the audio codec chip, and the second common terminal is connected with the microphone pin of the earphone interface; and a processing unit, comprising a detect pin and a switch control pin, wherein the detect pin is electrically connected with the left channel pin of the earphone interface, and the switch control pin is electrically connected with both the first controlled terminal and the second controlled terminal.