the potential barrier being of the PN heterojunction type