An ESD protection circuit with whole-chip ESD protection. The substrate has a planar surface and at least one semispherical structure extending from the planar surface. The double compartment ion source further comprises inclusion of a heat shield andor a cooling system to overcome deleterious effects caused by increased temperature in the plasma generating chamber. This electronic apparatus comprises power source-supplying means for supplying predetermined electric power to the first external device, detecting means for detecting that the first external device has been connected, and control means for changing over the control of the operation when the detecting means has detected the connection or non-connection of the first external device. The present invention further has an advantage of low cost.