In an optical communication-use receiving circuit of the present
invention, the pulse width of the received pulse which is a binary signal
corresponding to the signal optical pulse is specified by using an
integration circuit and a trigger generating circuit. If the pulse width
of the received pulse is not shorter than a predetermined value, a signal
having a fixed pulse width is outputted as an output signal from a
one-shot pulse generating circuit, so that a pulse having a constant
pulse width corresponding to the specified communication speed is
outputted. Accordingly, if the pulse width deriving from the signal
optical pulse is larger than a certain value, the communication is deemed
as a low-speed communication, and a pulse having a constant pulse width
corresponding to the communication speed is outputted. As a result, it is
possible to realize a small-size receiving circuit and a small-size
electronic device which require no external switching-over terminal.