This the Firmware code for the ADE7758 for the PIC Micro controller for the computation of three phase parameters.