Type definitions for LMA.
This file defines/declares the type definitions of the LMA codebase.
#include <stdbool.h>#include <stddef.h>#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | LMA_PhaseInputs |
| Structure for defining the inputs to a phase object in terms of samples. More... | |
| struct | LMA_NeutralInputs |
| Structure for defining the inputs to a neutral object in terms of samples. More... | |
| struct | LMA_Accs |
| General Accumulator structure. More... | |
| struct | LMA_PhaseAccs |
| Phase accumulators. More... | |
| struct | LMA_NeutralAccs |
| Neutral accumulators. More... | |
| struct | LMA_ZeroCross |
| Zero cross detection data. More... | |
| struct | LMA_Measurements |
| Measurement output. More... | |
| struct | LMA_ConsumptionData |
| Energy computation data. More... | |
| struct | LMA_EnergyUnit |
| Energy unit data. More... | |
| struct | LMA_GlobalCalibration |
| Global/System calibration data. More... | |
| struct | LMA_PhaseCalibration |
| Phase calibration data. More... | |
| struct | LMA_NeutralCalibration |
| Neutral calibration data. More... | |
| struct | LMA_PhaseAngleError |
| Phase-angle error calibration data. More... | |
| struct | LMA_Signals |
| Signal/flag data. More... | |
| struct | LMA_Neutral |
| Neutral data. More... | |
| struct | LMA_Phase |
| Phase data. More... | |
| struct | LMA_Energy |
| Energy related data. More... | |
| struct | LMA_Energy::unit |
| Currently computed units of energy per ADC interval of whole system. More... | |
| struct | LMA_Energy::accumulator |
| Running energy accumulators for counting energy between pulses - Ws (Watt second) More... | |
| struct | LMA_Energy::counter |
| Total energy measured by meter in units of energy (pulses or kwh/imp) More... | |
| struct | LMA_Impulse |
| Data related to impulse controls. More... | |
| struct | LMA_SystemEnergy |
| Energy data. More... | |
| struct | LMA_PhaseCalibArgs |
| Calibration arguments (per phase) More... | |
| struct | LMA_GlobalCalibArgs |
| Calibration arguments (global) More... | |
| struct | LMA_Config |
| Runtime LMA Configuration. More... | |
Typedefs | |
| typedef int32_t | spl_t |
| Raw ADC sample type. | |
| typedef int64_t | acc_t |
| Accumulator type. | |
Enumerations | |
| enum | LMA_Status |
| Phase status. More... | |