Phase data.
Data structure containing phase (V & I pair) signal processing parameters.
Data Fields | |
| struct LMA_Phase_str * | p_next |
| Forms singly linked list of phases (null terminated) | |
| LMA_PhaseInputs | inputs |
| Area to load inputs (ADC Samples) for processing. | |
| LMA_PhaseAccs | accs |
| Object holding accumulator data. | |
| LMA_ZeroCross | zero_cross_v |
| Zero cross tracking variables for voltage. | |
| LMA_PhaseCalibration | calib |
| Instance of the phases calibration data block. | |
| LMA_Measurements | measurements |
| Object holding measurements from last computation window update. | |
| LMA_EnergyUnit | energy_units |
| Energy processing block. | |
| LMA_Status | status |
| Phase status. | |
| LMA_Signals | sigs |
| Phase signals. | |
| LMA_Neutral * | p_neutral |
| Pointer to neutral channel (if present) | |
| float(* | p_computation_hook )(float *i, float *v, float *f) |
| Hook to enable applying a compensation factor to power based on i, v and f args. | |
| uint32_t | phase_number |
| zero indexed phase number for identification | |