An integrated circuit comprising:
- a processor;
- a first gate having a first input lead, a second input lead, and an output lead;
- a first logic element having an input lead and an output lead, the input lead of the first logic element being coupled to the first input lead of the first gate;
- a first RC network having an input lead and an output lead, wherein the first RC network has a first processor-programmable RC time constant, and wherein the input lead of the first RC network is coupled to the output lead of the first logic element;
- a first hysteresis logic element having an input lead and an output lead, wherein the input lead of the first hysteresis logic element is coupled to the output lead of the first RC network, and wherein the output lead of the first hysteresis logic element is coupled to the second input lead of the first gate;
- a first transistor having a drain, a source and a gate, wherein the drain is coupled to the input lead of the hysteresis logic element, wherein the source is coupled to a supply voltage conductor, and wherein the gate is coupled to the first input lead of the first gate;
- a latch having a first input lead, a second input lead, and an output lead, wherein the first input lead of the latch is coupled to receive a signal output from the first gate;
- a second gate having a first input lead, a second input lead, and an output lead, wherein the first input lead of the second gate is coupled to the first input lead of the first gate, wherein the output lead of the second gate is coupled to supply a signal output by the second gate onto the second input lead of the latch;
- a second logic element having an input lead and an output lead, the input lead of the second logic element being coupled to the first input lead of the second gate;
- a second RC network having an input lead and an output lead, wherein the second RC network has a second processor-programmable RC time constant, and wherein the input lead of the second RC network is coupled to the output lead of the second logic element;
- a second hysteresis logic element having an input lead and an output lead, wherein the input lead of the second hysteresis logic element is coupled to the output lead of the second RC network, and wherein the output lead of the second hysteresis logic element is coupled to the second input lead of the second gate;
- and
- a second transistor having a drain, a source and a gate, wherein the drain is coupled to the input lead of the second hysteresis logic element, wherein the source is coupled to a ground conductor, and wherein the gate is coupled to the first input lead of the second gate.