1.1.4.20 DRV_METROLOGY_GetPerCycleAccData Function
C
DRV_METROLOGY_REGS_PERCYCLE_ACC * DRV_METROLOGY_GetPerCycleAccData (void);
Summary
Get the pointer to the per-cycle accumulator registers of the metrology library application running on the second processor.
Description
Per-cycle Accumulator registers are acting as 64-bit metrology output
accumulator registers. All values are integrated at an equivalent
sampling rate of 4.000 kHz. The Metrology library shall generate the
following primary output measurement quantities for each Full Line
Cycle, 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) For a detailed description of
the control registers, refer to the
drv_metrology_regs.h header file.
Parameters
None.
Returns
Pointer to the 64-bit metrology per-cycle accumulator 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.pMetPCAccData = DRV_METROLOGY_GetPerCycleAccData();
app_metrologyData.pMetHarData = DRV_METROLOGY_GetHarData();
Remarks
None.
