摘要 |
A detection circuit of an electronic device, includes a jack circuit, a first switch, a second switch, and a detection end. The jack circuit includes a type detection pin and a connection detection pin. The first switch includes a first control end. The connection detection pin is connected to the first control end to control the first switch on or off according to whether the audio device is connected to the electronic device. The second switch is connected to ground via the first switch. The second switch includes a second control end. The type detection pin is connected to the second control end to control the second switch on or off according to the type of the audio device. The detection end is connected to the first switch via a first resistor, and is connected to the second switch via a second resistor. The detection end is adapted to generate different signals to indicate a connection status of the electronic device and the audio device.
|