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

    IPC分类号: H02H5/08 H02H1/00 G06F13/42

    摘要: 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.

    Image data processing method and device therefor

    公开(公告)号:US11431900B2

    公开(公告)日:2022-08-30

    申请号:US16975229

    申请日:2019-03-20

    摘要: Disclosed is an electronic device including an image obtaining device configured to obtain at least one pieces of image data, at least one sensor to sense movement of a user, a display, at least one processor electrically connected to the image obtaining device, the at least one sensor, and the display, and a memory electrically connected to the at least one processor to store instructions that when executed, cause the processor to obtain multiple pieces of first image data through the image obtaining device while obtaining data associated with a first movement of the user through the at least one sensor, obtain multiple pieces of second image data through the image obtaining device while obtaining data associated with a second movement of the user through the at least one sensor, process the multiple pieces of first image data through a first image processing scheme corresponding to the first movement and output a processing result through the display, and process the multiple pieces of second image data through a second image processing scheme corresponding to the second movement and different from the first image processing scheme, and output a processing result through the display. Moreover, various embodiment found through the present disclosure are possible.