Method for controlling at least one pin included in interface so as to switch to open state in response to moisture detection and electronic device for performing same

    公开(公告)号:US11502505B2

    公开(公告)日:2022-11-15

    申请号:US17267009

    申请日:2019-08-01

    Abstract: An electronic device according to various embodiments of the present invention may comprise: a housing; an interface connected to the housing or exposed through the housing and comprising at least one configuration channel (CC) pin; a circuit disposed inside the housing, comprising a current generator and a comparator, and electrically connected to the interface; a processor disposed inside the housing and operatively connected to the interface and the circuit; and a memory operatively connected to the processor. The memory cause the processor, when executed, to detect moisture corresponding to the at least one CC pin on the basis of the comparator while the at least one CC pin is connected to the current generator and to control at least one switch disposed between the current generator and the at least one CC pin, in response to detection of the moisture, thereby conducting switching such that the at least one CC pin is not connected to the current generator. Other embodiments are also possible.

Patent Agency Ranking