1.1.3.4.12 DRV_METROLOGY_GetControlByDefault Function

C

DRV_METROLOGY_CONTROL * DRV_METROLOGY_GetControlByDefault (void);

Summary

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

Description

After generating the code application via 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.