Emitter base junction diode