Abstract:
An electronic device is provided. The electronic device includes a display, a first data interface circuit including a port for connecting with an external device, and configured to exchange serial data with the external device, at least one processor operatively connected with the first data interface circuit, and a memory operatively connected with the at least one processor, the memory stores instructions that cause the at least one processor to allocate a plurality of input/output ports for processing serial data received from the first data interface circuit in parallel, and receive a first signal from the external device through the first data interface circuit, in response to the first signal being received, identify a port set to be in an active state among the plurality of input/output ports, identify the first signal by using the port that is identified as being in the active state, and display information.
Abstract:
An electronic device according to various embodiments may comprise: a sensor circuit; a memory storing handler activation information; and a first processor and a second processor operatively connected to the sensor circuit and the memory. The sensor circuit may be configured to transmit an interrupt signal using an interrupt transmission unit comprising circuitry electrically connected to the first processor and the second processor, and configured to transmit sensor data using a sensor data transceiver electrically connected to the first processor and the second processor. The memory may store instructions which, when executed, cause the first processor to: amend or update interrupt handler activation information in the memory in response to a system state of the electronic device, and receive the sensor data from the sensor circuit in response to an interrupt signal transmitted from the sensor circuit based on identifying, using the interrupt handler activation information, that the first processor processes the interrupt of the sensor circuit; wherein the instructions, when executed, cause the second processor to: receive the sensor data from the sensor circuit in response to the interrupt signal transmitted from the sensor circuit based on identifying, using the interrupt handler activation information, that the second processor processes the interrupt of the sensor circuit.
Abstract:
A method of minimizing power consumption of an electronic device is provided. The method includes receiving a signal through a plurality of receivers of the electronic device, checking a status of the received signal, determining whether the received signal satisfies a preset amplifier control condition based on the status of the received signal, and adjusting a gain of an amplifier, which is connected to a receiver of the plurality of receivers, in response to the preset amplifier control condition when the preset amplifier control condition is satisfied.