| CPC G06F 13/382 (2013.01) [G05F 1/56 (2013.01); H01R 13/6691 (2013.01); H01R 24/60 (2013.01); H02J 7/00032 (2020.01)] | 16 Claims |

|
1. A data cable, comprising: a type-A interface; and a type-C interface,
wherein:
the type-A interface and the type-C interface are connected by using a cable,
the type-A interface and the type-C interface each comprises a VBUS pin, a CC pin, a D+ pin, a D− pin, and a GND pin, wherein the VBUS pin, the D+ pin, the D− pin, and the GND pin of the type-A interface are connected to the VBUS pin, the D+ pin, the D− pin, and the GND pin of the type-C interface in one-to-one correspondence, and
a circuit identification module is disposed in the data cable, wherein the circuit identification module comprises a switch circuit, a filtering circuit, a voltage regulator circuit, and a comparator circuit, wherein
the switch circuit is connected to the CC pin of the type-C interface, an output end of the voltage regulator circuit, and the CC pin of the type-A interface,
a control end of the switch circuit is connected to an output end of the comparator circuit,
an input end of the voltage regulator circuit is connected to a VBUS cable in the cable,
an output end of the voltage regulator circuit is further connected to a first input end of the comparator circuit,
a second input end of the comparator circuit is connected to an output end of the filtering circuit, and
an input end of the filtering circuit is connected to the CC pin of the type-A interface, wherein
under the control of the comparator circuit, the switch circuit connects the CC pin of the type-A interface to the CC pin of the type-C interface, or connects the output end of the voltage regulator circuit to the CC pin of the type-C interface.
|