Pure, p-doped and n-doped situations.

Click on picture for original, larger version.