This disclosure relates to an interface circuit, an interface
chip, and an electronic device. The interface circuit includes: a detection circuit, electrically connected to at least one functional terminal of the interface, for detecting electrical information of the functional terminal, which indicates the presence of
foreign matter on the interface; and a protection circuit, electrically connected to the detection circuit, at least some of the functional terminals, and the
control circuit of the electronic device, for protecting the
control circuit. By using a detection circuit and a protection circuit to construct the interface circuit, the interface circuit can not only detect the presence of
foreign matter on the interface but also protect the
control circuit, thereby improving the reliability of the interface circuit. Furthermore, since the detection circuit and the protection circuit can be electrically connected to the same functional terminal, the number of lines in the interface circuit is reduced, thus lowering the complexity of the interface circuit.