Patent ID: 8305138

Claim:
A semiconductor device comprising: a first terminal; a second terminal; a first line; a second line; a first switch; a second switch; a third switch; a fourth switch; a capacitor, one electrode of the capacitor being connected with the second terminal through the first switch and the other electrode of the capacitor being connected with the first terminal through the second switch; a first transistor, one of a source and a drain of the first transistor being connected with the first line, and a gate of the first transistor being connected with the one electrode of the capacitor; a second transistor, one of a source and a drain of the second transistor being connected with the other of the source and the drain of the first transistor and connected with the other electrode of the capacitor through the third switch, and the other of the source and the drain of the second transistor being connected with the second line; a third terminal connected with the gate of the second transistor; and a fourth terminal, the fourth terminal being connected with the other of the source and the drain of the first transistor through the fourth switch, connected with the other electrode of the capacitor through the third switch and the fourth switch, and connected with the one of the source and the drain of the second transistor through the fourth switch.