Patent ID: 7411318

Claim:
A digital circuit comprising: a switching circuit electrically connected between an input terminal and an output terminal; and a correcting circuit electrically connected between the input terminal and the switching circuit, wherein: the switching circuit comprises a first transistor that includes a first terminal, a second terminal, and a control terminal a first power supply potential is inputted to the first terminal of the first transistor, and a signal at the output terminal depends on whether the first transistor is ON or OFF; an input signal that oscillates between a first input potential for turning off the first transistor and a second input potential for turning on the first transistor is inputted to the input terminal; the correcting circuit comprises a capacitor, a second transistor and at least one switch, with one terminal of the capacitor being electrically connected to the input terminal and the other terminal of the capacitor being electrically connected to the control terminal of the first transistor and a second terminal of the second transistor; the second transistor includes a first terminal, the second terminal, and a control terminal, and the second terminal of the second transistor and the control terminal of the second transistor are connected to each other; when the switch is ON, the switch is provided for controlling electric charges that are accumulated in the capacitor so that a voltage across the capacitor becomes predetermined value, and when the switch is OFF, the switch is provided to hold a voltage across the capacitor.