Utility model content
Based on this, be necessary to need to be used alone the external pin homing action that an I/O pin realizes chip for general integrated circuit, cause the problem that I/O pin is wasted, a kind of integrated circuit resets circuit is provided, realize the multiplexing of the function of I/O pin own and reset function in integrated circuit, save the I/O pin of integrated circuit.
A kind of integrated circuit resets circuit, comprises control switch, the first resistance, the second resistance, the 3rd resistance, the 4th resistance, the 5th resistance and voltage comparator device;
One end of described control switch is connected with ic power end, the other end of described control switch is connected with one end of described first resistance, the other end of described first resistance is connected with one end of described second resistance and one end of described 3rd resistance respectively, the other end of described second resistance is connected with ic power end, the other end ground connection of described 3rd resistance, described 4th resistance one end is connected with ic power end, the other end of described 4th resistance is connected with one end of described 5th resistance, the other end ground connection of described 5th resistance, the in-phase input end of described voltage comparator device is connected between described 4th resistance and described 5th resistance, the inverting input of described voltage comparator device is connected between described second resistance and described 3rd resistance,
Wherein, the resistance value of described first resistance is R
1, the resistance value of described second resistance is R
2, the resistance value of described 3rd resistance is R
3, the resistance value of described 4th resistance is R
4, the resistance value of described 5th resistance is R
5, R
1, R
2, R
3, R
4and R
5size meet following formula:
A kind of integrated circuit, comprise integrated circuit body and described integrated circuit resets circuit, described integrated circuit resets circuit is connected with described integrated circuit body.
The utility model integrated circuit resets circuit, comprise control switch, first resistance, the second resistance, the 3rd resistance, the 4th resistance, the 5th resistance and voltage comparator device, the resistance value of the first resistance, the second resistance, the 3rd resistance, the 4th resistance, the 5th resistance meets formula
when control switch disconnects, due to
then be applied to the 5th ohmically magnitude of voltage to be more than or equal to and to be applied to the 3rd ohmically magnitude of voltage, namely voltage comparator device in-phase input end voltage is more than or equal to anti-phase input terminal voltage, voltage comparator device exports high level signal, the own function of this I/O pin execution in integrated circuit, when control switch closes, due to
then be applied to the 5th ohmically magnitude of voltage to be less than and to be applied to the 3rd ohmically magnitude of voltage, namely voltage comparator device in-phase input end voltage is less than reverse input end voltage, comparison means output low level reset signal, in integrated circuit, this I/O pin performs reset function, realize the multiplexing of the function of I/O pin own and reset function, save the I/O pin of integrated circuit.
In addition, the utility model also provides a kind of integrated circuit, and comprise integrated circuit body and described integrated circuit resets circuit, described integrated circuit resets circuit is connected with described integrated circuit body.Whole integrated circuit realizes the multiplexing of the function of I/O pin own and reset function, saves I/O pin.
Embodiment
As shown in Figure 1, wherein in an embodiment, described integrated circuit resets circuit comprises control switch 100, the first resistance 200, second resistance 300, the 3rd resistance 400, the 4th resistance 500, the 5th resistance 600 and voltage comparator device 700;
One end of described control switch 100 is connected with ic power end, the other end of described control switch 100 is connected with one end of described first resistance 200, the other end of described first resistance 200 is connected with one end of described second resistance 300 and one end of described 3rd resistance 400 respectively, the other end of described second resistance 300 is connected with ic power end, the other end ground connection of described 3rd resistance 400, described 4th resistance 500 one end is connected with ic power end, the other end of described 4th resistance 500 is connected with one end of described 5th resistance 600, the other end ground connection of described 5th resistance 600, the in-phase input end of described voltage comparator device 700 is connected between described 4th resistance 500 and described 5th resistance 600, the inverting input of described voltage comparator device 700 is connected between described second resistance 300 and described 3rd resistance 400,
Wherein, the resistance value of described first resistance 200 is R
1, the resistance value of described second resistance 300 is R
2, the resistance value of described 3rd resistance 400 is R
3, the resistance value of described 4th resistance 500 is R
4, the resistance value of described 5th resistance 600 is R
5, R
1, R
2, R
3, R
4and R
5size meet following formula:
The utility model integrated circuit resets circuit, comprise control switch, first resistance, the second resistance, the 3rd resistance, the 4th resistance, the 5th resistance and voltage comparator device, the resistance value of the first resistance, the second resistance, the 3rd resistance, the 4th resistance, the 5th resistance meets formula
when control switch disconnects, due to
then be applied to the 5th ohmically magnitude of voltage to be more than or equal to and to be applied to the 3rd ohmically magnitude of voltage, namely voltage comparator device in-phase input end voltage is more than or equal to anti-phase input terminal voltage, voltage comparator device exports high level signal, the own function of this I/O pin execution in integrated circuit, when control switch closes, due to
then be applied to the 5th ohmically magnitude of voltage to be less than and to be applied to the 3rd ohmically magnitude of voltage, namely voltage comparator device in-phase input end voltage is less than reverse input end voltage, comparison means output low level reset signal, in integrated circuit, this I/O pin performs reset function, realize the multiplexing of the function of I/O pin own and reset function, save the I/O pin of integrated circuit.
When control switch 100 disconnects, due to input the second resistance 300, the 3rd resistance 400 magnitude of voltage with input the 4th resistance 500, the 5th resistance 600 magnitude of voltage equal,
the magnitude of voltage showing on the 3rd resistance 400 is less than or equal to the magnitude of voltage on the 5th resistance 600, and namely the in-phase input end voltage of voltage comparator device 700 is more than or equal to anti-phase input terminal voltage, and voltage comparator device 700 exports high level.When control switch 100 closes, the voltage be applied on the 3rd resistance 400 comprises two-way, one tunnel transfers to the 3rd resistance 400 by control switch 100 and the first resistance 200, another road transfers to the 3rd resistance 400 by the second resistance 300, if the voltage of definition ic power is U, be then applied to the magnitude of voltage on the 3rd resistance 400
be applied to the voltage on the 5th resistance 600
again due to
then U
3>U
5, namely the in-phase input end voltage of voltage comparison means 700 is less than anti-phase input terminal voltage, voltage comparator device 700 output low level reset signal, realizes the multiplexing of the function of I/O pin own and reset function, saves the I/O pin of integrated circuit.
Wherein in an embodiment, described voltage comparator device 700 is voltage comparator.
As shown in Figure 2, wherein in an embodiment, described integrated circuit resets circuit also comprises filter capacitor 800, and described filter capacitor 800 one end is connected with described first resistance 200 one end away from ic power end, described filter capacitor 800 other end ground connection.
Filter capacitor 800 is for carrying out filtering to the electric current in circuit.
Wherein in an embodiment, the resistance value of described first resistance 200, described second resistance 300, described 3rd resistance 400, described 4th resistance 500 and described 5th resistance 600 is equal.
Assuming that the resistance value of described first resistance 200, described second resistance 300, described 3rd resistance 400, described 4th resistance 500 and described 5th resistance 600 is R, the voltage of ic power is U.When control switch 100 disconnects, the magnitude of voltage U on the 3rd resistance 400
3=U/2, the magnitude of voltage U on the 5th resistance 600
5=U/2, voltage comparator device 700 exports high level, when control switch 100 closes, the magnitude of voltage U on the 3rd resistance 400
3=U, the magnitude of voltage U on the 5th resistance 600
5=U/2, voltage comparator device 700 output low level reset signal.
Wherein in an embodiment, described control switch 100 is arranged at outside integrated circuit with described first resistance 200, and described second resistance 300, described 3rd resistance 400, described 4th resistance 500, described 5th resistance 600 and described voltage comparator device 700 are arranged in integrated circuit.
IC interior and surrounding are rationally arranged to the device in described integrated circuit resets circuit, optimize structure, save space.
A kind of integrated circuit, comprise integrated circuit body and described integrated circuit resets circuit, described integrated circuit resets circuit is connected with described integrated circuit body.
The utility model also provides a kind of integrated circuit, and comprise integrated circuit body and described integrated circuit resets circuit, described integrated circuit resets circuit is connected with described integrated circuit body.Whole integrated circuit realizes the multiplexing of the function of I/O pin own and reset function, saves I/O pin.
The above embodiment only have expressed several execution mode of the present utility model, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to utility model patent scope.It should be pointed out that for the person of ordinary skill of the art, without departing from the concept of the premise utility, can also make some distortion and improvement, these all belong to protection range of the present utility model.Therefore, the protection range of the utility model patent should be as the criterion with claims.