Patent ID: 6496036
Filing Date: 2002-12-17
Classification: H03K

Abstract:
An input-output buffer circuit comprising:an external terminal; an input buffer connected to said external terminal; an output buffer including a PMOS transistor and an NMOS transistor, wherein drain terminals of said PMOS transistor and said NMOS transistor are connected together; an output switch circuit which switches between an output mode for outputting output data from said output buffer at said external terminal, and an input mode for receiving input data from said external terminal at said input buffer in response to an output enable signal; a resistor connected at one end to said drain terminal of said PMOS transistor and said drain terminal of said NMOS transistor, and connected at the other end to said external terminal, wherein, when a signal having a potential higher than a power supply potential for driving said input-output buffer circuit is input to said external terminal, a current path extending from said external terminal to a power supply terminal through a parasitic diode of said PMOS transistor is formed, said resistor conducts, thereby lowering potential of said external terminal so that a resulting potential of the drain terminals of said PMOS transistor and said NMOS transistor does not exceed a voltage which would damage said PMOS transistor and said NMOS transistor, and the resulting potential is at least a threshold level of said input buffer; and a comparator circuit which compares the potential of said external terminal with the power supply potential, wherein said output switch circuit is supplied with a comparison result from said comparator circuit, and, when the comparison result indicates that the potential of said external terminal is higher than the power supply potential, said output switch circuit turns on said NMOS transistor, said NMOS transistor having a source terminal connected to ground.