Jump to main content

# 2.1.4.16 DRV_MCMETROLOGY_GetStatusData Function

## C

    DRV_MCMETROLOGY_REGS_STATUS * DRV_MCMETROLOGY_GetStatusData(void);

## Summary

Get the pointer to the status registers of the metrology library application running on the second processor.

## Description

The Metrology library generates primary 32-bit output measurement quantities for each measurement interval. For a detailed description of the status registers, refer to the `drv_mcmetrology_regs.h` header file.

## Parameters

None.

## Returns

Pointer to the 32-bit metrology output measurement quantities for each measurement interval.

## Example

        /* Get Pointers to metrology data regions */
        app_metrologyData.pMetControl = DRV_MCMETROLOGY_GetControlData();
        app_metrologyData.pMetStatus = DRV_MCMETROLOGY_GetStatusData();
        app_metrologyData.pMetAccData = DRV_MCMETROLOGY_GetAccData();
        app_metrologyData.pMetHarData = DRV_MCMETROLOGY_GetHarData();

## Remarks

None.

Rev: E