A controller for controlling a transceiver having a laser transmitter and a photodiode
receiver. The controller includes memory for storing information related to the
transceiver, and analog to digital conversion circuitry for receiving a plurality
of analog signals from the laser transmitter and photodiode receiver, converting
the received analog signals into digital values, and storing the digital values
in predefined locations within the memory. Comparison logic compares one or more
of these digital values with limit values, generates flag values based on the comparisons,
and stores the flag values in predefined locations within the memory. Control circuitry
in the controller controls the operation of the laser transmitter in accordance
with one or more values stored in the memory. A serial interface is provided to
enable a host device to read from and write to locations within the memory. Excluding
a small number of binary input and output signals, all control and monitoring functions
of the transceiver are mapped to unique memory mapped locations within the controller.
A plurality of the control functions and a plurality of the monitoring functions
of the controller are exercised by a host computer by accessing corresponding memory
mapped locations within the controller.