Invention content
Based on this, it is necessary to need the outside that an I/O pins realization chip is used alone to draw for general integrated circuit
Pin preset acts, the problem of causing I/O pins to waste, and provides a kind of integrated circuit resets circuit, realizes that I/O draws in integrated circuit
The I/O pins of integrated circuit are saved in the multiplexing of script body function and reset function.
A kind of integrated circuit resets circuit, including control switch, first resistor, second resistance, 3rd resistor, the 4th electricity
Resistance, the 5th resistance and voltage comparator device;
One end of the control switch is connect with ic power end, the other end and described first of the control switch
One end of resistance connects, the other end of the first resistor respectively with one end of the second resistance and the 3rd resistor
One end connects, and the other end of the second resistance is connect with ic power end, the other end ground connection of the 3rd resistor, institute
It states the 4th resistance one end to connect with ic power end, the other end of the 4th resistance connects with one end of the 5th resistance
Connect, the other end of the 5th resistance ground connection, the in-phase input end of the voltage comparator device be connected to the 4th resistance with
Between 5th resistance, the inverting input of the voltage comparator device is connected to the second resistance and the 3rd resistor
Between;
Wherein, the resistance value of the first resistor is R1, the resistance value of the second resistance is R2, the 3rd resistor
Resistance value is R3, the resistance value of the 4th resistance is R4, the resistance value of the 5th resistance is R5, R1、R2、R3、R4And R5's
Size meets following formula:
A kind of integrated circuit, including integrated circuit ontology and the integrated circuit resets circuit, the integrated circuit are multiple
Position circuit is connect with the integrated circuit ontology.
Integrated circuit resets circuit of the present invention, including control switch, first resistor, second resistance, 3rd resistor, the 4th electricity
Resistance, the 5th resistance and voltage comparator device, first resistor, second resistance, 3rd resistor, the 4th resistance, the 5th resistance electricity
Resistance value meets formulaWhen control switch disconnects, due toIt is then applied to the 5th ohmically voltage value and is more than or equal to the voltage value being applied in 3rd resistor, i.e. voltage ratio
It is greater than or equal to anti-phase input terminal voltage compared with device homophase input terminal voltage, voltage comparator device exports high level signal, integrates
The I/O pin execution itself function in circuit, when control switch is closed, due to
It is then applied to the 5th ohmically voltage value and is less than the voltage value being applied in 3rd resistor, i.e. voltage comparator device homophase input
Terminal voltage is less than reverse input end voltage, and comparison means exports low level reset signal, and the I/O pins execute again in integrated circuit
Bit function realizes the multiplexing of I/O pins itself function and reset function, saves the I/O pins of integrated circuit.
In addition, the present invention also provides a kind of integrated circuit, including integrated circuit ontology and integrated circuit resets electricity
Road, the integrated circuit resets circuit are connect with the integrated circuit ontology.Entire integrated circuit realizes I/O pins function itself
With the multiplexing of reset function, I/O pins are saved.
Specific implementation mode
As shown in Figure 1, the integrated circuit resets circuit includes controlling switch 100 in one of the embodiments, first
Resistance 200, second resistance 300,3rd resistor 400, the 4th resistance 500, the 5th resistance 600 and voltage comparator device 700;
One end of the control switch 100 is connect with ic power end, the other end of the control switch 100 and institute
State one end connection of first resistor 200, the other end of the first resistor 200 respectively with one end of the second resistance 300 with
And one end connection of the 3rd resistor 400, the other end of the second resistance 300 is connect with ic power end, described
The other end of 3rd resistor 400 is grounded, and described 4th resistance, 500 one end is connect with ic power end, the 4th resistance
500 other end is connect with one end of the 5th resistance 600, the other end ground connection of the 5th resistance 600, the voltage ratio
It is connected between the 4th resistance 500 and the 5th resistance 600 compared with the in-phase input end of device 700, the voltage compares
The inverting input of device 700 is connected between the second resistance 300 and the 3rd resistor 400;
Wherein, the resistance value of the first resistor 200 is R1, the resistance value of the second resistance 300 is R2, the third
The resistance value of resistance 400 is R3, the resistance value of the 4th resistance 500 is R4, the resistance value of the 5th resistance 600 is R5,
R1、R2、R3、R4And R5Size meet following formula:
Integrated circuit resets circuit of the present invention, including control switch, first resistor, second resistance, 3rd resistor, the 4th electricity
Resistance, the 5th resistance and voltage comparator device, first resistor, second resistance, 3rd resistor, the 4th resistance, the 5th resistance electricity
Resistance value meets formulaWhen control switch disconnects, due toIt is then applied to the 5th ohmically voltage value and is more than or equal to the voltage value being applied in 3rd resistor, i.e. voltage ratio
It is greater than or equal to anti-phase input terminal voltage compared with device homophase input terminal voltage, voltage comparator device exports high level signal, integrates
The I/O pin execution itself function in circuit, when control switch is closed, due to
It is then applied to the 5th ohmically voltage value and is less than the voltage value being applied in 3rd resistor, i.e. voltage comparator device homophase input
Terminal voltage is less than reverse input end voltage, and comparison means exports low level reset signal, and the I/O pins execute again in integrated circuit
Bit function realizes the multiplexing of I/O pins itself function and reset function, saves the I/O pins of integrated circuit.
When controlling the disconnection of switch 100, due to voltage value and the input the 4th of input second resistance 300,3rd resistor 400
Resistance 500, the voltage value of the 5th resistance 600 are equal,Show that voltage value in 3rd resistor 400 is less than or equal to the
Voltage value on five resistance 600, i.e. the homophase input terminal voltage of voltage comparator device 700 are greater than or equal to inverting input electricity
Pressure, voltage comparator device 700 export high level.When controlling the closure of switch 100, the voltage packet that is applied in 3rd resistor 400
Two-way is included, is to be transmitted to 3rd resistor 400 by controlling switch 100 and first resistor 200 all the way, another way is by second
Resistance 300 is transmitted to 3rd resistor 400, if the voltage for defining ic power is U, is applied in 3rd resistor 400
Voltage valueThe voltage being applied on the 5th resistance 600And due toThen U3>U5, i.e. the homophase input terminal voltage of voltage comparison means 700 is less than
Anti-phase input terminal voltage, voltage comparator device 700 export low level reset signal, realize I/O pins function itself and reset work(
The multiplexing of energy, saves the I/O pins of integrated circuit.
The voltage comparator device 700 is voltage comparator in one of the embodiments,.
As shown in Fig. 2, the integrated circuit resets circuit further includes filter capacitor 800, institute in one of the embodiments,
It states 800 one end of filter capacitor to connect with the one end of the first resistor 200 far from ic power end, the filter capacitor
800 other ends are grounded.
Filter capacitor 800 is for being filtered the electric current in circuit.
The first resistor 200, the second resistance 300, the 3rd resistor 400, institute in one of the embodiments,
The resistance value for stating the 4th resistance 500 and the 5th resistance 600 is equal.
It is assumed that the first resistor 200, the second resistance 300, the 3rd resistor 400, the 4th resistance 500 with
And the resistance value of the 5th resistance 600 is R, the voltage of ic power is U.When controlling the disconnection of switch 100, third
Voltage value U on resistance 4003=U/2, the voltage value U on the 5th resistance 6005=U/2, voltage comparator device 700 export high electricity
It is flat, when controlling the closure of switch 100, the voltage value U in 3rd resistor 4003=U, the voltage value U on the 5th resistance 6005=U/
2, voltage comparator device 700 exports low level reset signal.
The control switch 100 is set to the first resistor 200 outside integrated circuit in one of the embodiments,
The second resistance 300, the 3rd resistor 400, the 4th resistance 500, the 5th resistance 600 and voltage ratio
It is set in integrated circuit compared with device 700.
IC interior and surrounding, optimization knot are rationally set to the device in the integrated circuit resets circuit
Structure saves space.
A kind of integrated circuit, including integrated circuit ontology and the integrated circuit resets circuit, the integrated circuit
Reset circuit is connect with the integrated circuit ontology.
The present invention also provides a kind of integrated circuit, including integrated circuit ontology and the integrated circuit resets circuit, institutes
Integrated circuit resets circuit is stated to connect with the integrated circuit ontology.Entire integrated circuit is realized I/O pins function itself and is answered
I/O pins are saved in the multiplexing of bit function.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.