Definition at line 149 of file test_main.cpp.
◆ getAveragePower()
| float NewImplementation::getAveragePower |
( |
| ) |
const |
|
inline |
◆ getOffsetAsADC()
| int16_t NewImplementation::getOffsetAsADC |
( |
| ) |
const |
|
inline |
◆ getRmsVoltage()
| float NewImplementation::getRmsVoltage |
( |
| ) |
const |
|
inline |
Get RMS voltage (relative, not calibrated)
Definition at line 245 of file test_main.cpp.
◆ processCurrentRawSample()
| void NewImplementation::processCurrentRawSample |
( |
uint16_t | rawSample | ) |
|
|
inline |
Process current sample and calculate power (new method)
Definition at line 179 of file test_main.cpp.
◆ processMinusHalfCycle()
| void NewImplementation::processMinusHalfCycle |
( |
| ) |
|
|
inline |
Update DC filter at end of half cycle (new method)
Definition at line 212 of file test_main.cpp.
◆ processPolarity()
| void NewImplementation::processPolarity |
( |
uint16_t | rawSample | ) |
|
|
inline |
Process voltage sample (new method - left aligned)
Definition at line 170 of file test_main.cpp.
◆ processVoltage()
| void NewImplementation::processVoltage |
( |
| ) |
|
|
inline |
Process voltage for RMS calculation (new method)
Definition at line 198 of file test_main.cpp.
◆ resetCycle()
| void NewImplementation::resetCycle |
( |
| ) |
|
|
inline |
◆ i_DCoffset_V
◆ i_DCoffset_V_nom
| uint16_t NewImplementation::i_DCoffset_V_nom { 511U << 6 } |
|
staticconstexpr |
◆ i_sampleVminusDC
| int16_t NewImplementation::i_sampleVminusDC { 0 } |
◆ l_filterDC_V
| uint32_t NewImplementation::l_filterDC_V { static_cast< uint32_t >(i_DCoffset_V_nom) << 15 } |
◆ l_sum_Vsquared
| uint32_t NewImplementation::l_sum_Vsquared { 0 } |
◆ l_sumP
| int32_t NewImplementation::l_sumP { 0 } |
◆ l_sumP_atSupplyPoint
| int32_t NewImplementation::l_sumP_atSupplyPoint { 0 } |
◆ n_samples
| uint16_t NewImplementation::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