1.1.3.4.16 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

void APP_METROLOGY_SetControlByDefault(void)
{
    DRV_METROLOGY_REGS_CONTROL *pSrc;

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

Remarks

None.