With this library you will be able of:
- Initialice the comunication an registers of the IC with: InitEnergyIC()
- Get the system status: GetSysStatus()
- Get the meter status: GetMeterStatus();
- Get the line voltage with: GetLineVoltage()
- Get the line current with GetLineCurrent()
- Get the active power with GetActivePower()
- Get the frequency with: GetFrequency()
- Get the power factor with: GetPowerFactor()
- Get the import energy with: GetImportEnergy()
- Get the export energy with: GetExportEnergy()
Microchip reference: https://www.microchip.com/en-us/product/atm90e26#document-table
Based on the UART communication protocol, and making use of the registers explained in the dastasheet.