The development of barrier potential in the depletion zone of a PN junction is consequent to:
1
Diffusion of majority carriers across the junction
2
Drift of minority carriers across the junction
3
Generation of majority carriers across the junction
4
Initial flow of conduction current