Patent ID: 8368145

Claim:
A semiconductor device comprising: a semiconductor region; a first electrode; a second electrode; a third electrode electrically connected to the first electrode; a fourth electrode electrically connected to the second electrode; a fifth electrode electrically connected to the third electrode; a sixth electrode electrically connected to the fourth electrode; and a functional circuit, wherein the sixth electrode is provided over the semiconductor region, wherein the semiconductor region comprises: a first impurity region comprising one of an n-type impurity and a p-type impurity; a resistance region provided at an inner periphery portion of the first impurity region in a plane view; and a second impurity region comprising the other of the n-type impurity and the p-type impurity and provided at an inner periphery portion of the resistance region in the plane view, wherein the first impurity region is electrically connected to the first electrode, wherein the second impurity region is electrically connected to the second electrode, wherein a first terminal of the functional circuit is electrically connected to the first electrode, and wherein a second terminal of the functional circuit is electrically connected to the second electrode.