Patent ID: 9225200
Filing Date: 2015-12-29
Classification: G06F,H02J

Abstract:
1. An electronic device coupled to a first external device with a charging function, comprising a connection interface comprising a power pin and a first signal transmitting/receiving (T/R) pin set; a voltage regulation unit coupled to the power pin; a storage unit, coupled to the voltage regulation unit and powered by a first operation voltage, for storing first device information of the electronic device; a charging unit coupled to the power pin; a processing unit, coupled to the charging unit and powered by a second operation voltage, for performing a system operation of the electronic device; and a switching unit, powered by the first operation voltage, for receiving a selection signal, and comprising a first input terminal set coupled to the storage unit, a second input terminal set coupled to the processing unit, and an output terminal set coupled to the first signal T/R pin set, wherein when the electronic device is in a power-exhaustion state and the first external device is coupled to the connection interface to provide a first supply voltage to the power pin, the voltage regulation unit transforms the first supply voltage to the first operation voltage, and the switching unit couples the first input terminal set to the output terminal set according to the selection signal to transmit the first device information to the first external device via the first signal T/R pin set, wherein when the first external device provides a second supply voltage to the power pin in response to the first device information, the electronic device is in a charging state, wherein in the charging state, the charging unit provides the second operation voltage according to the second supply voltage; wherein the connection interface further comprises a second signal transmitting/receiving (T/R) pin set coupled to the processing unit, and wherein when the electronic device is in a non-power-exhaustion state and a second external device is coupled to the connection interface, the processing unit reads second device information from the second external device via the second signal T/R pin set to determine whether the second device information conforms to preset information or not, and wherein when the processing unit determines that the second device information conforms to the preset information, the switching unit couples the first input terminal set to the output terminal set.