1.1.4.15 DRV_METROLOGY_GetControlByDefault Function

C
DRV_METROLOGY_CONTROL * DRV_METROLOGY_GetControlByDefault (void);
Summary

Get the pointer to the control registers defined by default through the Microchip Code Configurator (MCC) included in Harmony 3 framework.

Description

After generating the code application through MCC, a struct data is defined as a constant. It includes all control registers obtained according to the MCC configuration established in the Harmony 3 project. The content of each control register is defined in configuration.h header file.

Parameters

None.

Returns

Pointer to the control registers defined as the default configuration.

Example
    DRV_METROLOGY_CONTROL *pSrc;

    pSrc = DRV_METROLOGY_GetControlByDefault();
Remarks

None.