Added power factor register

This commit is contained in:
Emanuele Trabattoni
2025-07-16 20:41:38 +02:00
parent 53b82c32c3
commit 3923aa3c05
2 changed files with 17 additions and 8 deletions

View File

@@ -21,6 +21,7 @@ namespace drivers
const uint16_t REG_Papp = 0x102E;
const uint16_t REG_Prea = 0x1036;
const uint16_t REG_Freq = 0x1038;
const uint16_t REG_Pf = 0x101E;
const uint16_t REG_WhTot = 0x1106;
const uint16_t REG_WhPart = 0x1400;
const uint16_t REG_Serial = 0x0500;
@@ -45,6 +46,7 @@ namespace drivers
float_t pAct;
float_t pApp;
float_t pRea;
float_t pf;
float_t f;
float_t whTot;
float_t whPar;
@@ -61,6 +63,7 @@ namespace drivers
const float_t getPact();
const float_t getPapp();
const float_t getPrea();
const float_t getPf();
const float_t getF();
const float_t getWhTot();
const float_t getWhPar();