Patent ID: 7456625

Claim:
A semiconductor device comprising: a rectifying device; a first transistor; a device for controlling a potential of a gate of the first transistor; and a switch, wherein: a first electrode of the rectifying device is electrically connected to the gate of the first transistor, the gate of the first transistor is electrically connected to the device for controlling the potential of the gate of the first transistor, one of a source and a drain of the first transistor is electrically connected to a first line, the other of the source and the drain of the first transistor is electrically connected to a first electrode of the switch, a second electrode of the switch is electrically connected to a second line, a second electrode of the rectifying device is electrically connected to an input terminal, the other of the source and the drain of the first transistor is electrically connected to an output terminal, the rectifying device includes a second transistor, one of the first electrode and the second electrode of the rectifying device is a gate of the second transistor and one of a source and a drain of the second transistor, and the other of the first electrode and the second electrode of the rectifying device is the other of the source and the drain of the second transistor.