1.1.4.21 DRV_METROLOGY_GetHarData Function
DRV_METROLOGY_REGS_HARMONICS * DRV_METROLOGY_GetHarData (void);SummaryGet the pointer to the harmonic analysis registers of the metrology library application running on the second processor.
DescriptionHarmonic analysis
registers are acting as 32-bit metrology harmonic analysis
registers. The Metrology module shall generate the following
primary output measurement quantities for each measurement
interval, per-phase quantities with each phase designated by
the subscript “_x” (where x = [A, B, C or D] for voltage
channels and x = [A, B, C or N] for current channels).
Internal scaling allows accurate harmonic analysis for
integration periods of up to 16 seconds for up to full-scale
magnitude input waveforms. For a detailed description of the
harmonic analysis registers, refer to the
drv_metrology_regs.h header
file.
None.
ReturnsPointer to the 32-bit metrology harmonic analysis registers.
Example /* Get Pointers to metrology data regions */
app_metrologyData.pMetControl = DRV_METROLOGY_GetControlData();
app_metrologyData.pMetStatus = DRV_METROLOGY_GetStatusData();
app_metrologyData.pMetAccData = DRV_METROLOGY_GetAccData();
app_metrologyData.pMetHarData = DRV_METROLOGY_GetHarData();RemarksNone.
