The present invention relates to the field of
integrated circuit technology, and in particular, to a single-port multi-
control mode interface circuit. Port module: comprising a port and a switch unit, wherein the port is connected to the switch unit, wherein the switch unit is respectively connected to a pull-up
resistor and a pull-down
resistor, and the switch unit has three working states. At least one group of comparison units, each group of comparison modules comprises two comparison modules, wherein the comparison modules comprise a
transistor element, a first MOS tube, a
resistive element and an
inverter, wherein in one of the comparison modules, the
transistor element is connected to an input power supply, and the
resistive element is grounded; in another comparison module, the
transistor element is grounded, and the
resistive element is connected to an input power supply;
signal control module: selecting an output mode according to the output
signal of each comparison module in the comparison module. This solves the problem that it is relatively complicated to realize multi-
mode control through a single port in the prior art.