Definition at line 39 of file test_main.cpp.
◆ getAveragePower()
| float OldImplementation::getAveragePower |
( |
| ) |
const |
|
inline |
◆ getOffsetAsADC()
| int16_t OldImplementation::getOffsetAsADC |
( |
| ) |
const |
|
inline |
◆ getRmsVoltage()
| float OldImplementation::getRmsVoltage |
( |
| ) |
const |
|
inline |
Get RMS voltage (relative, not calibrated)
Definition at line 139 of file test_main.cpp.
◆ processCurrentRawSample()
| void OldImplementation::processCurrentRawSample |
( |
int16_t | rawSample | ) |
|
|
inline |
Process current sample and calculate power (old method)
Definition at line 67 of file test_main.cpp.
◆ processMinusHalfCycle()
| void OldImplementation::processMinusHalfCycle |
( |
| ) |
|
|
inline |
Update DC filter at end of half cycle (old method)
Definition at line 99 of file test_main.cpp.
◆ processPolarity()
| void OldImplementation::processPolarity |
( |
int16_t | rawSample | ) |
|
|
inline |
Process voltage sample (old method)
Definition at line 59 of file test_main.cpp.
◆ processVoltage()
| void OldImplementation::processVoltage |
( |
| ) |
|
|
inline |
Process voltage for RMS calculation (old method)
Definition at line 85 of file test_main.cpp.
◆ resetCycle()
| void OldImplementation::resetCycle |
( |
| ) |
|
|
inline |
◆ l_cumVdeltasThisCycle
| int32_t OldImplementation::l_cumVdeltasThisCycle { 0 } |
◆ l_DCoffset_V
| int32_t OldImplementation::l_DCoffset_V { 512L * 256L } |
◆ l_sampleVminusDC
| int32_t OldImplementation::l_sampleVminusDC { 0 } |
◆ l_sum_Vsquared
| uint32_t OldImplementation::l_sum_Vsquared { 0 } |
◆ l_sumP
| int32_t OldImplementation::l_sumP { 0 } |
◆ l_sumP_atSupplyPoint
| int32_t OldImplementation::l_sumP_atSupplyPoint { 0 } |
◆ n_samples
| uint16_t OldImplementation::n_samples { 0 } |
The documentation for this struct was generated from the following file:
- Mk2_3phase_RFdatalog_temp/test/native/test_power_rms_comparison/test_main.cpp