Claims
- 1. A circuit for detecting a state of a switch having a first terminal coupled to one or more voltage sources and a second terminal, each voltage source generating a distinct voltage level representing a first logic state, the circuit comprising:
a first circuit for temporarily driving the second terminal of the switch to a voltage representing a second logic level; a second circuit, coupled to the switch, for sensing a voltage level of the second terminal of the switch and generating an output signal representative of the voltage sensed; a third circuit, coupled to the second circuit, for substantially eliminating static current drawn by the circuit when the switch is closed; and a sequential logic circuit responsive to the output signal of the second circuit so as to maintain a logic value representative of the switch having been closed.
- 2. The circuit of claim 1, wherein the third circuit comprises:
logic circuitry having an input that is coupled to the output signal of the sequential logic circuit and an output coupled to an input of the second circuit.
- 3. The circuit of claim 2, wherein the logic circuitry includes a second input coupled to the output signal of the second circuit.
- 4. The circuit of claim 2, wherein the logic circuitry includes a second input for receiving a signal having a value indicative of the one or more voltage sources being a battery.
- 5. The circuit of claim 2, wherein the logic circuitry includes a second input for receiving a reset signal to reset the circuit.
- 6. The circuit of claim 1, wherein the second circuit comprises a buffer circuit having a first input coupled to the second terminal of the switch and a second input for receiving an enable signal.
- 7. The circuit of claim 6, wherein the buffer circuit includes a hysteresis effect.
- 8. The circuit of claim 6, wherein the second input of the second circuit is coupled to an output of the third circuit.
- 9. The circuit of claim 6, wherein the second circuit includes a first stage of transistors coupled to the first and second inputs of the second circuit, at least one transistor in the first stage has a control terminal coupled to the second input of the buffer circuit and disposed in the first stage so that when deactivated, the at least one transistor substantially eliminates any static current path in the first stage.
- 10. The circuit of claim 6, further comprising a transistor coupled between the second terminal of the switch and a voltage representative of the second logic level and having a control terminal coupled to the output signal of the second circuit, the transistor being adapted to relatively weakly pull the second terminal of the switch to the voltage representative of the second logic level.
- 11. The circuit of claim 1, wherein the first circuit comprises a counter for defining a period of time during which the second terminal of the switch is driven to the voltage representing the second logic level.
- 12. The circuit of claim 11, wherein the counter generates a pulse signal, and the first circuit further comprises a transistor coupled to the second terminal of the switch and having a control terminal coupled to the pulse signal.
- 13. The circuit of claim 11, further comprising initialization circuitry for placing the counter in a predetermined state, the initialization circuitry including a first input coupled to a signal having a value indicative of a completion of a power-up operation and a second input coupled to a reset signal.
- 14. The circuit of claim 1, wherein the sequential logic circuit comprises a flip flop having a clock input coupled to an output of the second circuit.
- 15. A method for detecting, by a circuit, whether a switch has been closed, the switch including a first terminal coupled to at least one voltage source, each voltage source providing a distinct voltage level representative of a first logic level, and a second terminal, the method comprising:
temporarily driving the second terminal of the switch to a second logic level; relatively weakly driving the second terminal of the switch to the second logic level following the step of temporarily driving; sensing whether a voltage level appearing on the second terminal of the switch is driven by the at least one voltage source to a voltage level representative of the first logic level; and responsive to the step of sensing, generating an output signal having a value indicative of the second terminal of the switch being driven to the voltage level representative of the first logic level, and substantially eliminating static current drawn by the circuit when the second terminal of the switch is driven to the voltage level representative of the first logic level.
- 16. The method of claim 15, further comprises maintaining the output signal in a flip flop circuit.
- 17. The method of claim 15, wherein the step of temporarily driving comprises driving the second terminal of the switch to the second logic level for a predetermined period of time.
- 18. The method of claim 17, wherein the step of temporarily driving further comprises counting clock pulses to define the predetermined period of time.
- 19. The method of claim 15, wherein the step of temporarily driving comprises driving the second terminal of the switch to the second logic level upon completion of a power-up operation.
- 20. The method of claim 15, wherein the step of temporarily driving further comprises driving the second terminal of the switch to the second logic level upon initiation of a reset condition.
- 22. A circuit for detecting the state of a switch having a first terminal coupled to two or more voltage sources, each voltage source providing a distinct voltage level representing a logic high level, the circuit comprising:
first circuitry, having an output coupled to the switch for initially placing a first voltage on a second terminal of the switch representative of a logic low level; and second circuitry having an input coupled to the switch for sensing a voltage appearing on the second terminal the switch and an output for indicating whether the voltage appearing on the second terminal of the switch is at a voltage representative of the logic high level, the second circuitry being controlled to selectively eliminate static current drawn by the circuit based upon the value of the output of the second circuitry.
- 23. The circuit of claim 22, wherein the second circuitry comprises disable circuitry for selectively eliminating any static current path in the second circuitry.
- 24. The circuit of claim 23, wherein the second circuitry includes a first stage of transistors coupled to the switch, and the disable circuitry comprises at least one transistor in the first stage of transistors that is series connected with other transistors in the first stage of transistors.
- 25. The circuit of claim 24, further comprising third circuitry having an input coupled to the switch and an output coupled to a control terminal of the at least one transistor of the disable circuitry.
- 26. The circuit of claim 24, wherein the third circuitry comprises combination logic circuitry having a second input for receiving a reset signal.
- 27. The circuit of claim 24, wherein the combination logic circuitry includes a third input for receiving a signal to reset the circuit.
- 28. The circuit of claim 22, further comprising a sequential logic circuit coupled to the output of the second circuitry, for maintaining a value of the output signal.
- 29. The circuit of claim 24, wherein the first circuitry comprises a transistor coupled to the switch and a counter that is activated to count clock pulses appearing on a clock input signal, the counter generating a counter output signal that deactivates the transistor.
- 30. The circuit of claim 29, wherein the counter is activated to count clock pulses following the completion of a start-up operation.
CROSS REFERENCE TO PENDING APPLICATION
[0001] The present application is a continuation-in-part application of U.S. patent application Ser. No. 094,165, filed Mar. 8, 2002 currently pending.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
10094165 |
Mar 2002 |
US |
Child |
10147639 |
May 2002 |
US |