1.1.3.4.11 DRV_METROLOGY_GetControlData Function

C

DRV_METROLOGY_REGS_CONTROL * DRV_METROLOGY_GetControlData (void);

Summary

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

Description

Control registers are acting as 32-bit metrology input control registers. For a detailed description of the control registers, refer to "drv_metrology_regs.h" header file.

Parameters

None.

Returns

Pointer to the 32-bit metrology input control 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();

Remarks

None.