Jump to main content

# 1.1.4.22 DRV_METROLOGY_SetControl Function

## C

    void DRV_METROLOGY_SetControl (DRV_METROLOGY_REGS_CONTROL * pControl);

## Summary

Establishes the content of all control registers at once.

## Description

Overwrite the value of the every control register in the shared memory at once.

## Parameters

Pointer to data of the new control registers to overwrite the old ones.

## Returns

None.

## Example

    voidAPP_METROLOGY_SetControlByDefault(void)
    {
        DRV_METROLOGY_REGS_CONTROL *pSrc;

        pSrc = DRV_METROLOGY_GetControlByDefault();
        DRV_METROLOGY_SetControl(pSrc);
    }

## Remarks

None.

Rev: E