A laser driver outputs a data protocol signal as controlled by an extinction
control
signal. The data protocol signal has a header including first and second bit patterns.
A laser outputs an optical signal in response to being excited by the data protocol
signal. The first and second bit patterns are measured and used to calculate an
extinction ratio. The calculated extinction ratio is compared with a desired extinction
ratio to generate the extinction control signal.