Patent ID: 8582260

Claim:
An integrated circuit comprising: a first external terminal connected to an external power supply; a second external terminal; a third external terminal grounded; an output transistor having a first electrode connected to the second external terminal, a second electrode connected to the third external terminal, and a control electrode; an Electro Static Discharge (ESD) protection circuit connected between the second external terminal and the third external terminal; a diode connected between the first external terminal and the second external terminal, with a direction going from the second external terminal toward the first external terminal being set as a forward direction; a power supply circuit connected between the first external terminal and the third external terminal; an internal circuit connected between an output line of the power supply circuit and the third external terminal; a current source circuit including a capacitor and a current source connected in series between the output line of the power supply circuit and the third external terminal; and a drive circuit having a first input terminal connected between the capacitor and the current source, a second input terminal connected to an output terminal of the internal circuit, and an output terminal connected to the control electrode of the output transistor, when a voltage larger than a maximum rating voltage is applied to the second external terminal, the drive circuit turns off the output transistor and the ESD protection circuit operates.