An apparatus for measuring energy consumption includes an input circuit
and a processing circuit. The input circuit is operable to generate a
first digital signal representative of a line voltage waveform and a
second digital signal representative of a line current waveform. The
processing circuit is operable to generate energy consumption data based
on the first digital signal and the second digital signal. The processing
circuit is further operable to generate a first pulse waveform having a
plurality of output pulses based on the energy consumption data, each
output pulse corresponding to a quantity of energy consumed, the first
pulse waveform having a select one of a plurality of modes. The
processing circuit is further operable to provide the first pulse
waveform to a meter output.