<p>A semiconductor device including a heterojunction between an indirect semiconductor and a direct semiconductor of lower band gap which exhibits a notch-spike direct-indirect structure and circuit means for obtaining a current-voltage characteristic with two branches or limbs and switching from one branch to the other controlled by electron population in the direct notch.</p>